Hide

RegistryUI Documentation

Display
Print

/udr/v1api/setonline

EndpointMethodDescription
/udr/v1api/setonlinePOSTSets the Docker Registry online.

Authentication

Basic Authorization header required. The specified user must have administrator privileges.

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. After a successfull call, false is returned as the Docker Registry is not offline.

Example

curl -u username:usertoken -d "" https://registry.yoursite.com/udr/v1api/setonline

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