Skip to content
Snippets Groups Projects
Commit 8887545d authored by Imre Toth's avatar Imre Toth
Browse files

CE-2895: Update API json file

parent 7f2d6edf
No related branches found
No related tags found
2 merge requests!497CE-2790: Prepare for 4.0.0,!495CE-2895: Update API json file
Pipeline #192519 waiting for manual action
......@@ -3,7 +3,7 @@
"info": {
"title": "CE deploy & monitor API",
"description": "CE deploy & monitor backend",
"version": "2.0.0"
"version": "2.1.0"
},
"servers": [
{
......@@ -24,9 +24,6 @@
{
"name": "Authentication"
},
{
"name": "AWX"
},
{
"name": "Records"
},
......@@ -683,70 +680,6 @@
]
}
},
"/api/v1/awx/jobs": {
"post": {
"tags": ["AWX"],
"summary": "Update an AWX job's status",
"operationId": "updateJob",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AwxJobMeta"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "Job updated",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/GeneralException"
}
}
}
},
"401": {
"description": "Unauthorized",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/GeneralException"
}
}
}
},
"404": {
"description": "Job not found",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/GeneralException"
}
}
}
},
"500": {
"description": "Service exception",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/GeneralException"
}
}
}
}
},
"security": [
{
"apiKey": []
}
]
}
},
"/api/v1/authentication/renew": {
"post": {
"tags": ["Authentication"],
......@@ -1361,24 +1294,6 @@
]
}
},
"/healthcheck": {
"get": {
"tags": ["health-check-controller"],
"operationId": "getHealthCheck",
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"type": "string"
}
}
}
}
}
}
},
"/api/v1/statistics/general/{statistics_type}": {
"get": {
"tags": ["Statistics"],
......@@ -3735,40 +3650,6 @@
}
}
},
"AwxJobMeta": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64"
},
"started": {
"type": "string",
"format": "date-time"
},
"finished": {
"type": "string",
"format": "date-time"
},
"status": {
"type": "string",
"enum": [
"UNKNOWN",
"CREATED",
"QUEUED_BY_BACKEND",
"new",
"pending",
"waiting",
"running",
"failed",
"canceled",
"error",
"successful"
]
}
},
"description": "Job to update"
},
"LoginResponse": {
"type": "object",
"properties": {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment