kubernetes/api/openapi-spec/v3/logs_openapi.json

58 lines
1.1 KiB
JSON
Raw Normal View History

2021-10-28 18:20:50 -04:00
{
2022-03-28 16:28:40 -04:00
"components": {
"securitySchemes": {
"BearerToken": {
"description": "Bearer Token authentication",
"in": "header",
"name": "authorization",
"type": "apiKey"
}
}
},
2021-10-28 18:20:50 -04:00
"info": {
"title": "Kubernetes",
2021-11-24 10:03:45 -05:00
"version": "unversioned"
2021-10-28 18:20:50 -04:00
},
2021-11-24 10:03:45 -05:00
"openapi": "3.0.0",
2021-10-28 18:20:50 -04:00
"paths": {
"/logs/": {
"get": {
2021-11-24 10:03:45 -05:00
"operationId": "logFileListHandler",
2022-03-28 16:28:40 -04:00
"responses": {
"401": {
"description": "Unauthorized"
}
},
2021-10-28 18:20:50 -04:00
"tags": [
"logs"
2021-11-24 10:03:45 -05:00
]
2021-10-28 18:20:50 -04:00
}
},
"/logs/{logpath}": {
"get": {
2021-11-24 10:03:45 -05:00
"operationId": "logFileHandler",
2022-03-28 16:28:40 -04:00
"responses": {
"401": {
"description": "Unauthorized"
}
},
2021-10-28 18:20:50 -04:00
"tags": [
"logs"
2021-11-24 10:03:45 -05:00
]
2021-10-28 18:20:50 -04:00
},
"parameters": [
{
"description": "path to the log",
2021-11-24 10:03:45 -05:00
"in": "path",
"name": "logpath",
2021-10-28 18:20:50 -04:00
"required": true,
"schema": {
"type": "string",
"uniqueItems": true
}
}
]
}
2021-11-24 10:03:45 -05:00
}
2021-10-28 18:20:50 -04:00
}