Documentscreate 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": "documentsCreate",
"path": "/documents.create",
"method": "POST",
"summary": "Create a document",
"tags": [
"Documents"
],
"requestSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"description": "Optional identifier for the document"
},
"title": {
"type": "string",
"example": "Welcome to Acme Inc"
},
"text": {
"type": "string",
"description": "The body of the document in markdown"
},
"icon": {
"type": "string",
"description": "Icon displayed alongside the document title"
},
"color": {
"type": "string",
"nullable": true,
"description": "Color for the document icon (hex format)"
},
"collectionId": {
"type": "string",
"format": "uuid",
"nullable": true,
"description": "Identifier for the collection. Required to publish unless parentDocumentId is provided"
},
"parentDocumentId": {
"type": "string",
"format": "uuid",
"nullable": true,
"description": "Identifier for the parent document. Required to publish unless collectionId is provided"
},
"templateId": {
"type": "string",
"format": "uuid"
},
"publish": {
"type": "boolean",
"description": "Whether this document should be immediately published and made visible to other workspace members."
},
"fullWidth": {
"type": "boolean",
"description": "Whether the document should be displayed in full width"
},
"createdAt": {
"type": "string",
"format": "date-time",
"description": "Optionally set the created date in the past"
},
"dataAttributes": {
"type": "array",
"description": "Data attributes to be included on the document.",
"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"
]
}
}
}
}
}
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/documentsCreate"
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.