Collections
Duplicate a collection
Changed onDuplicate an existing collection along with its published documents. The original collection's settings – icon, color, permission, sharing, and sorting – are preserved on the copy. Draft and archived documents are not duplicated. Document duplication runs asynchronously in the background, so the copy may initially be returned before all of its documents have been created.
post/collections.duplicate
Request
- Base URLhttps://app.getoutline.com/api
- URLhttps://app.getoutline.com/api/collections.duplicate
- Auth
- HTTP bearer
- or OAuth 2Authorization code: https://app.getoutline.com/oauth/authorizeToken URL: https://app.getoutline.com/oauth/token scopes: read, write
Request body
Response
OK
Example response
{
"data": {
"urlId": "hDYep1TPAM",
"name": "Human Resources",
"index": "P",
"color": "#123123",
"archivedBy": {
"name": "Jane Doe"
}
},
"policies": [
{
"abilities": {
"read": true,
"update": true,
"delete": false
}
}
]
}Changes
- info
added the optional property
/to the response with the status
- info
- warning
the
request property's maxLength was set to100
- warning