GET /api/template_kinds
Listar todas las clases de plantillas

Ejemplos

GET /api/template_kinds
200
{
  "total": 7,
  "subtotal": 7,
  "page": 1,
  "per_page": 20,
  "search": null,
  "sort": {
    "by": null,
    "order": null
  },
  "results": [
    {
      "created_at": "2019-11-07 08:55:34 UTC",
      "updated_at": "2019-11-07 08:55:34 UTC",
      "name": "iPXE",
      "id": 698706415
    },
    {
      "created_at": "2019-11-07 08:55:34 UTC",
      "updated_at": "2019-11-07 08:55:34 UTC",
      "name": "provision",
      "id": 983253650
    },
    {
      "created_at": "2019-11-07 08:55:34 UTC",
      "updated_at": "2019-11-07 08:55:34 UTC",
      "name": "PXELinux",
      "id": 452984334
    },
    {
      "created_at": "2019-11-07 08:55:34 UTC",
      "updated_at": "2019-11-07 08:55:34 UTC",
      "name": "script",
      "id": 478250810
    },
    {
      "created_at": "2019-11-07 08:55:34 UTC",
      "updated_at": "2019-11-07 08:55:34 UTC",
      "name": "finish",
      "id": 550103832
    },
    {
      "created_at": "2019-11-07 08:55:34 UTC",
      "updated_at": "2019-11-07 08:55:34 UTC",
      "name": "PXEGrub",
      "id": 131565194
    },
    {
      "created_at": "2019-11-07 08:55:34 UTC",
      "updated_at": "2019-11-07 08:55:34 UTC",
      "name": "PXEGrub2",
      "id": 701398793
    }
  ]
}

Parámetros

Nombre del parámetro Descripción
location_id
opcional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcional

Set the current organization context for the request

Validations:

  • Must be a Integer

search
opcional

filtrar resultados

Validations:

  • Must be a String

order
opcional

Orden y campo de clasificación, p. ej., ‘id DESC’

Validations:

  • Must be a String

page
opcional

Número de página, comenzando por 1

Validations:

  • Must be a number.

per_page
opcional

Número de resultados por página para devolver

Validations:

  • Must be a number.

Campos de búsqueda

Nombre del campo Tipo Valores posibles
name string