第 17 章 repositorynotification
列出、创建和管理存储库事件/通知。
17.1. testRepoNotification
将测试通知排队此存储库。
POST /api/v1/repository/{repository}/notification/{uuid}/test
授权: oauth2_implicit (repo:admin)
路径参数
类型 | Name | 描述 | 模式 |
---|---|---|---|
path |
需要 仓库 | 存储库的完整路径。例如 namespace/name | 字符串 |
path |
UUID | 通知的 UUID | string |
响应
HTTP 代码 | 描述 | 模式 |
---|---|---|
201 | 成功创建 | |
400 | 错误请求 | |
401 | 需要会话 | |
403 | 未授权访问 | |
404 | 未找到 |
示例命令
$ curl -X POST \ -H "Authorization: Bearer <bearer_token>" \ https://<quay-server.example.com>/api/v1/repository/<repository>/notification/<uuid>/test