Unreleased documentation. These pages follow the main branch and can change before the next release. For supported guidance, use v0.43.0.
actions.register-facility.availability
const url = 'https://example.com/v1/actions/register-facility/availability';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"input":{"operatorId":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"},"targetInput":"operatorId"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/v1/actions/register-facility/availability \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "input": { "operatorId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" }, "targetInput": "operatorId" }'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Header Parameters
Section titled “Header Parameters”Optional W3C trace context. Responses carry Registry trace context for the request.
Query Parameters
Section titled “Query Parameters”Select one compiled access profile. Required when the route has no default; otherwise omission uses its default.
Request Bodyrequired
Section titled “Request Bodyrequired”object
object
Responses
Section titled “Responses”Action availability returned
object
object
object
object
object
Example
{ "availability": { "available": true }}Headers
Section titled “Headers”Caller-dependent responses must not be stored.
Trace context for this response.
Example
00-11111111111111111111111111111111-2222222222222222-01Problem response
object
Examples
{ "code": "request.invalid", "detail": "The request is invalid.", "status": 400, "title": "Bad Request", "traceId": "11111111111111111111111111111111", "type": "https://id.registrystack.org/problems/registry-breg/request/invalid"}Headers
Section titled “Headers”Caller-dependent responses must not be stored.
Trace context for this problem response.
Example
00-11111111111111111111111111111111-2222222222222222-01Problem response
object
Examples
{ "code": "authentication.refused", "detail": "The bearer credential is missing or refused.", "status": 401, "title": "Unauthorized", "traceId": "11111111111111111111111111111111", "type": "https://id.registrystack.org/problems/registry-breg/authentication/refused"}Headers
Section titled “Headers”Caller-dependent responses must not be stored.
Trace context for this problem response.
Example
00-11111111111111111111111111111111-2222222222222222-01Problem response
object
Examples
{ "code": "resource.not_found", "detail": "The requested resource was not found.", "status": 404, "title": "Not Found", "traceId": "11111111111111111111111111111111", "type": "https://id.registrystack.org/problems/registry-breg/resource/not_found"}Headers
Section titled “Headers”Caller-dependent responses must not be stored.
Trace context for this problem response.
Example
00-11111111111111111111111111111111-2222222222222222-01Problem response
object
Examples
{ "code": "unsupported.media_type", "detail": "The request media type is not supported.", "status": 415, "title": "Unsupported Media Type", "traceId": "11111111111111111111111111111111", "type": "https://id.registrystack.org/problems/registry-breg/unsupported/media_type"}Headers
Section titled “Headers”Caller-dependent responses must not be stored.
Trace context for this problem response.
Example
00-11111111111111111111111111111111-2222222222222222-01Problem response
object
Examples
{ "code": "runtime.field_encryption.unavailable", "detail": "The Registry field-encryption service is unavailable.", "status": 503, "title": "Service Unavailable", "traceId": "11111111111111111111111111111111", "type": "https://id.registrystack.org/problems/registry-breg/runtime/field_encryption/unavailable"}{ "code": "service.unavailable", "detail": "The Registry mutation service is unavailable.", "status": 503, "title": "Service Unavailable", "traceId": "11111111111111111111111111111111", "type": "https://id.registrystack.org/problems/registry-breg/service/unavailable"}Headers
Section titled “Headers”Caller-dependent responses must not be stored.
Trace context for this problem response.
Example
00-11111111111111111111111111111111-2222222222222222-01Problem response
object
Examples
{ "code": "request.timeout", "detail": "The request timed out.", "status": 504, "title": "Gateway Timeout", "traceId": "11111111111111111111111111111111", "type": "https://id.registrystack.org/problems/registry-breg/request/timeout"}Headers
Section titled “Headers”Caller-dependent responses must not be stored.
Trace context for this problem response.
Example
00-11111111111111111111111111111111-2222222222222222-01