Create a fork
POST {{baseUrl}}/collections/fork/{{collectionId}}?workspace=<string>
Creates a [fork] from an existing collection into a workspace. Include the following required request body properties:
- label— A string value that contains the fork's label.
Request Params
| Key | Datatype | Required | Description | 
|---|---|---|---|
| workspace | string | (Required) The workspace ID in which to fork the collection. | 
Request Body
{"label"=>"{{collectionForkName}}"}
HEADERS
| Key | Datatype | Required | Description | 
|---|---|---|---|
| Content-Type | string | 
RESPONSES
status: OK
{"collection":{"id":"09547fef-a9a5-4e00-998b-aa563e8db69a","name":"Test Collection","fork":{"label":"Test Fork","createdAt":"2022-06-16T19:51:44.069Z","from":"12345678-12ece9e1-2abf-4edc-8e34-de66e74114d2"},"uid":"12345678-09547fef-a9a5-4e00-998b-aa563e8db69a"}}