full diff

dev.knotless.putSubscription

From
bafyreibov3ousglcp6nezx63pvx5xpokmm5dxofyfv52uozp5yajub7gyq indexed 2026-11-02 17:49 UTC View this version
To
bafyreifo2b2q2xoctvj5xkfmugeal2bcodxcyxquns5k42jwdmsjl2xe64 indexed 2026-11-08 06:28 UTC View this version

Compatibility

backward compatible No changes detected.

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
55 "description": "Chooses what the asking account hears of a repository, a pull or an issue, as the appview keeps it for that account alone: no record is written. A choice counts from when it is made, and choosing the level it has already keeps it as of then. Requires authentication: a service token, or the session cookie the pages' login sets, from the pages themselves.",
66 "errors": [
77 {
88 "description": "A subject that is no repository, pull or issue, a level it cannot take, or more choices than the appview keeps for one account.",
99 "name": "InvalidRequest"
1010 },
1111 {
1212 "description": "No account asks.",
1313 "name": "AuthenticationRequired"
1414 },
1515 {
1616 "description": "No such repository the account can read, or this appview keeps no index.",
1717 "name": "NotFound"
1818 }
1919 ],
2020 "input": {
2121 "encoding": "application/json",
2222 "schema": {
2323 "properties": {
2424 "level": {
25 "description": "For a repository: `all` it does, its `releases` alone, or `ignore` it. For a pull or an issue: `subscribed` to every comment, or `muted`. Either way, `participating` forgets the choice, so the account hears as its part in it says.",
25 "description": "For a repository: `all` it does, its `releases` alone, or `ignore` it. For a pull or an issue: `subscribed` to every comment, or `muted`. Either way, `participating` forgets the choice, so the account hears as its part in it says; but for the account's own repository, which it hears all of until it chooses, `participating` is kept as a choice.",
2626 "knownValues": [
2727 "participating",
2828 "all",
2929 "releases",
3030 "ignore",
3131 "subscribed",
3232 "muted"
3333 ],
3434 "maxLength": 64,
3535 "type": "string"
3636 },
3737 "subject": {
3838 "description": "A repository's dev.knotless.repo record, or a dev.knotless.pull or dev.knotless.issue.",
3939 "format": "at-uri",
4040 "type": "string"
4141 }
4242 },
4343 "required": [
4444 "subject",
4545 "level"
4646 ],
4747 "type": "object"
4848 }
4949 },
5050 "output": {
5151 "encoding": "application/json",
5252 "schema": {
5353 "ref": "dev.knotless.listSubscriptions#subscription",
5454 "type": "ref"
5555 }
5656 },
5757 "type": "procedure"
5858 }
5959 },
6060 "description": "Chooses what the asking account hears of a repository, a pull or an issue.",
6161 "id": "dev.knotless.putSubscription",
6262 "lexicon": 1
6363}

Compare other versions