Summary Bot
Summary Bot · GPT アクション
Notable Service
Retrieves online contents for summarization
GET /healthGetHealthGet health for Notable
GET /contents/onlineGetOnlineContentGet the content given a URL
POST /gpt/notesSaveSummarySave summary into Notable
元の API スキーマ
{
"openapi": "3.1.0",
"info": {
"title": "Notable Service",
"description": "Retrieves online contents for summarization",
"version": "v1.0.0"
},
"servers": [
{
"url": "https://api.getnotable.ai"
}
],
"paths": {
"/health": {
"get": {
"description": "Get health for Notable",
"operationId": "GetHealth",
"parameters": [],
"deprecated": false
}
},
"/contents/online": {
"get": {
"description": "Get the content given a URL",
"operationId": "GetOnlineContent",
"parameters": [
{
"name": "url",
"in": "query",
"description": "the online video/article URL",
"required": true,
"schema": {
"type": "string"
}
}
]
}
},
"/gpt/notes": {
"post": {
"description": "Save summary into Notable",
"operationId": "SaveSummary",
"requestBody": {
"content": {
"application/json": {
"schema": {
"properties": {
"title": {
"type": "string",
"description": "Title of the summary"
},
"points": {
"#ref": "#/components/schemas/Points"
},
"sourceContentUrl": {
"type": "string",
"description": "point heading"
}
},
"type": "object",
"required": [
"title",
"points"
],
"title": "summary payload"
}
}
}
}
}
}
},
"components": {
"schemas": {
"Elaborations": {
"type": "array",
"items": {
"type": "string"
}
},
"Point": {
"type": "object",
"required": [
"heading"
],
"properties": {
"heading": {
"type": "string"
},
"elaborations": {
"#ref": "#/components/schemas/Elaborations"
}
}
},
"Points": {
"type": "array",
"items": {
"#ref": "#/components/schemas/Point"
}
}
}
}
}