Documentsupdate is an example object payload from Outline, with 6 top-level fields. It illustrates the shape of data this provider's APIs accept or return.
Top-level fields
operationIdpathmethodsummarytagsrequestSchema
Example Payload
{
"operationId": "documentsUpdate",
"path": "/documents.update",
"method": "POST",
"summary": "Update a document",
"tags": [
"Documents"
],
"requestSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"example": "hDYep1TPAM",
"description": "Unique identifier for the document. Either the UUID or the urlId is acceptable."
},
"title": {
"type": "string",
"description": "The title of the document."
},
"text": {
"type": "string",
"description": "The body of the document in markdown."
},
"icon": {
"type": "string",
"nullable": true,
"description": "Icon displayed alongside the document title"
},
"color": {
"type": "string",
"nullable": true,
"description": "Color for the document icon (hex format)"
},
"fullWidth": {
"type": "boolean",
"description": "Whether the document should be displayed in full width"
},
"templateId": {
"type": "string",
"format": "uuid",
"nullable": true,
"description": "Identifier for the template this document is based on"
},
"collectionId": {
"type": "string",
"format": "uuid",
"nullable": true,
"description": "Identifier for the collection to move the document to"
},
"insightsEnabled": {
"type": "boolean",
"description": "Whether insights should be visible on the document"
},
"editMode": {
"$ref": "#/components/schemas/TextEditMode"
},
"findText": {
"type": "string",
"description": "The text to find within the document when using `patch` editMode. This text will be replaced with the value of `text`. Required when `editMode` is `patch`."
},
"publish": {
"type": "boolean",
"description": "Whether this document should be published and made visible to other workspace members, if a draft"
},
"dataAttributes": {
"type": "array",
"description": "Data attributes to be updated. Attributes not included will be removed from the document.",
"nullable": true,
"items": {
"type": "object",
"properties": {
"dataAttributeId": {
"type": "string",
"description": "Unique identifier for the data attribute.",
"format": "uuid"
},
"value": {
"description": "The value of the data attribute. Can be a string, boolean, or number depending on the data attribute type.",
"example": "In Progress",
"oneOf": [
{
"type": "string"
},
{
"type": "boolean"
},
{
"type": "number"
}
]
}
},
"required": [
"dataAttributeId",
"value"
]
}
}
},
"required": [
"id"
]
}
}
Work with this as data
Every example here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for examples
4 MCP tools reach this
find_examplesBrowse and filter every example in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This example
curl "https://apis.io/api/v1/examples/documentsUpdate"
All examples
curl "https://apis.io/api/v1/examples?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.