Code2U
Code2U · GPT 작업
Code2U API
GET /search/blog/api/?format=jsonsearch blog
원본 API 스키마
{
"openapi": "3.1.0",
"info": {
"title": "Code2U API",
"version": "0.1.0"
},
"servers": [
{
"url": "https://code2u.io"
}
],
"paths": {
"/search/blog/api/?format=json": {
"get": {
"summary": "search blog",
"operationId": "get_search_blog",
"parameters": [
{
"name": "keywords",
"in": "query",
"required": true,
"schema": {
"type": "string",
"title": "Keywords"
}
},
{
"name": "query_type",
"in": "query",
"required": false,
"schema": {
"type": "string",
"title": "Query Type"
}
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/BlogList"
}
}
}
}
}
}
}
},
"components": {
"schemas": {
"BlogList": {
"properties": {
"list": {
"items": {
"$ref": "#/components/schemas/BlogContent"
},
"type": "array",
"title": "Blog List"
}
},
"type": "object",
"title": "BlogList"
},
"BlogContent": {
"properties": {
"date": {
"type": "string",
"title": "Create Date"
},
"author_name": {
"type": "string",
"title": "Author's Nickname"
},
"author_link": {
"type": "string",
"title": "Author's Twitter"
},
"tags": {
"type": "string",
"title": "Blog's Tags"
},
"intro": {
"type": "string",
"title": "Blog's Intro"
},
"body": {
"type": "string",
"title": "Blog's Body"
},
"link": {
"type": "string",
"title": "Blog's Link"
}
},
"type": "object",
"required": [
"date",
"author_name",
"author_link",
"tags",
"intro",
"body",
"link"
],
"title": "BlogContent"
}
}
}
}