Hide

RegistryUI Documentation

Display
Print

/udr/v1api/isoffline

EndpointMethodDescription
/udr/v1api/isofflineGETReturns the current online/offline status of the Docker Registry.

Authentication

Not Required.

Query String Arguments

ArgumentTypeDescription
(none)

Response

A JSON object is returned. If an error occurs, the "error" field will contain a descriptive error message (see Standard API Response).

FieldTypeDescription
dataBooleanContains true if the Docker Registry is offline, false otherwise.

Example

curl https://registry.yoursite.com/udr/v1api/isoffline

Response:
{"error":null,"data":false}