Skip to Content
Xeonr Developer Docs

Cancel a grab

POST
/xmb.api.v1.AcquisitionService/CancelGrab

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.

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/CancelGrab" \  -H "Connect-Protocol-Version: 1" \  -H "Connect-Timeout-Ms: 1000" \  -H "Content-Type: application/json" \  -d '{}'
{
  "removedNow": "false",
  "obligation": "seeding — the client removes it when its own ratio or seed-time limit is met"
}