full diff

dev.knotless.assignItem

From
bafyreigwfpflovwq6f2texf4m245t44w5viozhh66435daexr44crozb5i indexed 2026-11-03 04:09 UTC View this version
To
bafyreiblcjmzodpbkvr46bwicknm6zwptz3ida26lr7zdz7cf4e7vnkiam indexed 2026-11-04 13:31 UTC View this version

Compatibility

backward compatible No changes detected.

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
5 "description": "As `knotless assign`, `unassign`, `ask-review` and `unask-review` do: the repository's owner and collaborators rewrite their dev.knotless.assignment record about it, and a pull's author asks for reviews in the pull itself. A pull's author stops asking only those it asked, and a maintainer only those maintainers asked. Requires the session cookie the pages' login sets.",
5 "description": "As `knotless pull assign`, `unassign`, `ask-review` and `unask-review` do: the repository's owner and collaborators rewrite their dev.knotless.assignment record about it, and a pull's author asks for reviews in the pull itself. A pull's author stops asking only those it asked, and a maintainer only those maintainers asked. 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 "did": {
2121 "description": "The account assigned, or asked to review.",
2222 "format": "did",
2323 "type": "string"
2424 },
2525 "removed": {
2626 "default": false,
2727 "description": "True to take the account off it, or stop asking, rather than assign or ask.",
2828 "type": "boolean"
2929 },
3030 "repo": {
3131 "description": "The repository's dev.knotless.repo record, as dev.knotless.getRepo takes it.",
3232 "format": "at-uri",
3333 "type": "string"
3434 },
3535 "role": {
3636 "default": "assignee",
3737 "description": "`assignee` to assign it, or `reviewer` to ask for a review of a pull.",
3838 "knownValues": [
3939 "assignee",
4040 "reviewer"
4141 ],
4242 "maxLength": 64,
4343 "type": "string"
4444 },
4545 "subject": {
4646 "description": "The dev.knotless.pull or dev.knotless.issue.",
4747 "format": "at-uri",
4848 "type": "string"
4949 }
5050 },
5151 "required": [
5252 "repo",
5353 "subject",
5454 "did"
5555 ],
5656 "type": "object"
5757 }
5858 },
5959 "output": {
6060 "encoding": "application/json",
6161 "schema": {
6262 "properties": {
6363 "assignees": {
6464 "description": "Those it is assigned to now.",
6565 "items": {
6666 "ref": "dev.knotless.defs#actorView",
6767 "type": "ref"
6868 },
6969 "type": "array"
7070 },
7171 "reviewers": {
7272 "description": "For a pull, those asked to review it now; for an issue, none.",
7373 "items": {
7474 "ref": "dev.knotless.defs#actorView",
7575 "type": "ref"
7676 },
7777 "type": "array"
7878 }
7979 },
8080 "required": [
8181 "assignees",
8282 "reviewers"
8383 ],
8484 "type": "object"
8585 }
8686 },
8787 "type": "procedure"
8888 }
8989 },
9090 "description": "Assigns a pull or an issue to an account, or asks it to review a pull, or no longer, as the account logged in to this appview's pages.",
9191 "id": "dev.knotless.assignItem",
9292 "lexicon": 1
9393}

Compare other versions