Collections
Create a collection
Changed onCreate a new collection with the specified name, description, icon, color, and permission settings. Collections are used to organize documents.
post/collections.create
Request
- Base URLhttps://app.getoutline.com/api
- URLhttps://app.getoutline.com/api/collections.create
- 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
Example request
{
"name": "Human Resources",
"description": "HR documentation is confidential and should be handled with care.",
"color": "#123123"
}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 to100000 - warning
the
request property's maxLength was set to100
- warning