full diff

dev.knotless.labelItem

From
bafyreihvzg7fm6urmm4cqedeqeiyt6qd6wt2g6ow3fhusqcqe3nwbxwq6u indexed 2026-10-28 21:21 UTC View this version
To
bafyreibqizahtgj5z6fo6roaucguwxoupxqpzkyxmdeipohpyxrcahr76e indexed 2026-11-04 13:32 UTC View this version

Compatibility

backward compatible No changes detected.

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
5 "description": "Rewrites the dev.knotless.label record about a pull or an issue in the account logged in to this appview's web pages, as `knotless label` and `knotless unlabel` do: the repository's owner and collaborators put on any label it defines, and its triagers those of their scopes. Putting on an exclusive label takes the others of its scope off. Requires the session cookie the pages' login sets.",
5 "description": "Rewrites the dev.knotless.label record about a pull or an issue in the account logged in to this appview's web pages, as `knotless pull label` and `knotless pull label --undo` do: the repository's owner and collaborators put on any label it defines, and its triagers those of their scopes. Putting on an exclusive label takes the others of its scope off. Requires the session cookie the pages' login sets.",
66 "errors": [
77 {
88 "description": "No such repository.",
99 "name": "NotFound"
1010 },
1111 {
1212 "description": "No account is logged in to the pages, or its session has ended.",
1313 "name": "AuthenticationRequired"
1414 }
1515 ],
1616 "input": {
1717 "encoding": "application/json",
1818 "schema": {
1919 "properties": {
2020 "label": {
2121 "description": "The name of a label the repository defines.",
2222 "maxGraphemes": 50,
2323 "maxLength": 100,
2424 "type": "string"
2525 },
2626 "removed": {
2727 "default": false,
2828 "description": "True to take it off rather than put it on.",
2929 "type": "boolean"
3030 },
3131 "repo": {
3232 "description": "The repository's dev.knotless.repo record, as dev.knotless.getRepo takes it.",
3333 "format": "at-uri",
3434 "type": "string"
3535 },
3636 "subject": {
3737 "description": "The dev.knotless.pull or dev.knotless.issue.",
3838 "format": "at-uri",
3939 "type": "string"
4040 }
4141 },
4242 "required": [
4343 "repo",
4444 "subject",
4545 "label"
4646 ],
4747 "type": "object"
4848 }
4949 },
5050 "output": {
5151 "encoding": "application/json",
5252 "schema": {
5353 "properties": {
5454 "labels": {
5555 "description": "The labels it carries now, in the order the repository defines them.",
5656 "items": {
5757 "ref": "dev.knotless.repo#label",
5858 "type": "ref"
5959 },
6060 "type": "array"
6161 }
6262 },
6363 "required": [
6464 "labels"
6565 ],
6666 "type": "object"
6767 }
6868 },
6969 "type": "procedure"
7070 }
7171 },
7272 "description": "Puts a label on a pull or an issue, or takes it off, as the account logged in to this appview's pages.",
7373 "id": "dev.knotless.labelItem",
7474 "lexicon": 1
7575}

Compare other versions