com.getorbyt.video.setMixTuning
Tunes Your Mix for an author or Channel without naming a post, from the viewer's tuning screen (com.getorbyt.video.listMixTuning): more or less, as com.getorbyt.video.tuneMix does, replacing any earlier signal. It lasts 30 days, or until `expiresAt` when that is sooner, which is how the app's Undo puts back what was there. Or, with `items`, puts back each change that com.getorbyt.video.clearMixTuning returned as cleared, as it was, which is how Undo after Reset restores everything Reset took away.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | video.getorbyt.com |
| Commit rev | 3n3cuiqqrho26 |
| Indexed |
Checks
Validunlimited-stringdefs.main.input.schema.properties.signalNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.input.schema.properties.subjectNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.tuning.properties.signalNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.tuning.properties.subjectNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Tunes Your Mix for an author or Channel without naming a post, from the viewer's tuning screen (com.getorbyt.video.listMixTuning): more or less, as com.getorbyt.video.tuneMix does, replacing any earlier signal. It lasts 30 days, or until `expiresAt` when that is sooner, which is how the app's Undo puts back what was there. Or, with `items`, puts back each change that com.getorbyt.video.clearMixTuning returned as cleared, as it was, which is how Undo after Reset restores everything Reset took away.",
"errors": [
{
"name": "AuthenticationRequired"
},
{
"name": "InvalidRequest"
},
{
"description": "Mix tuning is not live for this account.",
"name": "MethodNotImplemented"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"expiresAt": {
"format": "datetime",
"type": "string"
},
"items": {
"description": "Changes to put back, each until its own end. Sent instead of `subject` and `signal`.",
"items": {
"ref": "#tuning",
"type": "ref"
},
"maxLength": 1000,
"type": "array"
},
"signal": {
"knownValues": [
"more",
"less"
],
"type": "string"
},
"subject": {
"description": "An author's DID or a Channel's AT URI. Required with `signal` unless `items` is sent.",
"type": "string"
}
},
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {},
"type": "object"
}
},
"type": "procedure"
},
"tuning": {
"description": "One author or Channel the viewer tuned, and until when.",
"properties": {
"expiresAt": {
"format": "datetime",
"type": "string"
},
"signal": {
"knownValues": [
"more",
"less"
],
"type": "string"
},
"subject": {
"description": "An author's DID or a Channel's AT URI.",
"type": "string"
}
},
"required": [
"subject",
"signal",
"expiresAt"
],
"type": "object"
}
},
"id": "com.getorbyt.video.setMixTuning",
"lexicon": 1
}