mirror of
https://github.com/memohai/Memoh.git
synced 2026-04-27 07:16:19 +09:00
chore(api): regenerate skills OpenAPI and SDK artifacts
This commit is contained in:
+84
-3
@@ -1499,7 +1499,7 @@
|
||||
"tags": [
|
||||
"containerd"
|
||||
],
|
||||
"summary": "List skills from data directory",
|
||||
"summary": "List skills from the bot container",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
@@ -1540,7 +1540,7 @@
|
||||
"tags": [
|
||||
"containerd"
|
||||
],
|
||||
"summary": "Upload skills into data directory",
|
||||
"summary": "Upload skills into Memoh-managed directory",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
@@ -1590,7 +1590,7 @@
|
||||
"tags": [
|
||||
"containerd"
|
||||
],
|
||||
"summary": "Delete skills from data directory",
|
||||
"summary": "Delete Memoh-managed skills",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
@@ -1637,6 +1637,58 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/bots/{bot_id}/container/skills/actions": {
|
||||
"post": {
|
||||
"tags": [
|
||||
"containerd"
|
||||
],
|
||||
"summary": "Apply an action to a discovered or managed skill source",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Bot ID",
|
||||
"name": "bot_id",
|
||||
"in": "path",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"description": "Skill action payload",
|
||||
"name": "payload",
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"$ref": "#/definitions/handlers.SkillsActionRequest"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/handlers.skillsOpResponse"
|
||||
}
|
||||
},
|
||||
"400": {
|
||||
"description": "Bad Request",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/handlers.ErrorResponse"
|
||||
}
|
||||
},
|
||||
"404": {
|
||||
"description": "Not Found",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/handlers.ErrorResponse"
|
||||
}
|
||||
},
|
||||
"500": {
|
||||
"description": "Internal Server Error",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/handlers.ErrorResponse"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/bots/{bot_id}/container/snapshots": {
|
||||
"get": {
|
||||
"tags": [
|
||||
@@ -11018,6 +11070,9 @@
|
||||
"description": {
|
||||
"type": "string"
|
||||
},
|
||||
"managed": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"metadata": {
|
||||
"type": "object",
|
||||
"additionalProperties": {}
|
||||
@@ -11027,6 +11082,32 @@
|
||||
},
|
||||
"raw": {
|
||||
"type": "string"
|
||||
},
|
||||
"shadowed_by": {
|
||||
"type": "string"
|
||||
},
|
||||
"source_kind": {
|
||||
"type": "string"
|
||||
},
|
||||
"source_path": {
|
||||
"type": "string"
|
||||
},
|
||||
"source_root": {
|
||||
"type": "string"
|
||||
},
|
||||
"state": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"handlers.SkillsActionRequest": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"action": {
|
||||
"type": "string"
|
||||
},
|
||||
"target_path": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user