Requests API for apps
Request apps such as Moonfin can use StreamForge's own requests. The requests API for apps speaks the same API as Seerr, so apps made to work with Seerr can connect to StreamForge instead. What people do in the app lands in StreamForge: a request made in Moonfin shows up on the Requests page, goes through the same approvals, quotas and routing rules, and the person is told when it's ready.
It's deliberately small. It only has what request apps use: signing in, browsing, title pages, requests, problem reports, the watchlist and recently added. Anything else answers "not found".
#Turn it on
- Go to Settings → Requests and switch on StreamForge requests. The Requests API for apps comes on with it (and goes off with it). Apps get their lists, search and title pages from TMDB, whose key is built into StreamForge.
- Copy the App key from the Requests API for apps part of the card if the app asks for one.
- Give the app StreamForge's address (for example
https://streamforge.example.com). Apps add/api/v1themselves.
The admin who switches it on is the owner (number 1) for apps.
#With Moonfin
Moonfin's server plugin (Moonbase) sends all request traffic through your Jellyfin server, so only the Jellyfin server has to reach StreamForge.
- On your Jellyfin server: Dashboard → Plugins → Moonbase → Integrations, turn the request integration on.
- Set its server address to StreamForge's address and save.
- In the Moonfin app: Settings → Integrations, sign in with Jellyfin (or Local for a StreamForge account). Each person signs in with their own account, so requests are in their own name.
Moonfin's trending, popular and upcoming rows, search results, request buttons (HD and 4K), the requests screen, problem reports, availability badges, recently added, and the calendar and download rows then come from StreamForge.
#Signing in
- Jellyfin, Emby or Silo: username and password.
- Plex: a Plex account token.
- StreamForge account: the username (apps call the box "email") and password.
StreamForge's own rules apply: if member sign-in is off, only admins get in, and a disabled or removed account stops working straight away. Sessions started from an app only work in this API (and StreamForge's own browser sign-in doesn't work there). They're listed under Signed-in devices on the person's page, where they can be ended.
Accounts with two-factor sign-in can't sign in from apps, because apps can't ask for the code.
The app key (shown on the card, sent as X-Api-Key) acts as the owner,
or as another person with X-Api-User: <number>. Keep it private, and make
a New app key if it gets out.
#What's included
| Part | Paths (below /api/v1) | In StreamForge |
|---|---|---|
| Status | status, settings/public | Version, how people sign in, whether 4K is offered |
| Signing in | auth/jellyfin, auth/plex, auth/local, auth/me, auth/logout | See above |
| Browsing | discover/movies, discover/tv (plus /upcoming and /top), discover/trending, discover/genreslider/movie and /tv, discover/watchlist, settings/discover, search, languages | From TMDB, each title marked as in the library, requested and so on. settings/discover lists the home rows, including your own Discover rows |
| Title pages | movie/{id}, tv/{id}, tv/tvdb/{id}, their recommendations and similar, person/{id} and its combined_credits, collection/{id} | From TMDB, with what StreamForge knows about the title (library, seasons, requests, download progress) |
| Requests | request (list, create), request/{id} (view, change, delete), request/{id}/approve and /decline, request/count, user/{id}/quota | StreamForge's requests. People see their own; admins see everyone's and approve or decline |
| Servers | service/radarr, service/sonarr, service/{kind}/{n}, service/sonarr/lookup/{id}, and for admins settings/radarr and settings/sonarr | Your Sonarr/Radarr instances (numbered 0, 1, …), their quality profiles and folders. The admin-only lists include each instance's address and key, so an app's server plugin can show the download queue and calendar |
| Problems | issue (list, create), issue/{id} (view, delete), issue/{id}/comment, issue/{id}/open and /resolved, issue/count | Problem reports |
| Watchlist | watchlist (add), watchlist/{id} (remove) | Each person's watchlist |
| Recently added | media | Titles that arrived lately, and requested titles |
What someone can do in the app follows StreamForge's request rules: requesting, approval straight away, 4K and choosing quality.
#Good to know
- Off by default. While it's off,
/api/v1answers "not found". - Backups include the numbers apps know people and titles by.
- Every sign-in and request from an app goes in the audit log.