full diff

dev.knotless.setItemState

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

Compatibility

breaking 1 breaking change, 0 non-breaking changes.

Breaking changes (1)
  • ConstraintTightened ConstraintTightened { vertex_id: "dev.knotless.setItemState:input.state", sort: "knownValues", old_value: "[\"open\",\"closed\"]", new_value: "[\"open\",\"closed\",\"resolved\"]" }

Migration guidance

Constraint changes

  • ConstraintTightened ConstraintTightened { vertex_id: "dev.knotless.setItemState:input.state", sort: "knownValues", old_value: "[\"open\",\"closed\"]", new_value: "[\"open\",\"closed\",\"resolved\"]" }

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` and `knotless reopen` do. It counts if that account opened the pull or issue, 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": {
26 "description": "What it is to be: `closed`, or `open` again. Merging a pull is another thing.",
26 "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",
29 "closed"
29 "closed",
30 "resolved"
3031 ],
3132 "maxLength": 64,
3233 "type": "string"
3334 },
3435 "subject": {
35 "description": "The dev.knotless.pull or dev.knotless.issue.",
36 "description": "The dev.knotless.pull or dev.knotless.issue; or the dev.knotless.comment starting a thread on a pull's lines.",
3637 "format": "at-uri",
3738 "type": "string"
3839 }
3940 },
4041 "required": [
4142 "repo",
4243 "subject",
4344 "state"
4445 ],
4546 "type": "object"
4647 }
4748 },
4849 "output": {
4950 "encoding": "application/json",
5051 "schema": {
5152 "properties": {
5253 "uri": {
5354 "description": "The dev.knotless.state record written.",
5455 "format": "at-uri",
5556 "type": "string"
5657 }
5758 },
5859 "required": [
5960 "uri"
6061 ],
6162 "type": "object"
6263 }
6364 },
6465 "type": "procedure"
6566 }
6667 },
67 "description": "Closes or reopens a pull or an issue, as the account logged in to this appview's pages.",
68 "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.",
6869 "id": "dev.knotless.setItemState",
6970 "lexicon": 1
7071}

Compare other versions