Param Name | Description |
---|---|
location_id Optional |
Set the current location context for the request Validations:
|
organization_id Optional |
Set the current organization context for the request Validations:
|
search Optional |
výsledky filtru Validations:
|
order Optional |
Sort field and order, eg. ‘id DESC’ Validations:
|
page Optional |
Číslo stránky, začíná od jedničky Validations:
|
per_page Optional |
Number of results per page to return Validations:
|
Code | Popis |
---|---|
404 | Lock could not be found. |
Param Name | Description |
---|---|
location_id Optional |
Set the current location context for the request Validations:
|
organization_id Optional |
Set the current organization context for the request Validations:
|
id Required |
Id or name of the DLM lock Validations:
|
Param Name | Description |
---|---|
location_id Optional |
Set the current location context for the request Validations:
|
organization_id Optional |
Set the current organization context for the request Validations:
|
dlmlock Required |
Validations:
|
dlmlock[name] Required |
Název Validations:
|
dlmlock[type] Required |
Type, e.g. ForemanDlm::Dlmlock:Update Validations:
|
dlmlock[enabled] Optional , <span class="translation_missing" title="translation missing: cs-CZ.apipie.nil_allowed">Nil Allowed</span> |
Enable the lock Validations:
|
Param Name | Description |
---|---|
location_id Optional |
Set the current location context for the request Validations:
|
organization_id Optional |
Set the current organization context for the request Validations:
|
id Required |
Id or name of the DLM lock Validations:
|
dlmlock Required |
Validations:
|
dlmlock[name] Optional |
Název Validations:
|
dlmlock[type] Optional |
Type, e.g. ForemanDlm::Dlmlock:Update Validations:
|
dlmlock[enabled] Optional , <span class="translation_missing" title="translation missing: cs-CZ.apipie.nil_allowed">Nil Allowed</span> |
Enable the lock Validations:
|
Param Name | Description |
---|---|
location_id Optional |
Set the current location context for the request Validations:
|
organization_id Optional |
Set the current organization context for the request 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 | Popis |
---|---|
200 | Lock acquired successfully. |
412 | Lock could not be acquired. |
Param Name | Description |
---|---|
location_id Optional |
Set the current location context for the request Validations:
|
organization_id Optional |
Set the current organization context for the request 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 | Popis |
---|---|
200 | Lock released successfully. |
412 | Lock could not be released. |
Param Name | Description |
---|---|
location_id Optional |
Set the current location context for the request Validations:
|
organization_id Optional |
Set the current organization context for the request Validations:
|
id Required |
Id or name of the DLM lock Validations:
|