Mike Russell

Mike Russell · GPT Actions

YouTube API

This API simulates a YouTube search operation.

  • GET /mike/Retrieve captions for a given video
原始 API 定义
{
  "openapi": "3.1.0",
  "info": {
    "title": "YouTube API",
    "description": "This API simulates a YouTube search operation.",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://ai.mrc.fm/youtube"
    }
  ],
  "paths": {
    "/mike/": {
      "get": {
        "summary": "Retrieve captions for a given video",
        "operationId": "retrieveCaptions",
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "description": "Query term to search for.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response with caption data",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string",
                  "description": "The caption file for the video."
                }
              }
            }
          },
          "404": {
            "description": "Caption file not found"
          }
        }
      }
    }
  }
}