Update API docs

This commit is contained in:
Ingo Oppermann
2024-10-24 16:51:14 +02:00
parent b6daea1a02
commit e2def57a6f
6 changed files with 506 additions and 3 deletions

View File

@@ -1307,6 +1307,14 @@ const docTemplateClusterAPI = `{
"description": "percent",
"type": "number"
},
"limitGPU": {
"description": "GPU limits",
"allOf": [
{
"$ref": "#/definitions/app.ConfigLimitGPU"
}
]
},
"limitMemory": {
"description": "bytes",
"type": "integer"
@@ -1401,6 +1409,27 @@ const docTemplateClusterAPI = `{
}
}
},
"app.ConfigLimitGPU": {
"type": "object",
"properties": {
"decoder": {
"description": "percent 0-100",
"type": "number"
},
"encoder": {
"description": "percent 0-100",
"type": "number"
},
"memory": {
"description": "bytes",
"type": "integer"
},
"usage": {
"description": "percent 0-100",
"type": "number"
}
}
},
"client.AddIdentityRequest": {
"type": "object",
"properties": {
@@ -1669,6 +1698,26 @@ const docTemplateClusterAPI = `{
}
}
},
"compress": {
"type": "object",
"properties": {
"encoding": {
"type": "array",
"items": {
"type": "string"
}
},
"mimetypes": {
"type": "array",
"items": {
"type": "string"
}
},
"min_length": {
"type": "integer"
}
}
},
"created_at": {
"description": "When this config has been persisted",
"type": "string"
@@ -1861,6 +1910,14 @@ const docTemplateClusterAPI = `{
"description": "percent 0-100",
"type": "number"
},
"max_gpu_memory_usage": {
"description": "percent 0-100",
"type": "number"
},
"max_gpu_usage": {
"description": "percent 0-100",
"type": "number"
},
"max_memory_usage": {
"description": "percent 0-100",
"type": "number"