templates

List template records

Lists the records for a template.

get/{account}/templates/{template}/records

Path parameters

accountinteger required

The account id

templatestring required

The template id or short name

Query parameters

sort'id:asc' | 'id:desc' | 'name:asc' | 'name:desc' | 'content:asc' | 'content:desc' | 'type:asc' | 'type:desc'

Sort results. Default sorting is by id ascending.

Response

Successfully retrieved the template records list.

Example response

{
  "data": [
    {
      "id": 296,
      "template_id": 268,
      "name": "",
      "content": "192.168.1.1",
      "ttl": 3600,
      "priority": null,
      "type": "A",
      "created_at": "2016-04-26T08:23:54Z",
      "updated_at": "2016-04-26T08:23:54Z"
    }
  ],
  "pagination": {
    "current_page": 1,
    "per_page": 30,
    "total_entries": 2,
    "total_pages": 1
  }
}

Changes

Changed in 3 of the 52 revisions of this API.1714

    • the // response's property type changed from integer to string null for status

      response-property-type-changed

    • the response property became required for the status

      response-property-became-required

    • the response property // became required for the status

      response-property-became-required

    • the response property // became required for the status

      response-property-became-required

    • the response property // became required for the status

      response-property-became-required

    • the response property // became required for the status

      response-property-became-required

    • the response property // became required for the status

      response-property-became-required

    • the response property // became required for the status

      response-property-became-required

    • the response property // became required for the status

      response-property-became-required

    • the response property // became required for the status

      response-property-became-required

    • the response property // became required for the status

      response-property-became-required

    • the response property / became required for the status

      response-property-became-required

    • the response property / became required for the status

      response-property-became-required

    • the response property / became required for the status

      response-property-became-required

    • the response property / became required for the status

      response-property-became-required

    • the response property // became nullable for the status

      response-property-became-nullable

    • the response property became optional for the status

      response-property-became-optional

    • the response property // became optional for the status

      response-property-became-optional

    • the response property // became optional for the status

      response-property-became-optional

    • the response property // became optional for the status

      response-property-became-optional

    • the response property // became optional for the status

      response-property-became-optional

    • the response property // became optional for the status

      response-property-became-optional

    • the response property // became optional for the status

      response-property-became-optional

    • the response property // became optional for the status

      response-property-became-optional

    • the response property // became optional for the status

      response-property-became-optional

    • the response property // became optional for the status

      response-property-became-optional

    • the response property / became optional for the status

      response-property-became-optional

    • the response property / became optional for the status

      response-property-became-optional

    • the response property / became optional for the status

      response-property-became-optional

    • the response property / became optional for the status

      response-property-became-optional

    • the // response's property type changed from string null to integer for status

      response-property-type-changed

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