GET /docker/api/v2/registries
List all docker registries

Params

Param name Description
location_id
optional

Scope by locations

Validations:

  • Integer

organization_id
optional

Scope by organizations

Validations:

  • Integer

search
optional

filter results

Validations:

  • String

order
optional

sort results

Validations:

  • String

page
optional

paginate results

Validations:

  • String

per_page
optional

number of entries per request

Validations:

  • String


GET /docker/api/v2/registries/:id
Show a docker registry

Params

Param name Description
location_id
optional

Scope by locations

Validations:

  • Integer

organization_id
optional

Scope by organizations

Validations:

  • Integer

id
required

Validations:

  • string from 2 to 128 characters containing only alphanumeric characters, space, ‘‘, ‘-’ with no leading or trailing space..


POST /docker/api/v2/registries
Create a docker registry

Params

Param name Description
location_id
optional

Scope by locations

Validations:

  • Integer

organization_id
optional

Scope by organizations

Validations:

  • Integer

registry
required

Validations:

  • Hash

registry[name]
required

Validations:

  • String

registry[location_ids]
optional , nil allowed

REPLACE locations with given ids

Validations:

  • Must be an array of any type

registry[organization_ids]
optional , nil allowed

REPLACE organizations with given ids.

Validations:

  • Must be an array of any type

registry[url]
required

Validations:

  • String

registry[description]
optional , nil allowed

Validations:

  • String

registry[username]
optional , nil allowed

Validations:

  • String

registry[password]
optional , nil allowed

Validations:

  • String


PUT /docker/api/v2/registries/:id
Update a docker registry

Params

Param name Description
location_id
optional

Scope by locations

Validations:

  • Integer

organization_id
optional

Scope by organizations

Validations:

  • Integer

id
required

Validations:

  • string from 2 to 128 characters containing only alphanumeric characters, space, ‘‘, ‘-’ with no leading or trailing space..

registry
required

Validations:

  • Hash

registry[name]
optional

Validations:

  • String

registry[location_ids]
optional , nil allowed

REPLACE locations with given ids

Validations:

  • Must be an array of any type

registry[organization_ids]
optional , nil allowed

REPLACE organizations with given ids.

Validations:

  • Must be an array of any type

registry[url]
optional

Validations:

  • String

registry[description]
optional , nil allowed

Validations:

  • String

registry[username]
optional , nil allowed

Validations:

  • String

registry[password]
optional , nil allowed

Validations:

  • String


DELETE /docker/api/v2/registries/:id
Delete a docker registry

Params

Param name Description
location_id
optional

Scope by locations

Validations:

  • Integer

organization_id
optional

Scope by organizations

Validations:

  • Integer

id
required

Validations:

  • string from 2 to 128 characters containing only alphanumeric characters, space, ‘‘, ‘-’ with no leading or trailing space..