Remove deprecated API paths (#2639)

This commit is contained in:
qwerty287
2023-10-24 15:21:05 +02:00
committed by GitHub
parent c344cbb0fc
commit 5045f1e431
5 changed files with 70 additions and 57 deletions

View File

@@ -743,45 +743,6 @@ const docTemplate = `{
}
}
},
"/logs/{repo_id}/{pipeline}/{stepID}": {
"get": {
"produces": [
"text/plain"
],
"tags": [
"Pipeline logs"
],
"summary": "Log stream",
"parameters": [
{
"type": "integer",
"description": "the repository id",
"name": "repo_id",
"in": "path",
"required": true
},
{
"type": "integer",
"description": "the number of the pipeline",
"name": "pipeline",
"in": "path",
"required": true
},
{
"type": "integer",
"description": "the step id",
"name": "stepID",
"in": "path",
"required": true
}
],
"responses": {
"200": {
"description": "OK"
}
}
}
},
"/org/lookup/{org_full_name}": {
"get": {
"produces": [
@@ -1968,7 +1929,7 @@ const docTemplate = `{
}
},
"/repos/{repo_id}/logs/{number}": {
"post": {
"delete": {
"produces": [
"text/plain"
],
@@ -3274,6 +3235,62 @@ const docTemplate = `{
}
}
},
"/stream/events": {
"get": {
"description": "event source streaming for compatibility with quic and http2",
"produces": [
"text/plain"
],
"tags": [
"Events"
],
"summary": "Event stream",
"responses": {
"200": {
"description": "OK"
}
}
}
},
"/stream/logs/{repo_id}/{pipeline}/{stepID}": {
"get": {
"produces": [
"text/plain"
],
"tags": [
"Pipeline logs"
],
"summary": "Log stream",
"parameters": [
{
"type": "integer",
"description": "the repository id",
"name": "repo_id",
"in": "path",
"required": true
},
{
"type": "integer",
"description": "the number of the pipeline",
"name": "pipeline",
"in": "path",
"required": true
},
{
"type": "integer",
"description": "the step id",
"name": "stepID",
"in": "path",
"required": true
}
],
"responses": {
"200": {
"description": "OK"
}
}
}
},
"/user": {
"get": {
"produces": [