dev.knotless.assignItem

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.

Details · procedure
Kindprocedure
Authorityknotless.dev
Indexed

Showing version bafyreigwfpflovwq6f2texf4m245t44w5viozhh66435daexr44crozb5i. Show the latest

Procedure

procedure · POST

Input

application/json

did

requiredstring · did

The account assigned, or asked to review.

removed

boolean

True to take the account off it, or stop asking, rather than assign or ask.

  • default: false

repo

requiredstring · at-uri

The repository's dev.knotless.repo record, as dev.knotless.getRepo takes it.

role

string

`assignee` to assign it, or `reviewer` to ask for a review of a pull.

  • maxLength: 64
  • default: "assignee"
  • knownValues: assignee | reviewer

subject

requiredstring · at-uri

The dev.knotless.pull or dev.knotless.issue.

Output

application/json

assignees

requiredarray

Those it is assigned to now.

itemsref

reviewers

requiredarray

For a pull, those asked to review it now; for an issue, none.

itemsref

Errors

NotFound

No such repository.

AuthenticationRequired

No account is logged in to the pages, or its session has ended.

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • Whom one of a repository's maintainers assigns a pull or an issue to, and asks to review a pull.

  • Changes what a pull, an issue or a comment says, as its author, logged in to this appview's pages.

  • Puts a label on a pull or an issue, or takes it off, as the account logged in to this appview's pages.

  • Dismisses a reviewer's standing review of a pull, as the account logged in to this appview's pages.

  • Reacts to a pull, an issue or a comment as the account logged in to this appview's pages.