Outline · Example Payload

Documentsrestore

Documents

Documentsrestore 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

Raw ↑
{
  "operationId": "documentsRestore",
  "path": "/documents.restore",
  "method": "POST",
  "summary": "Restore 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."
      },
      "collectionId": {
        "type": "string",
        "format": "uuid",
        "description": "Identifier for the collection to restore the document to."
      },
      "revisionId": {
        "type": "string",
        "format": "uuid",
        "description": "Identifier for the revision to restore to."
      }
    },
    "required": [
      "id"
    ]
  }
}