Skip to Content
Xeonr Developer Docs

Dismiss every problem with one cause

POST
/xmb.api.v1.AcquisitionService/DismissGrabs

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.

Authorization

BearerAuth
AuthorizationBearer <token>

An access token issued by the xeonr identity provider.

In: header

Header Parameters

Connect-Protocol-Version?number

Define the version of the Connect protocol

Connect-Timeout-Ms?number

Define the timeout, in ms

Request Body

application/json

serverSlug?string
Length1 <= length
seriesUuid?string
Length1 <= length
status?string

The grab status these rows share: failed, abandoned, partially_delivered.

Length1 <= length
reason?string

The reason they share, verbatim. Empty is a real value and matches rows that carry no reason, which is why it has no min_len.

[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://xmb.gg/xmb.api.v1.AcquisitionService/DismissGrabs" \  -H "Connect-Protocol-Version: 1" \  -H "Connect-Timeout-Ms: 1000" \  -H "Content-Type: application/json" \  -d '{}'
{
  "dismissed": "120"
}

Dismiss a finished problem POST

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`.

List finished grabs POST

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`.