{ "components": { "schemas": { "DisableSkillRequest": { "properties": { "harness": { "description": "Harness identifier", "minLength": 1, "title": "Harness", "type": "string" } }, "required": [ "harness" ], "title": "DisableSkillRequest", "type": "object" }, "EnableSkillRequest": { "properties": { "harness": { "description": "Harness identifier", "minLength": 1, "title": "Harness", "type": "string" } }, "required": [ "harness" ], "title": "EnableSkillRequest", "type": "object" }, "HTTPValidationError": { "properties": { "detail": { "items": { "$ref": "#/components/schemas/ValidationError" }, "title": "Detail", "type": "array" } }, "title": "HTTPValidationError", "type": "object" }, "InstallMarketplaceSkillRequest": { "properties": { "installToken": { "minLength": 1, "title": "Installtoken", "type": "string" } }, "required": [ "installToken" ], "title": "InstallMarketplaceSkillRequest", "type": "object" }, "SetHarnessSupportRequest": { "properties": { "enabled": { "title": "Enabled", "type": "boolean" } }, "required": [ "enabled" ], "title": "SetHarnessSupportRequest", "type": "object" }, "ValidationError": { "properties": { "ctx": { "title": "Context", "type": "object" }, "input": { "title": "Input" }, "loc": { "items": { "anyOf": [ { "type": "string" }, { "type": "integer" } ] }, "title": "Location", "type": "array" }, "msg": { "title": "Message", "type": "string" }, "type": { "title": "Error Type", "type": "string" } }, "required": [ "loc", "msg", "type" ], "title": "ValidationError", "type": "object" } } }, "info": { "title": "skill-manager", "version": "0.1.0" }, "openapi": "3.1.0", "paths": { "/api/health": { "get": { "operationId": "health_api_health_get", "responses": { "200": { "content": { "application/json": { "schema": { "additionalProperties": true, "title": "Response Health Api Health Get", "type": "object" } } }, "description": "Successful Response" } }, "summary": "Health" } }, "/api/marketplace/install": { "post": { "operationId": "install_marketplace_skill_api_marketplace_install_post", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/InstallMarketplaceSkillRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "additionalProperties": { "type": "boolean" }, "title": "Response Install Marketplace Skill Api Marketplace Install Post", "type": "object" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Install Marketplace Skill" } }, "/api/marketplace/items/{item_id}": { "get": { "operationId": "get_marketplace_detail_api_marketplace_items__item_id__get", "parameters": [ { "in": "path", "name": "item_id", "required": true, "schema": { "title": "Item Id", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "additionalProperties": true, "title": "Response Get Marketplace Detail Api Marketplace Items Item Id Get", "type": "object" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Get Marketplace Detail" } }, "/api/marketplace/items/{item_id}/document": { "get": { "operationId": "get_marketplace_document_api_marketplace_items__item_id__document_get", "parameters": [ { "in": "path", "name": "item_id", "required": true, "schema": { "title": "Item Id", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "additionalProperties": true, "title": "Response Get Marketplace Document Api Marketplace Items Item Id Document Get", "type": "object" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Get Marketplace Document" } }, "/api/marketplace/popular": { "get": { "operationId": "popular_marketplace_api_marketplace_popular_get", "parameters": [ { "in": "query", "name": "limit", "required": false, "schema": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Limit" } }, { "in": "query", "name": "offset", "required": false, "schema": { "default": 0, "title": "Offset", "type": "integer" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "additionalProperties": true, "title": "Response Popular Marketplace Api Marketplace Popular Get", "type": "object" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Popular Marketplace" } }, "/api/marketplace/search": { "get": { "operationId": "search_marketplace_api_marketplace_search_get", "parameters": [ { "in": "query", "name": "q", "required": true, "schema": { "title": "Q", "type": "string" } }, { "in": "query", "name": "limit", "required": false, "schema": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Limit" } }, { "in": "query", "name": "offset", "required": false, "schema": { "default": 0, "title": "Offset", "type": "integer" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "additionalProperties": true, "title": "Response Search Marketplace Api Marketplace Search Get", "type": "object" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Search Marketplace" } }, "/api/settings": { "get": { "operationId": "settings_api_settings_get", "responses": { "200": { "content": { "application/json": { "schema": { "additionalProperties": true, "title": "Response Settings Api Settings Get", "type": "object" } } }, "description": "Successful Response" } }, "summary": "Settings" } }, "/api/settings/harnesses/{harness}/support": { "put": { "operationId": "set_harness_support_api_settings_harnesses__harness__support_put", "parameters": [ { "in": "path", "name": "harness", "required": true, "schema": { "title": "Harness", "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SetHarnessSupportRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "additionalProperties": true, "title": "Response Set Harness Support Api Settings Harnesses Harness Support Put", "type": "object" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Set Harness Support" } }, "/api/skills": { "get": { "operationId": "list_skills_api_skills_get", "responses": { "200": { "content": { "application/json": { "schema": { "additionalProperties": true, "title": "Response List Skills Api Skills Get", "type": "object" } } }, "description": "Successful Response" } }, "summary": "List Skills" } }, "/api/skills/manage-all": { "post": { "operationId": "manage_all_skills_api_skills_manage_all_post", "responses": { "200": { "content": { "application/json": { "schema": { "additionalProperties": true, "title": "Response Manage All Skills Api Skills Manage All Post", "type": "object" } } }, "description": "Successful Response" } }, "summary": "Manage All Skills" } }, "/api/skills/{skill_ref}": { "get": { "operationId": "get_skill_detail_api_skills__skill_ref__get", "parameters": [ { "in": "path", "name": "skill_ref", "required": true, "schema": { "title": "Skill Ref", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "additionalProperties": true, "title": "Response Get Skill Detail Api Skills Skill Ref Get", "type": "object" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Get Skill Detail" } }, "/api/skills/{skill_ref}/delete": { "post": { "operationId": "delete_skill_api_skills__skill_ref__delete_post", "parameters": [ { "in": "path", "name": "skill_ref", "required": true, "schema": { "title": "Skill Ref", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "additionalProperties": { "type": "boolean" }, "title": "Response Delete Skill Api Skills Skill Ref Delete Post", "type": "object" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Delete Skill" } }, "/api/skills/{skill_ref}/disable": { "post": { "operationId": "disable_skill_api_skills__skill_ref__disable_post", "parameters": [ { "in": "path", "name": "skill_ref", "required": true, "schema": { "title": "Skill Ref", "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DisableSkillRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "additionalProperties": { "type": "boolean" }, "title": "Response Disable Skill Api Skills Skill Ref Disable Post", "type": "object" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Disable Skill" } }, "/api/skills/{skill_ref}/enable": { "post": { "operationId": "enable_skill_api_skills__skill_ref__enable_post", "parameters": [ { "in": "path", "name": "skill_ref", "required": true, "schema": { "title": "Skill Ref", "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/EnableSkillRequest" } } }, "required": true }, "responses": { "200": { "content": { "application/json": { "schema": { "additionalProperties": { "type": "boolean" }, "title": "Response Enable Skill Api Skills Skill Ref Enable Post", "type": "object" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Enable Skill" } }, "/api/skills/{skill_ref}/manage": { "post": { "operationId": "manage_skill_api_skills__skill_ref__manage_post", "parameters": [ { "in": "path", "name": "skill_ref", "required": true, "schema": { "title": "Skill Ref", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "additionalProperties": { "type": "boolean" }, "title": "Response Manage Skill Api Skills Skill Ref Manage Post", "type": "object" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Manage Skill" } }, "/api/skills/{skill_ref}/source-status": { "get": { "operationId": "get_skill_source_status_api_skills__skill_ref__source_status_get", "parameters": [ { "in": "path", "name": "skill_ref", "required": true, "schema": { "title": "Skill Ref", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "additionalProperties": true, "title": "Response Get Skill Source Status Api Skills Skill Ref Source Status Get", "type": "object" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Get Skill Source Status" } }, "/api/skills/{skill_ref}/unmanage": { "post": { "operationId": "unmanage_skill_api_skills__skill_ref__unmanage_post", "parameters": [ { "in": "path", "name": "skill_ref", "required": true, "schema": { "title": "Skill Ref", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "additionalProperties": { "type": "boolean" }, "title": "Response Unmanage Skill Api Skills Skill Ref Unmanage Post", "type": "object" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Unmanage Skill" } }, "/api/skills/{skill_ref}/update": { "post": { "operationId": "update_skill_api_skills__skill_ref__update_post", "parameters": [ { "in": "path", "name": "skill_ref", "required": true, "schema": { "title": "Skill Ref", "type": "string" } } ], "responses": { "200": { "content": { "application/json": { "schema": { "additionalProperties": { "type": "boolean" }, "title": "Response Update Skill Api Skills Skill Ref Update Post", "type": "object" } } }, "description": "Successful Response" }, "422": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, "description": "Validation Error" } }, "summary": "Update Skill" } } } }