GET/spaces/api/v1/templates/local/{templateID}.json

get a single local/custom template

Path Params

  • Name
    templateID
    Type
    integer
    required
    Description

Responses

  • Code
    200
    Type
    object
    Schema
    Description
    200 OK
  • Code
    404
    Type
    object
    Schema
    Description
    404 Not Found
  • Code
    500
    Type
    object
    Schema
    Description
    500 Internal Server Error

Examples

200 OK

Template
{
  "template": {
    "content": "string",
    "contentRevision": 0,
    "createdAt": "2024-07-26T20:26:26.473Z",
    "createdBy": {
      "id": 0,
      "meta": {},
      "type": "string"
    },
    "deletedAt": "2024-07-26T20:26:26.473Z",
    "deletedBy": {
      "id": 0,
      "meta": {},
      "type": "string"
    },
    "description": "string",
    "iconURL": "string",
    "id": 0,
    "isFullWidth": true,
    "name": "string",
    "state": "active",
    "templateCount": 0,
    "templateLastUsed": "2024-07-26T20:26:26.473Z",
    "updatedAt": "2024-07-26T20:26:26.473Z",
    "updatedBy": {
      "id": 0,
      "meta": {},
      "type": "string"
    }
  }
}