Skip to content

Commit aaac3a2

Browse files
committed
update openapi specs
1 parent 5222258 commit aaac3a2

File tree

1 file changed

+0
-360
lines changed

1 file changed

+0
-360
lines changed

services/api-server/openapi.json

Lines changed: 0 additions & 360 deletions
Original file line numberDiff line numberDiff line change
@@ -7829,249 +7829,10 @@
78297829
}
78307830
}
78317831
}
7832-
},
7833-
"/v0/tasks": {
7834-
"get": {
7835-
"tags": [
7836-
"tasks"
7837-
],
7838-
"summary": "Get Async Jobs",
7839-
"operationId": "get_async_jobs",
7840-
"responses": {
7841-
"200": {
7842-
"description": "Successful Response",
7843-
"content": {
7844-
"application/json": {
7845-
"schema": {
7846-
"$ref": "#/components/schemas/ApiServerEnvelope_list_TaskGet__"
7847-
}
7848-
}
7849-
}
7850-
},
7851-
"500": {
7852-
"description": "Internal server error",
7853-
"content": {
7854-
"application/json": {
7855-
"schema": {
7856-
"$ref": "#/components/schemas/ErrorGet"
7857-
}
7858-
}
7859-
}
7860-
}
7861-
},
7862-
"security": [
7863-
{
7864-
"HTTPBasic": []
7865-
}
7866-
]
7867-
}
7868-
},
7869-
"/v0/tasks/{task_id}": {
7870-
"get": {
7871-
"tags": [
7872-
"tasks"
7873-
],
7874-
"summary": "Get Async Job Status",
7875-
"operationId": "get_async_job_status",
7876-
"security": [
7877-
{
7878-
"HTTPBasic": []
7879-
}
7880-
],
7881-
"parameters": [
7882-
{
7883-
"name": "task_id",
7884-
"in": "path",
7885-
"required": true,
7886-
"schema": {
7887-
"type": "string",
7888-
"format": "uuid",
7889-
"title": "Task Id"
7890-
}
7891-
}
7892-
],
7893-
"responses": {
7894-
"200": {
7895-
"description": "Successful Response",
7896-
"content": {
7897-
"application/json": {
7898-
"schema": {
7899-
"$ref": "#/components/schemas/TaskStatus"
7900-
}
7901-
}
7902-
}
7903-
},
7904-
"500": {
7905-
"description": "Internal server error",
7906-
"content": {
7907-
"application/json": {
7908-
"schema": {
7909-
"$ref": "#/components/schemas/ErrorGet"
7910-
}
7911-
}
7912-
}
7913-
},
7914-
"422": {
7915-
"description": "Validation Error",
7916-
"content": {
7917-
"application/json": {
7918-
"schema": {
7919-
"$ref": "#/components/schemas/HTTPValidationError"
7920-
}
7921-
}
7922-
}
7923-
}
7924-
}
7925-
}
7926-
},
7927-
"/v0/tasks/{task_id}:cancel": {
7928-
"post": {
7929-
"tags": [
7930-
"tasks"
7931-
],
7932-
"summary": "Cancel Async Job",
7933-
"operationId": "cancel_async_job",
7934-
"security": [
7935-
{
7936-
"HTTPBasic": []
7937-
}
7938-
],
7939-
"parameters": [
7940-
{
7941-
"name": "task_id",
7942-
"in": "path",
7943-
"required": true,
7944-
"schema": {
7945-
"type": "string",
7946-
"format": "uuid",
7947-
"title": "Task Id"
7948-
}
7949-
}
7950-
],
7951-
"responses": {
7952-
"204": {
7953-
"description": "Successful Response"
7954-
},
7955-
"500": {
7956-
"description": "Internal server error",
7957-
"content": {
7958-
"application/json": {
7959-
"schema": {
7960-
"$ref": "#/components/schemas/ErrorGet"
7961-
}
7962-
}
7963-
}
7964-
},
7965-
"422": {
7966-
"description": "Validation Error",
7967-
"content": {
7968-
"application/json": {
7969-
"schema": {
7970-
"$ref": "#/components/schemas/HTTPValidationError"
7971-
}
7972-
}
7973-
}
7974-
}
7975-
}
7976-
}
7977-
},
7978-
"/v0/tasks/{task_id}/result": {
7979-
"get": {
7980-
"tags": [
7981-
"tasks"
7982-
],
7983-
"summary": "Get Async Job Result",
7984-
"operationId": "get_async_job_result",
7985-
"security": [
7986-
{
7987-
"HTTPBasic": []
7988-
}
7989-
],
7990-
"parameters": [
7991-
{
7992-
"name": "task_id",
7993-
"in": "path",
7994-
"required": true,
7995-
"schema": {
7996-
"type": "string",
7997-
"format": "uuid",
7998-
"title": "Task Id"
7999-
}
8000-
}
8001-
],
8002-
"responses": {
8003-
"200": {
8004-
"description": "Successful Response",
8005-
"content": {
8006-
"application/json": {
8007-
"schema": {
8008-
"$ref": "#/components/schemas/TaskResult"
8009-
}
8010-
}
8011-
}
8012-
},
8013-
"404": {
8014-
"description": "Task result not found",
8015-
"content": {
8016-
"application/json": {
8017-
"schema": {
8018-
"$ref": "#/components/schemas/ErrorGet"
8019-
}
8020-
}
8021-
}
8022-
},
8023-
"409": {
8024-
"description": "Task is cancelled",
8025-
"content": {
8026-
"application/json": {
8027-
"schema": {
8028-
"$ref": "#/components/schemas/ErrorGet"
8029-
}
8030-
}
8031-
}
8032-
},
8033-
"500": {
8034-
"description": "Internal server error",
8035-
"content": {
8036-
"application/json": {
8037-
"schema": {
8038-
"$ref": "#/components/schemas/ErrorGet"
8039-
}
8040-
}
8041-
}
8042-
},
8043-
"422": {
8044-
"description": "Validation Error",
8045-
"content": {
8046-
"application/json": {
8047-
"schema": {
8048-
"$ref": "#/components/schemas/HTTPValidationError"
8049-
}
8050-
}
8051-
}
8052-
}
8053-
}
8054-
}
80557832
}
80567833
},
80577834
"components": {
80587835
"schemas": {
8059-
"ApiServerEnvelope_list_TaskGet__": {
8060-
"properties": {
8061-
"data": {
8062-
"items": {
8063-
"$ref": "#/components/schemas/TaskGet"
8064-
},
8065-
"type": "array",
8066-
"title": "Data"
8067-
}
8068-
},
8069-
"type": "object",
8070-
"required": [
8071-
"data"
8072-
],
8073-
"title": "ApiServerEnvelope[list[TaskGet]]"
8074-
},
80757836
"Body_abort_multipart_upload_v0_files__file_id__abort_post": {
80767837
"properties": {
80777838
"client_file": {
@@ -11365,127 +11126,6 @@
1136511126
"kind": "input"
1136611127
}
1136711128
},
11368-
"TaskGet": {
11369-
"properties": {
11370-
"task_id": {
11371-
"type": "string",
11372-
"title": "Task Id"
11373-
},
11374-
"task_name": {
11375-
"type": "string",
11376-
"title": "Task Name"
11377-
},
11378-
"status_href": {
11379-
"type": "string",
11380-
"title": "Status Href"
11381-
},
11382-
"result_href": {
11383-
"type": "string",
11384-
"title": "Result Href"
11385-
},
11386-
"abort_href": {
11387-
"type": "string",
11388-
"title": "Abort Href"
11389-
}
11390-
},
11391-
"type": "object",
11392-
"required": [
11393-
"task_id",
11394-
"task_name",
11395-
"status_href",
11396-
"result_href",
11397-
"abort_href"
11398-
],
11399-
"title": "TaskGet"
11400-
},
11401-
"TaskProgress": {
11402-
"properties": {
11403-
"task_id": {
11404-
"anyOf": [
11405-
{
11406-
"type": "string"
11407-
},
11408-
{
11409-
"type": "null"
11410-
}
11411-
],
11412-
"title": "Task Id"
11413-
},
11414-
"message": {
11415-
"type": "string",
11416-
"title": "Message",
11417-
"default": ""
11418-
},
11419-
"percent": {
11420-
"type": "number",
11421-
"maximum": 1.0,
11422-
"minimum": 0.0,
11423-
"title": "Percent",
11424-
"default": 0.0
11425-
}
11426-
},
11427-
"type": "object",
11428-
"title": "TaskProgress",
11429-
"description": "Helps the user to keep track of the progress. Progress is expected to be\ndefined as a float bound between 0.0 and 1.0"
11430-
},
11431-
"TaskResult": {
11432-
"properties": {
11433-
"result": {
11434-
"anyOf": [
11435-
{},
11436-
{
11437-
"type": "null"
11438-
}
11439-
],
11440-
"title": "Result"
11441-
},
11442-
"error": {
11443-
"anyOf": [
11444-
{},
11445-
{
11446-
"type": "null"
11447-
}
11448-
],
11449-
"title": "Error"
11450-
}
11451-
},
11452-
"type": "object",
11453-
"required": [
11454-
"result",
11455-
"error"
11456-
],
11457-
"title": "TaskResult"
11458-
},
11459-
"TaskStatus": {
11460-
"properties": {
11461-
"task_progress": {
11462-
"$ref": "#/components/schemas/TaskProgress"
11463-
},
11464-
"done": {
11465-
"type": "boolean",
11466-
"title": "Done"
11467-
},
11468-
"started": {
11469-
"anyOf": [
11470-
{
11471-
"type": "string",
11472-
"format": "date-time"
11473-
},
11474-
{
11475-
"type": "null"
11476-
}
11477-
],
11478-
"title": "Started"
11479-
}
11480-
},
11481-
"type": "object",
11482-
"required": [
11483-
"task_progress",
11484-
"done",
11485-
"started"
11486-
],
11487-
"title": "TaskStatus"
11488-
},
1148911129
"UnitExtraInfoTier": {
1149011130
"properties": {
1149111131
"CPU": {

0 commit comments

Comments
 (0)