部分 I. listAllOrganizations
列出当前系统的机构。
GET /api/v1/superuser/organizations
授权: oauth2_implicit (super:user)
查询参数
类型 | 名称 | 描述 | 模式 |
---|---|---|---|
path |
name | 受管机构的名称 | 字符串 |
响应
示例命令
curl -X GET -H "Authorization: Bearer <bearer_token>" "https://<quay-server.example.com>/api/v1/superuser/organizations/"
$ curl -X GET -H "Authorization: Bearer <bearer_token>" "https://<quay-server.example.com>/api/v1/superuser/organizations/"
1. createServiceKey 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
POST /api/v1/superuser/keys
授权: oauth2_implicit (super:user)
请求正文架构(application/json)
创建服务密钥的描述
Name | 描述 | 模式 |
---|---|---|
服务 | 使用此密钥进行身份验证的服务 | string |
name | 服务键的友好名称 | string |
元数据 | 此键元数据的键/值对 | 对象 |
notes | 如果指定,密钥的额外备注 | 字符串 |
过期 | 过期日期作为 unix 时间戳 |