Skip to Content
Xeonr Developer Docs

Retry a grab with a fresh search

POST
/xmb.api.v1.AcquisitionService/RetryGrab

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.

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
grabUuid?string
Length1 <= length
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://xmb.gg/xmb.api.v1.AcquisitionService/RetryGrab" \  -H "Connect-Protocol-Version: 1" \  -H "Connect-Timeout-Ms: 1000" \  -H "Content-Type: application/json" \  -d '{}'
{
  "started": "true",
  "grabUuid": "e8b3c5d1-2f4a-4d6b-8e9c-0a1b2c3d4e5f",
  "message": "nothing found cleared the quality profile"
}

Create or replace a quality profile POST

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`

Search trackers for a title POST

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