full diff

dev.knotless.setItemState

From
bafyreieogipe7jiqoz73tbxv6fcxwgldyxj4a6dnmpgvrqm62r5ufnyl6y indexed 2026-10-29 06:54 UTC View this version
To
bafyreibmlebgfp3tus43dceu4mqdjnjicrmflz53t332mhne3pgcl7ssy4 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": "Writes a dev.knotless.state record in the account logged in to this appview's web pages, as `knotless close`, `reopen`, `resolve` and `unresolve` do. It counts if that account opened the pull or issue (or the thread), or owns or collaborates on the repository. Requires the session cookie the pages' login sets.",
5 "description": "Writes a dev.knotless.state record in the account logged in to this appview's web pages, as `knotless pull close`, `reopen`, `resolve` and `unresolve` do. It counts if that account opened the pull or issue (or the thread), or owns or collaborates on the repository. 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 "repo": {
2121 "description": "The repository's dev.knotless.repo record, as dev.knotless.getRepo takes it.",
2222 "format": "at-uri",
2323 "type": "string"
2424 },
2525 "state": {
2626 "description": "What it is to be: `closed`, or `open` again; for a thread, `resolved`, or `open` again. Merging a pull is another thing.",
2727 "knownValues": [
2828 "open",
2929 "closed",
3030 "resolved"
3131 ],
3232 "maxLength": 64,
3333 "type": "string"
3434 },
3535 "subject": {
3636 "description": "The dev.knotless.pull or dev.knotless.issue; or the dev.knotless.comment starting a thread on a pull's lines.",
3737 "format": "at-uri",
3838 "type": "string"
3939 }
4040 },
4141 "required": [
4242 "repo",
4343 "subject",
4444 "state"
4545 ],
4646 "type": "object"
4747 }
4848 },
4949 "output": {
5050 "encoding": "application/json",
5151 "schema": {
5252 "properties": {
5353 "uri": {
5454 "description": "The dev.knotless.state record written.",
5555 "format": "at-uri",
5656 "type": "string"
5757 }
5858 },
5959 "required": [
6060 "uri"
6161 ],
6262 "type": "object"
6363 }
6464 },
6565 "type": "procedure"
6666 }
6767 },
6868 "description": "Closes or reopens a pull or an issue, or resolves a thread on a pull's lines or opens it again, as the account logged in to this appview's pages.",
6969 "id": "dev.knotless.setItemState",
7070 "lexicon": 1
7171}

Compare other versions