Spekulant BTC i Złota

Spekulant BTC i Złota · GPT Actions

News Titles API

API to fetch the latest news article titles from an RSS feed.

  • GET /news-titlesFetches news article titles
原始 API 定义
{
  "openapi": "3.0.0",
  "info": {
    "title": "News Titles API",
    "version": "1.0.0",
    "description": "API to fetch the latest news article titles from an RSS feed."
  },
  "servers": [
    {
      "url": "https://last-20-news.kubanorkiewicz.repl.co/",
      "description": "Development server"
    }
  ],
  "paths": {
    "/news-titles": {
      "get": {
        "summary": "Fetches news article titles",
        "operationId": "getNewsTitles",
        "responses": {
          "200": {
            "description": "Successfully retrieved news titles",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "titles": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Error in fetching news titles"
          }
        }
      }
    }
  }
}