Authentication
OAuth login flows and token management
postEnd session
Clears the browser's httpOnly refresh-token cookie, ending its session.
postGet authorization URL
Gets the OAuth authorization URL for initiating the login flow.
postHandle login
Exchanges an OAuth authorization code for access and refresh tokens.
postRefresh token
Exchanges a refresh token for a new access token and refresh token pair.
Test a grabber tracker POST
Has the grabber run a throwaway TV search on one tracker, so a bad passkey shows up when it is entered. Torznab reports a refused credential as an empty feed, so the result is otherwise indistinguishable from a tracker with nothing on it. `ok` is false with the tracker's error in `message` when the search failed. `ok` is true with `result_count` when it answered; zero results is still `ok`, with a `message` saying the category may be empty. Nothing is stored. `NOT_FOUND` for a grabber that does not exist or belongs to another tenant; `UNAVAILABLE` when the grabber cannot be reached; a tracker id the grabber does not know comes back as `INTERNAL`. The caller must be an administrator of the grabber's server.
End session POST
Clears the browser's httpOnly refresh-token cookie, ending its session.