GET /api/common_parameters
List all global parameters

Parametry

Nazwa parametru Opis
location_id
opcjonalny

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcjonalny

Set the current organization context for the request

Validations:

  • Must be a Integer

show_hidden
opcjonalny

Display hidden values

Validations:

  • Must be one of: true, false, 1, 0.

search
opcjonalny

rezultat filtrowania

Validations:

  • Must be a String

order
opcjonalny

Sort field and order, eg. ‘id DESC’

Validations:

  • Must be a String

page
opcjonalny

Page number, starting at 1

Validations:

  • Must be a number.

per_page
opcjonalny

Number of results per page to return

Validations:

  • Must be a number.

Search fields

Field name Typ Possible values
domain_name
host_group_name
host_name
key_type
location_name
name
organization_name
os_name
parameter_type
subnet_name
type
value

GET /api/common_parameters/:id
Pokaż parametr globalny

Parametry

Nazwa parametru Opis
location_id
opcjonalny

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcjonalny

Set the current organization context for the request

Validations:

  • Must be a Integer

show_hidden
opcjonalny

Display hidden values

Validations:

  • Must be one of: true, false, 1, 0.

id
wymagany

Validations:

  • 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/common_parameters
Utwórz parametr globalny

Parametry

Nazwa parametru Opis
location_id
opcjonalny

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcjonalny

Set the current organization context for the request

Validations:

  • Must be a Integer

common_parameter
wymagany

Validations:

  • Must be a Hash

common_parameter[name]
wymagany

Validations:

  • Must be a String

common_parameter[value]
wymagany

Validations:

  • Must be a String

common_parameter[parameter_type]
wymagany

Type of value

Validations:

  • Must be one of: string, boolean, integer, real, array, hash, yaml, json.

common_parameter[hidden_value]
opcjonalny , nil dopuszczalny

Validations:

  • Must be one of: true, false.


PUT /api/common_parameters/:id
Aktualizuj parametr globalny

Parametry

Nazwa parametru Opis
location_id
opcjonalny

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcjonalny

Set the current organization context for the request

Validations:

  • Must be a Integer

id
wymagany

Validations:

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

common_parameter
wymagany

Validations:

  • Must be a Hash

common_parameter[name]
opcjonalny

Validations:

  • Must be a String

common_parameter[value]
opcjonalny

Validations:

  • Must be a String

common_parameter[parameter_type]
opcjonalny

Type of value

Validations:

  • Must be one of: string, boolean, integer, real, array, hash, yaml, json.

common_parameter[hidden_value]
opcjonalny , nil dopuszczalny

Validations:

  • Must be one of: true, false.


DELETE /api/common_parameters/:id
Usuń parametr globalny

Parametry

Nazwa parametru Opis
location_id
opcjonalny

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcjonalny

Set the current organization context for the request

Validations:

  • Must be a Integer

id
wymagany

Validations:

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