Param Name | Description |
---|---|
location_id Optional |
Abast per ubicacions Validations:
|
organization_id Optional |
Abast per organitzacions Validations:
|
search Optional |
filtra els resultats Validations:
|
order Optional |
Sort field and order, eg. ‘id DESC’ Validations:
|
page Optional |
pagina els resultats Validations:
|
per_page Optional |
Nombre d'entrades per petició Validations:
|
Code | Descripció |
---|---|
404 | Lock could not be found. |
Param Name | Description |
---|---|
location_id Optional |
Abast per ubicacions Validations:
|
organization_id Optional |
Abast per organitzacions Validations:
|
id Required |
Id or name of the DLM lock Validations:
|
Param Name | Description |
---|---|
location_id Optional |
Abast per ubicacions Validations:
|
organization_id Optional |
Abast per organitzacions Validations:
|
dlmlock Required |
Validations:
|
dlmlock[name] Required |
Nom Validations:
|
dlmlock[type] Required |
Type, e.g. ForemanDlm::Dlmlock:Update Validations:
|
dlmlock[enabled] Optional , <span class="translation_missing" title="translation missing: ca.apipie.nil_allowed">Nil Allowed</span> |
Enable the lock Validations:
|
Param Name | Description |
---|---|
location_id Optional |
Abast per ubicacions Validations:
|
organization_id Optional |
Abast per organitzacions Validations:
|
id Required |
Id or name of the DLM lock Validations:
|
dlmlock Required |
Validations:
|
dlmlock[name] Optional |
Nom Validations:
|
dlmlock[type] Optional |
Type, e.g. ForemanDlm::Dlmlock:Update Validations:
|
dlmlock[enabled] Optional , <span class="translation_missing" title="translation missing: ca.apipie.nil_allowed">Nil Allowed</span> |
Enable the lock Validations:
|
Param Name | Description |
---|---|
location_id Optional |
Abast per ubicacions Validations:
|
organization_id Optional |
Abast per organitzacions Validations:
|
id Required |
Id or name of the DLM lock Validations:
|
This action acquires a lock. It fails, if the lock is currently taken by another host.
The host is authenticated via a client certificate and identified via the CN of that certificate.
Code | Descripció |
---|---|
200 | Lock acquired successfully. |
412 | Lock could not be acquired. |
Param Name | Description |
---|---|
location_id Optional |
Abast per ubicacions Validations:
|
organization_id Optional |
Abast per organitzacions Validations:
|
id Required |
Id or name of the DLM lock Validations:
|
This action releases a lock. It fails, if the lock is currently taken by another host.
The host is authenticated via a client certificate and identified via the CN of that certificate.
Code | Descripció |
---|---|
200 | Lock released successfully. |
412 | Lock could not be released. |
Param Name | Description |
---|---|
location_id Optional |
Abast per ubicacions Validations:
|
organization_id Optional |
Abast per organitzacions Validations:
|
id Required |
Id or name of the DLM lock Validations:
|