dev.knotless.transferRepo

Names, in the repository's dev.knotless.repo record, the account and name it is offered to, as `knotless repo transfer` does, or with no `to` takes the offer back. It moves when that account takes it up (dev.knotless.acceptTransfer). A private repository cannot move. Only its owner, logged in to this appview's web pages, can: the appview writes with the session it keeps for that account, which the pages' session cookie names.

Details · procedure
Kindprocedure
Authorityknotless.dev
Indexed

Procedure

procedure · POST

Input

application/json

name

string

The name it would have there: its own when absent.

  • maxLength: 100

repo

requiredstring · at-uri

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

to

string · at-identifier

The account to offer it to, by handle or DID. Absent, the offer is withdrawn.

Output

application/json

Where it is offered now; absent once withdrawn.

Errors

NotFound

No such repository.

InvalidRequest

The account is the owner's own, there is no such account, or the repository is private.

AuthenticationRequired

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

Forbidden

The account logged in is not the repository's owner.

Similar lexicons

semantic match

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