AI Code Analyzer
AI Code Analyzer · GPT アクション
Task Management API
API for managing tasks related to GitHub repositories.
GET /backend/plugine/repo_analyzercreateTaskIDCreates a task ID for a given GitHub repository.
GET /backend/plugine/repo_analyzer_checkcheckTaskStatusChecks the status of a task using its task number.
元の API スキーマ
{
"openapi": "3.1.0",
"info": {
"title": "Task Management API",
"description": "API for managing tasks related to GitHub repositories.",
"version": "1.0.0"
},
"servers": [
{
"url": "https://www.kuafuai.net"
}
],
"paths": {
"/backend/plugine/repo_analyzer": {
"get": {
"description": "Creates a task ID for a given GitHub repository.",
"operationId": "createTaskID",
"parameters": [
{
"name": "type",
"in": "query",
"description": "Type of the repository.",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "repo",
"in": "query",
"description": "GitHub repository name.",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Successful response with task number",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"task_no": {
"type": "string"
}
}
}
}
}
}
}
}
},
"/backend/plugine/repo_analyzer_check": {
"get": {
"description": "Checks the status of a task using its task number.",
"operationId": "checkTaskStatus",
"parameters": [
{
"name": "task_no",
"in": "query",
"description": "Task number to check the status for.",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Successful response with task status",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"message": {
"type": "string"
},
"status": {
"type": "string"
}
}
}
}
}
}
}
}
}
}
}