templates

Retrieve a template

Retrieves the details of an existing template.

get/{account}/templates/{template}

Path parameters

accountinteger required

The account id

templatestring required

The template id or short name

Response

Successfully retrieved a template.

Example response

{
  "data": {
    "id": 1,
    "account_id": 1010,
    "name": "Alpha",
    "sid": "alpha",
    "description": "An alpha template.",
    "created_at": "2016-03-22T11:08:58Z",
    "updated_at": "2016-03-22T11:08:58Z"
  }
}

Changes

Changed in 2 of the 52 revisions of this API.99

    • the response property data became required for the status 200

      response-property-became-required

    • the response property data/account_id became required for the status 200

      response-property-became-required

    • the response property data/created_at became required for the status 200

      response-property-became-required

    • the response property data/description became required for the status 200

      response-property-became-required

    • the response property data/id became required for the status 200

      response-property-became-required

    • the response property data/name became required for the status 200

      response-property-became-required

    • the response property data/sid became required for the status 200

      response-property-became-required

    • the response property data/updated_at became required for the status 200

      response-property-became-required

    • the response property message became required for the status 404

      response-property-became-required

    • the response property data became optional for the status 200

      response-property-became-optional

    • the response property data/account_id became optional for the status 200

      response-property-became-optional

    • the response property data/created_at became optional for the status 200

      response-property-became-optional

    • the response property data/description became optional for the status 200

      response-property-became-optional

    • the response property data/id became optional for the status 200

      response-property-became-optional

    • the response property data/name became optional for the status 200

      response-property-became-optional

    • the response property data/sid became optional for the status 200

      response-property-became-optional

    • the response property data/updated_at became optional for the status 200

      response-property-became-optional

    • the response property message became optional for the status 404

      response-property-became-optional

    This revision also has 25 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog