Outline · Example Payload

Templatesduplicate

Templates

Templatesduplicate 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": "templatesDuplicate",
  "path": "/templates.duplicate",
  "method": "POST",
  "summary": "Duplicate a template",
  "tags": [
    "Templates"
  ],
  "requestSchema": {
    "type": "object",
    "properties": {
      "id": {
        "type": "string",
        "description": "Unique identifier for the template to duplicate. Either the UUID or the urlId is acceptable."
      },
      "title": {
        "type": "string",
        "description": "Override the title of the duplicated template."
      },
      "collectionId": {
        "type": "string",
        "format": "uuid",
        "description": "Identifier for the collection to place the duplicated template in. If not provided, uses the original template's collection.",
        "nullable": true
      }
    },
    "required": [
      "id"
    ]
  }
}