Files
cnb/docs/api-groups/event/api.json
2026-01-16 13:03:57 +08:00

56 lines
1.3 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"swagger": "2.0",
"info": {
"title": "CNB OPENAPI",
"contact": {
"name": "Open API Support",
"url": "https://docs.cnb.cool/",
"email": "cnb@tencent.com"
},
"version": "1.0"
},
"paths": {
"/events/{repo}/-/{date}": {
"get": {
"security": [
{
"BearerAuth": []
}
],
"consumes": [
"application/json"
],
"produces": [
"application/vnd.cnb.api+json"
],
"tags": [
"Event"
],
"summary": "获取仓库动态预签名地址并返回内容。Get events pre-signed URL and return content.",
"operationId": "GetEvents",
"parameters": [
{
"type": "string",
"description": "repo path",
"name": "repo",
"in": "path",
"required": true
},
{
"type": "string",
"description": "动态日期,支持按天或小时为维度获取,格式为yy-mm-dd-h or yy-mm-dd, eg:2025-09-11-5",
"name": "date",
"in": "path",
"required": true
}
],
"responses": {
"200": {
"description": "OK"
}
}
}
}
},
"definitions": {}
}