{
  "opencollection": "1.0.0",
  "info": {
    "name": "Outline AccessRequests Templates API",
    "version": "0.1.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Templates",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Create a template",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://app.getoutline.com/api/templates.create",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new template that can be used as a starting point for new documents. Templates can optionally be scoped to a specific collection."
        },
        {
          "info": {
            "name": "List all templates",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://app.getoutline.com/api/templates.list",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "List all templates available to the current user. Optionally filter by collection. Templates not associated with a collection are workspace-wide."
        },
        {
          "info": {
            "name": "Retrieve a template",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://app.getoutline.com/api/templates.info",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Retrieve a template by its unique identifier."
        },
        {
          "info": {
            "name": "Update a template",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://app.getoutline.com/api/templates.update",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update an existing template by its unique identifier."
        },
        {
          "info": {
            "name": "Delete a template",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://app.getoutline.com/api/templates.delete",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Delete a template by its unique identifier. This will soft-delete the template, it can be restored later."
        },
        {
          "info": {
            "name": "Restore a template",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://app.getoutline.com/api/templates.restore",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Restore a previously deleted template by its unique identifier."
        },
        {
          "info": {
            "name": "Duplicate a template",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://app.getoutline.com/api/templates.duplicate",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a copy of an existing template. Optionally override the title and target collection."
        }
      ]
    }
  ],
  "bundled": true
}