Create a share
Changed onCreates a new share link that can be used by to access a document or collection. If you request multiple shares for the same resource with the same API key, the same share object will be returned. By default all shares are unpublished. Exactly one of documentId or collectionId must be provided.
Request
- Base URLhttps://app.getoutline.com/api
- URLhttps://app.getoutline.com/api/shares.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
Response
OK
Example response
{
"data": {
"documentTitle": "React best practices",
"includeChildDocuments": true,
"allowSubscriptions": true,
"createdBy": {
"name": "Jane Doe"
}
},
"policies": [
{
"abilities": {
"read": true,
"update": true,
"delete": false
}
}
]
}Changes
- info
added the optional property
//////to the response with the status
- info
- breaking
the response property
/became nullable for the status - breaking
the
/response's property type changed fromobjectto no type for status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - info
the response optional property
/became read-only for the status - info
added to the
/response propertyallOflist for the response status
- breaking