Feed Buddy

Feed Buddy · GPT アクション

RSS Feed Parser API

API for discovering and parsing RSS and podcast feeds.

  • POST /discoverDiscover RSS feed URLs from a given set of URLs.
  • POST /parseParse the content of an RSS feed from a given URL.
元の API スキーマ
{
  "openapi": "3.0.0",
  "info": {
    "title": "RSS Feed Parser API",
    "version": "1.0.0",
    "description": "API for discovering and parsing RSS and podcast feeds."
  },
  "servers": [
    {
      "url": "https://rss.bumpyclock.com",
      "description": "Production server"
    }
  ],
  "paths": {
    "/discover": {
      "post": {
        "summary": "Discover RSS feed URLs from a given set of URLs.",
        "operationId": "discoverFeeds",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "urls": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "format": "uri"
                    },
                    "description": "List of URLs to discover RSS feeds from."
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successfully discovered RSS feed URLs.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "feeds": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "url": {
                            "type": "string",
                            "format": "uri"
                          },
                          "feedLink": {
                            "type": "string",
                            "format": "uri"
                          },
                          "error": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "url"
                        ]
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/parse": {
      "post": {
        "summary": "Parse the content of an RSS feed from a given URL.",
        "operationId": "parseFeed",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "urls": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "format": "uri"
                    },
                    "description": "URL of the RSS feed to parse."
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successfully parsed the RSS feed.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "title": {
                      "type": "string"
                    },
                    "description": {
                      "type": "string"
                    },
                    "link": {
                      "type": "string"
                    },
                    "favicon": {
                      "type": "string"
                    },
                    "category": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "title": {
                            "type": "string"
                          },
                          "description": {
                            "type": "string"
                          },
                          "link": {
                            "type": "string"
                          },
                          "author": {
                            "type": "string"
                          },
                          "published": {
                            "type": "string"
                          },
                          "category": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "content": {
                            "type": "string"
                          },
                          "media": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}