Teach me CLU
Teach me CLU · Acciones GPT
db of clients
adding new client
POST /add_clientAddNewClientAdd a new client
Esquema original API
{
"openapi": "3.1.0",
"info": {
"title": "db of clients",
"description": "adding new client",
"version": "v1.0.0"
},
"servers": [
{
"url": "https://1435203-cs22935.tw1.ru"
}
],
"paths": {
"/add_client": {
"post": {
"description": "Add a new client",
"operationId": "AddNewClient",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Data"
}
}
}
},
"responses": {
"200": {
"description": "Successful response"
},
"default": {
"description": "Unexpected error"
}
}
}
}
},
"components": {
"schemas": {
"Data": {
"type": "object",
"properties": {
"clientid": {
"type": "integer",
"description": "id user"
},
"name": {
"type": "string",
"description": "name of user"
},
"title": {
"type": "string",
"description": "user's area of interest "
},
"format": {
"type": "string",
"description": "training format"
},
"level": {
"type": "string",
"description": "difficulty level"
}
},
"required": [
"clientid",
"name",
"title",
"format",
"level"
]
}
}
}
}