xmb.api.v1.AcquisitionService
postCancel a grab
Marks the grab cancelled on the platform first, then asks the grabber to remove the download. The cancel is durable: if the grabber is off, the row already says cancelled and the grabber acts on it when it reconnects. Cancelling writes a suppression, not a blocklist entry, so the automatic searcher does not pick the same release again. Cancelling a grab that has already ended is not an error. Cancelling a delivered or partially delivered grab means its files were wrong: each delivered file is sent back to the matcher, with its episode links dropped, for the next scan to identify again. `removed_now` is true when the torrent came off the client straight away. It is false when the grabber could not be reached, or when a complete torrent is kept to seed out the tracker obligation that `obligation` describes; removal then finishes in the background. `NOT_FOUND` for a grab not on this server. The caller must be an administrator of the server (on a team-owned server, an admin of the team, checked live against Xeonr Auth). A caller with no role on the server gets `NOT_FOUND`; a member who is not an administrator, or any caller on a disabled server, gets `PERMISSION_DENIED`.
postDelete a grabber tracker
Removes a tracker, and its stored credential, from the grabber. Searches stop using it at once. `NOT_FOUND` for a grabber that does not exist or belongs to another tenant; `UNAVAILABLE` when the grabber cannot be reached; other failures on the grabber come back as `INTERNAL`. The caller must be an administrator of the grabber's server.
postDelete a quality profile
Removes a quality profile. Refused while a library still uses it as its default. **Required scopes:** `xmb:admin`
postDismiss a finished problem
Moves one finished grab (failed, abandoned or partially delivered) out of the queue's `problems` list and into the history. It does not retry, blocklist or delete anything, and does not contact the grabber. A grab still in flight is refused with `FAILED_PRECONDITION`: cancel it instead. A grab not on this server gets `NOT_FOUND`. The caller must be an administrator of the server (on a team-owned server, an admin of the team, checked live against Xeonr Auth). A caller with no role on the server gets `NOT_FOUND`; a member who is not an administrator, or any caller on a disabled server, gets `PERMISSION_DENIED`.
postDismiss every problem with one cause
Dismisses, in one call, every undismissed problem row on this server that shares `series_uuid`, `status` and `reason`: the key the queue's `problem_groups` are grouped by. The match is a predicate, so it also clears rows added after the client loaded the page. Rows already dismissed are left alone. `status` must be `failed`, `abandoned` or `partially_delivered`; any other value is refused with `INVALID_ARGUMENT`. `reason` is matched verbatim, and an empty `reason` matches rows that carry none. `dismissed` is how many rows this call moved into the history; zero is not an error. `NOT_FOUND` for a title not on this server. The caller must be an administrator of the server (on a team-owned server, an admin of the team, checked live against Xeonr Auth). A caller with no role on the server gets `NOT_FOUND`; a member who is not an administrator, or any caller on a disabled server, gets `PERMISSION_DENIED`.
postList finished grabs
Returns the server's finished grabs from the last 30 days (the retention window), newest completion first, with dismissed problems included and still-unacknowledged problems left to `GetQueue`. Grabs whose torrent is still seeding are excluded too, as `GetQueue` lists them under `seeding`; working that out reads each grabber's live downloads. Paged by number: `page` is one-based (zero reads as the first page) and `page_size` defaults to 25 and is clamped to 100. The response echoes the page and page size it used and gives `total`, the number of matching grabs. Rows carry the recorded values, not live progress. The caller must be an administrator of the server (on a team-owned server, an admin of the team, checked live against Xeonr Auth). A caller with no role on the server gets `NOT_FOUND`; a member who is not an administrator, or any caller on a disabled server, gets `PERMISSION_DENIED`.
postGet the acquisition queue
Returns the server's live grabs in three lists: `active` (queued, resolving, downloading, downloaded and delivering, plus stalls under ten minutes old), `problems` (failed, abandoned, partially delivered and `delivery_failed` grabs, queued grabs whose dispatch has already failed, and grabs stalled for ten minutes or more) and `seeding` (delivered grabs whose torrent is still seeding out its tracker obligation). Dismissed problems and finished grabs are left out; page through those with `GetGrabHistory`. Progress, transfer and seeding figures are read live from each grabber with a 5-second timeout. A grabber that cannot be reached is named in `failures` and its rows show the last recorded values. `problems` carries the newest 500 rows only; `problems_total` and `problem_groups` count every problem row, grouped by the same title, status and reason key that `DismissGrabs` takes. Delivered grabs older than 14 days are not checked for seeding. The caller must be an administrator of the server (on a team-owned server, an admin of the team, checked live against Xeonr Auth). A caller with no role on the server gets `NOT_FOUND`; a member who is not an administrator, or any caller on a disabled server, gets `PERMISSION_DENIED`.
postGrab a release
Starts a download of one release returned by `SearchReleases`, for the whole series, one season (`season`) or one episode (`season` and `episode`). The server re-parses `release_title` and re-scores it against the title's quality profile, and records that score, not one sent by the client. A release the profile would refuse may still be grabbed by hand. If the release holds more than was asked for (a multi-season pack, say) and `extra_content` is unspecified, nothing is created: the response carries `prompt` instead of `grab`. Call again with `EXTRA_CONTENT_IMPORT` to take all of it and attach the surplus episodes, or `EXTRA_CONTENT_SKIP` to fetch only the wanted files (not offered when `prompt.can_skip` is false, on trackers that require a full take). Otherwise the grab is created, dispatched to the grabber at once (the background sweep retries a failed dispatch) and returned as `grab`. Grabbing a release clears any suppression an earlier cancel left on it. Errors: `NOT_FOUND` for an unknown title or a grabber not on this server; `FAILED_PRECONDITION` when the title has no library folder chosen, its hub cannot receive downloads or has not paired with the grabber, or the release is blocklisted; `ALREADY_EXISTS` when a live grab already covers the release or one of its episodes; `INVALID_ARGUMENT` when the title has no episodes for a grab to deliver. The caller must be an administrator of the server (on a team-owned server, an admin of the team, checked live against Xeonr Auth). A caller with no role on the server gets `NOT_FOUND`; a member who is not an administrator, or any caller on a disabled server, gets `PERMISSION_DENIED`.
postList a grabber's trackers
Relays the grabber's configured trackers, with their seed policy, health and advertised capabilities. No credential or feed URL is returned, only the host, because a private tracker's feed carries its passkey. The grabber is looked up by uuid and the caller must be an administrator of the server it belongs to. A grabber that does not exist and one on another tenant's server both answer `NOT_FOUND`. `UNAVAILABLE` when the grabber cannot be reached over its tunnel.
postList parse disagreements
Returns the release names the second-opinion model read differently from the regex parser, newest first. **Required scopes:** `xmb:admin`
postList quality profiles
Returns every quality profile on the server with its full ladder and terms, ordered by name. **Required scopes:** `xmb:admin`
postCreate or replace a grabber tracker
Relays a tracker's configuration to the grabber, which stores it, including the passkey, on its own disk. The platform passes the credential through and never stores or logs it. An empty `id` creates a tracker (the grabber assigns the id); an existing `id` replaces it. On an update an empty `url` or `api_key` keeps the existing value, so the form never has to hold a passkey to send it back. The grabber asks the indexer what it can do while saving, and the response is the tracker as saved, with its `caps`. The audit record names the tracker by id and name only. Errors: `NOT_FOUND` for a grabber that does not exist or belongs to another tenant; `UNAVAILABLE` when the grabber cannot be reached. A configuration the grabber refuses, such as an unusable URL, comes back as `INTERNAL` with the grabber's message. The caller must be an administrator of the grabber's server.
postCreate or replace a quality profile
Writes a profile and its ladder as one document. An empty uuid creates; otherwise the named profile is replaced entirely, including its rungs and terms. **Required scopes:** `xmb:admin`
postRetry a grab with a fresh search
Re-acquires a grab's episodes. A grab cannot be replayed, because the link it was found through expires with the grabber's result cache, so this clears the blocklist entry and suppression the old release earned, runs `SearchReleases` again for the same scope (one episode, one season, or the whole series when the grab spanned seasons), and grabs the best accepted release through `GrabRelease`. The old grab, if finished, is then dismissed from the problems list. `started` is false with a `message` when no release cleared the profile, the trackers returned nothing, or no grabber could be reached. That is a normal answer, not an error. On success `grab_uuid` names the new grab. Errors from the search or the grab (such as `FAILED_PRECONDITION` for a title with no folder chosen) come back as they are. `NOT_FOUND` for a grab not on this server. The caller must be an administrator of the server (on a team-owned server, an admin of the team, checked live against Xeonr Auth). A caller with no role on the server gets `NOT_FOUND`; a member who is not an administrator, or any caller on a disabled server, gets `PERMISSION_DENIED`.
postSearch trackers for a title
Asks every active grabber on the server to search its trackers for the title and judges the union against the title's effective quality profile. No `season` and no `episode` searches the whole series, `season` alone a season pack, and both one episode. Each tracker account is queried once even when several grabbers hold it, and each grabber has 60 seconds to answer. `releases` lists accepted releases first, in the order the automatic searcher would pick them, then rejected ones in arrival order with `rejection_reason` and `rejection_detail`. Releases blocklisted, suppressed or already delivered for this title are marked as such. With no profile, every release is accepted unranked and `profile_name` is empty. Grabbers and trackers that did not answer are named in `failures`. A server with no reachable active grabber gets an empty `releases` list with the reasons in `failures`, not an error. `trackers_searched` counts the accounts actually queried. Nothing is grabbed or recorded. `NOT_FOUND` for an unknown title. The caller must be an administrator of the server (on a team-owned server, an admin of the team, checked live against Xeonr Auth). A caller with no role on the server gets `NOT_FOUND`; a member who is not an administrator, or any caller on a disabled server, gets `PERMISSION_DENIED`.
postTest a grabber tracker
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.
List accounts POST
Searches for user accounts by username. Requires first-party authentication (not available via OAuth). **Required scopes:** `xmb:private`
Cancel a grab POST
Marks the grab cancelled on the platform first, then asks the grabber to remove the download. The cancel is durable: if the grabber is off, the row already says cancelled and the grabber acts on it when it reconnects. Cancelling writes a suppression, not a blocklist entry, so the automatic searcher does not pick the same release again. Cancelling a grab that has already ended is not an error. Cancelling a delivered or partially delivered grab means its files were wrong: each delivered file is sent back to the matcher, with its episode links dropped, for the next scan to identify again. `removed_now` is true when the torrent came off the client straight away. It is false when the grabber could not be reached, or when a complete torrent is kept to seed out the tracker obligation that `obligation` describes; removal then finishes in the background. `NOT_FOUND` for a grab not on this server. The caller must be an administrator of the server (on a team-owned server, an admin of the team, checked live against Xeonr Auth). A caller with no role on the server gets `NOT_FOUND`; a member who is not an administrator, or any caller on a disabled server, gets `PERMISSION_DENIED`.