Documents
List all recently viewed documents
Changed onThis method will list all documents recently viewed by the current user.
post/documents.viewed
Request
- Base URLhttps://app.getoutline.com/api
- URLhttps://app.getoutline.com/api/documents.viewed
- 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
{
"limit": 25,
"direction": "DESC"
}Response
OK
Example response
{
"data": [
{
"title": "Welcome to Acme Inc",
"icon": "🎉",
"text": "…",
"urlId": "hDYep1TPAM",
"createdBy": {
"name": "Jane Doe"
},
"updatedBy": {
"name": "Jane Doe"
},
"deletedBy": {
"name": "Jane Doe"
}
}
],
"policies": [
{
"abilities": {
"read": true,
"update": true,
"delete": false
}
}
],
"pagination": {
"limit": 25
}
}Changes
- info
added the optional property
//to the response with the status - info
response property
data/items/urldeprecated
- info
- breaking
added
subschema #2to the request bodyallOflist - warning
removed from the request body
allOflist
- breaking