Create 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
Authorization
BearerAuth An access token issued by the xeonr identity provider.
In: header
Header Parameters
Define the version of the Connect protocol
Define the timeout, in ms
Request Body
application/json
1 <= lengthEmpty creates. Otherwise the profile being replaced.
1 <= length <= 128At least one, or the profile can never match anything. Sent best-first; the server assigns ord from the order it receives and ignores any it was given, so a client reordering a list does not have to renumber it.
1 <= items <= 32items <= 200int320 <= valueint64.gt = 0
int64Response Body
application/json
application/json
curl -X POST "https://xmb.gg/xmb.api.v1.AcquisitionService/PutQualityProfile" \ -H "Connect-Protocol-Version: 1" \ -H "Connect-Timeout-Ms: 1000" \ -H "Content-Type: application/json" \ -d '{}'{
"profile": "map[cutoffResolution:QUALITY_RESOLUTION_1080P isLibraryDefault:true maxSizeBytes:53687091200 minSeeders:3 name:HD-1080p rungs:[map[allowed:true ceilingBytesPerHour:6442450944 floorBytesPerHour:1073741824 ord:0 resolution:QUALITY_RESOLUTION_1080P source:QUALITY_SOURCE_WEB_DL] map[allowed:true ord:1 resolution:QUALITY_RESOLUTION_720P source:QUALITY_SOURCE_UNSPECIFIED]] terms:[map[rejected:false score:10 term:-NTb] map[rejected:true score:0 term:/\\b(HDCAM|TS)\\b/i]] upgradeUntilCutoff:false usedBy:14 uuid:2d7e9a14-8c3f-4b6a-9e21-5f0b3c8d7a16]"
}Create or replace a grabber tracker POST
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.
Retry a grab with a fresh search POST
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`.