GET /api/locations
List all locations

Params

Param Name Description
search
Optional

filtra els resultats


Value:

Must be String

order
Optional

ordena els resultats


Value:

Must be String

page
Optional

pagina els resultats


Value:

Must be String

per_page
Optional

Nombre d'entrades per petició


Value:

Must be String


GET /api/locations/:id
Show a location


POST /api/locations
Create a location

Params

Param Name Description
location
Required

Value:

Must be a Hash

location[name]
Required

Value:

Must be String

location[description]
Optional , <span class="translation_missing" title="translation missing: ca.apipie.nil_allowed">Nil Allowed</span>

Value:

Must be String

location[user_ids]
Optional , <span class="translation_missing" title="translation missing: ca.apipie.nil_allowed">Nil Allowed</span>

Els id. d'usuari


Value:

Must be an array of any type

location[smart_proxy_ids]
Optional , <span class="translation_missing" title="translation missing: ca.apipie.nil_allowed">Nil Allowed</span>

Els id. de servidor intermediari intel·ligent


Value:

Must be an array of any type

location[compute_resource_ids]
Optional , <span class="translation_missing" title="translation missing: ca.apipie.nil_allowed">Nil Allowed</span>

Els id. dels recursos computacionals


Value:

Must be an array of any type

location[media_ids]
Optional , <span class="translation_missing" title="translation missing: ca.apipie.nil_allowed">Nil Allowed</span>

Media IDs


Value:

Must be an array of any type

location[config_template_ids]
Optional , <span class="translation_missing" title="translation missing: ca.apipie.nil_allowed">Nil Allowed</span>

Provisioning template IDs


Value:

Must be an array of any type

location[ptable_ids]
Optional , <span class="translation_missing" title="translation missing: ca.apipie.nil_allowed">Nil Allowed</span>

Partition template IDs


Value:

Must be an array of any type

location[provisioning_template_ids]
Optional , <span class="translation_missing" title="translation missing: ca.apipie.nil_allowed">Nil Allowed</span>

Provisioning template IDs


Value:

Must be an array of any type

location[domain_ids]
Optional , <span class="translation_missing" title="translation missing: ca.apipie.nil_allowed">Nil Allowed</span>

Domain IDs


Value:

Must be an array of any type

location[realm_ids]
Optional , <span class="translation_missing" title="translation missing: ca.apipie.nil_allowed">Nil Allowed</span>

Realm IDs


Value:

Must be an array of any type

location[hostgroup_ids]
Optional , <span class="translation_missing" title="translation missing: ca.apipie.nil_allowed">Nil Allowed</span>

Host group IDs


Value:

Must be an array of any type

location[environment_ids]
Optional , <span class="translation_missing" title="translation missing: ca.apipie.nil_allowed">Nil Allowed</span>

Els id. d'entorn


Value:

Must be an array of any type

location[subnet_ids]
Optional , <span class="translation_missing" title="translation missing: ca.apipie.nil_allowed">Nil Allowed</span>

Subnet IDs


Value:

Must be an array of any type


PUT /api/locations/:id
Update a location

Params

Param Name Description
location
Required

Value:

Must be a Hash

location[name]
Optional

Value:

Must be String

location[description]
Optional , <span class="translation_missing" title="translation missing: ca.apipie.nil_allowed">Nil Allowed</span>

Value:

Must be String

location[user_ids]
Optional , <span class="translation_missing" title="translation missing: ca.apipie.nil_allowed">Nil Allowed</span>

Els id. d'usuari


Value:

Must be an array of any type

location[smart_proxy_ids]
Optional , <span class="translation_missing" title="translation missing: ca.apipie.nil_allowed">Nil Allowed</span>

Els id. de servidor intermediari intel·ligent


Value:

Must be an array of any type

location[compute_resource_ids]
Optional , <span class="translation_missing" title="translation missing: ca.apipie.nil_allowed">Nil Allowed</span>

Els id. dels recursos computacionals


Value:

Must be an array of any type

location[media_ids]
Optional , <span class="translation_missing" title="translation missing: ca.apipie.nil_allowed">Nil Allowed</span>

Media IDs


Value:

Must be an array of any type

location[config_template_ids]
Optional , <span class="translation_missing" title="translation missing: ca.apipie.nil_allowed">Nil Allowed</span>

Provisioning template IDs


Value:

Must be an array of any type

location[ptable_ids]
Optional , <span class="translation_missing" title="translation missing: ca.apipie.nil_allowed">Nil Allowed</span>

Partition template IDs


Value:

Must be an array of any type

location[provisioning_template_ids]
Optional , <span class="translation_missing" title="translation missing: ca.apipie.nil_allowed">Nil Allowed</span>

Provisioning template IDs


Value:

Must be an array of any type

location[domain_ids]
Optional , <span class="translation_missing" title="translation missing: ca.apipie.nil_allowed">Nil Allowed</span>

Domain IDs


Value:

Must be an array of any type

location[realm_ids]
Optional , <span class="translation_missing" title="translation missing: ca.apipie.nil_allowed">Nil Allowed</span>

Realm IDs


Value:

Must be an array of any type

location[hostgroup_ids]
Optional , <span class="translation_missing" title="translation missing: ca.apipie.nil_allowed">Nil Allowed</span>

Host group IDs


Value:

Must be an array of any type

location[environment_ids]
Optional , <span class="translation_missing" title="translation missing: ca.apipie.nil_allowed">Nil Allowed</span>

Els id. d'entorn


Value:

Must be an array of any type

location[subnet_ids]
Optional , <span class="translation_missing" title="translation missing: ca.apipie.nil_allowed">Nil Allowed</span>

Subnet IDs


Value:

Must be an array of any type


DELETE /api/locations/:id
Delete a location