Clone Review Playbook
POST /review-playbooks/{playbook_id}/cloneParameters
Section titled “Parameters”| Name | In | Type | Notes | |
|---|---|---|---|---|
playbook_id | path | string (uuid) | required | — |
Request body — ReviewPlaybookClone
Section titled “Request body — ReviewPlaybookClone”| Field | Type | Notes | |
|---|---|---|---|
slug | string | required | min length 1 max length 120 |
name | string | null | optional | min length 1 max length 200 |
scope | workspace | organization | platform | null | optional | — |
Responses
Section titled “Responses”| Status | Description | Body |
|---|---|---|
201 | Successful Response | ReviewPlaybookView |
422 | Validation Error | HTTPValidationError |
Example
Section titled “Example”The body shows the fields the schema always carries. Which combination is legal is a service rule the schema cannot express, so read the description above before copying this.
curl -X POST https://your-deployment.example.com/review-playbooks/{playbook_id}/clone \ -H "Authorization: Bearer $COBRE_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "slug": "string" }'Response — ReviewPlaybookView
Section titled “Response — ReviewPlaybookView”| Field | Type | Notes | |
|---|---|---|---|
id | string (uuid) | required | — |
slug | string | required | — |
name | string | required | — |
description | string | null | required, nullable | — |
scope | workspace | organization | platform | required | — |
is_default | boolean | required | — |
is_active | boolean | required | — |
active_revision_id | string (uuid) | null | required, nullable | — |
revision_number | integer | required | — |
templates | object | required | — |
organization_id | string (uuid) | null | required, nullable | — |
workspace_id | string (uuid) | null | required, nullable | — |
created_at | string (date-time) | required | — |
updated_at | string (date-time) | required | — |