GET /api/lookup_keys
List all lookup_keys.

Parâmentros

Nome parâmetro Descrição
search
opcional

filtrar resultados


Value:

Must be String

order
opcional

ordenar resultados


Value:

Must be String

page
opcional

paginar resultados


Value:

Must be String

per_page
opcional

número de entradas por requisições


Value:

Must be String


GET /api/lookup_keys/:id
Show a lookup key.

Parâmentros

Nome parâmetro Descrição
id
requerido

Value:

Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.


POST /api/lookup_keys
Create a lookup key.

Parâmentros

Nome parâmetro Descrição
lookup_key
requerido

Value:

Must be a Hash

lookup_key[key]
requerido

Value:

Must be String

lookup_key[puppetclass_id]
opcional

Value:

Must be a number.

lookup_key[default_value]
opcional

Value:

Must be String

lookup_key[path]
opcional

Value:

Must be String

lookup_key[description]
opcional

Value:

Must be String

lookup_key[lookup_values_count]
opcional

Value:

Must be a number.


PUT /api/lookup_keys/:id
Update a lookup key.

Parâmentros

Nome parâmetro Descrição
id
requerido

Value:

Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.

lookup_key
requerido

Value:

Must be a Hash

lookup_key[key]
opcional

Value:

Must be String

lookup_key[puppetclass_id]
opcional

Value:

Must be a number.

lookup_key[default_value]
opcional

Value:

Must be String

lookup_key[path]
opcional

Value:

Must be String

lookup_key[description]
opcional

Value:

Must be String

lookup_key[lookup_values_count]
opcional

Value:

Must be a number.


DELETE /api/lookup_keys/:id
Delete a lookup key.

Parâmentros

Nome parâmetro Descrição
id
requerido

Value:

Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.