Documents
Search all documents
Changed onThis methods allows you to search your workspace's documents with keywords. Note that search results will be restricted to those accessible by the current access token.
post/documents.search
Request
- Base URLhttps://app.getoutline.com/api
- URLhttps://app.getoutline.com/api/documents.search
- 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,
"query": "hiring",
"dateFilter": "month"
}Response
OK
Example response
{
"data": [
{
"context": "At Acme Inc our hiring practices are inclusive",
"ranking": 1.1844109,
"document": {
"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/document/urldeprecated
- info
- info
added the new
createdByIdenum value to the request property////
- info