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

參數

參數名字 描述
search
選填

篩選結果

Validations:

  • Must be a String

order
選填

排序結果

Validations:

  • Must be a String

page
選填

編頁結果

Validations:

  • Must be a String

per_page
選填

每個請求的項目數量

Validations:

  • Must be a String


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

參數

參數名字 描述
id
必填

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.


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

參數

參數名字 描述
registry
必填

Validations:

  • Must be a Hash

registry[name]
必填

Validations:

  • Must be a String

registry[location_ids]
選填 , 允許空值

將位置取代為特定 ID

Validations:

  • Must be an array of any type

registry[organization_ids]
選填 , 允許空值

將組織取代為特定 ID。

Validations:

  • Must be an array of any type

registry[url]
必填

Validations:

  • Must be a String

registry[description]
選填 , 允許空值

Validations:

  • Must be a String

registry[username]
選填 , 允許空值

Validations:

  • Must be a String

registry[password]
選填 , 允許空值

Validations:

  • Must be a String


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

參數

參數名字 描述
id
必填

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.

registry
必填

Validations:

  • Must be a Hash

registry[name]
選填

Validations:

  • Must be a String

registry[location_ids]
選填 , 允許空值

將位置取代為特定 ID

Validations:

  • Must be an array of any type

registry[organization_ids]
選填 , 允許空值

將組織取代為特定 ID。

Validations:

  • Must be an array of any type

registry[url]
選填

Validations:

  • Must be a String

registry[description]
選填 , 允許空值

Validations:

  • Must be a String

registry[username]
選填 , 允許空值

Validations:

  • Must be a String

registry[password]
選填 , 允許空值

Validations:

  • Must be a String


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

參數

參數名字 描述
id
必填

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.