Chat with Video

Chat with Video · GPT 작업

Notable Service

Retrieves online contents for summarization

  • GET /contents/onlineGetOnlineContent

    Get the content given a URL

  • POST /gpt/notesSaveSummary

    Save 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":{
    "/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":"URL for the source content"
                  }
                },
                "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"
        }
      }
    }
  }
}