Files
RSSHub/docs/en/api.md
Tony 8614ec3b7e docs: quick start revamp (#12198)
* docs: revamp quick start

* wip

* wip

* wip

* wip

* wip

* wip

* wip: radar

* wip: rich media

* wip: script standard

* wip: cache

* wip: chinese quick start

* wip: chinese quick start part 2

* wip: chinese quick start

* docs: add open collective

* retrigger ci
2023-03-29 22:31:58 +08:00

1.1 KiB

API

::: warning Warning The API is under active development and is subject to change. All suggestions are welcome! :::

RSSHub provides the following APIs:

List of Public Routes

::: tip Tip This API will not return any routes under lib/protected_router.js. :::

Eg: https://rsshub.app/api/routes/github

Route: /api/routes/:name?

Parameters:

A successful request returns an HTTP status code 200 OK with the result in JSON:

{
    "status": "success",
    "data": {
        "github": {
            "routes": [
                "/github/trending/:since/:language?",
                "/github/issue/:user/:repo",
                "/github/user/followers/:user",
                "/github/stars/:user/:repo"
            ]
        }
    },
    "message": "request returned 4 routes"
}

If no matching results were found, the server returns only an HTTP status code 204 No Content.