Takes the account out of the collaborators of the repository's dev.knotless.repo record, as `knotless unshare` does, and for a private repository out of its readers. 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.
Input
application/jsonrepo
stringat-uri
Required
The repository's dev.knotless.repo record, as dev.knotless.getRepo takes it.
with
stringat-identifier
Required
The account, by handle or DID.
Output
application/jsoncollaborators
array
Required
The accounts that may push to it now.
Errors
NotFound
No such repository. InvalidRequest
There is no such account, or the repository is public and was not shared with it for writing. 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. Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"description": "Takes the account out of the collaborators of the repository's dev.knotless.repo record, as `knotless unshare` does, and for a private repository out of its readers. 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.",
"errors": [
{
"description": "No such repository.",
"name": "NotFound"
},
{
"description": "There is no such account, or the repository is public and was not shared with it for writing.",
"name": "InvalidRequest"
},
{
"description": "No account is logged in to the pages, or its session has ended.",
"name": "AuthenticationRequired"
},
{
"description": "The account logged in is not the repository's owner.",
"name": "Forbidden"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"repo": {
"description": "The repository's dev.knotless.repo record, as dev.knotless.getRepo takes it.",
"format": "at-uri",
"type": "string"
},
"with": {
"description": "The account, by handle or DID.",
"format": "at-identifier",
"type": "string"
}
},
"required": [
"repo",
"with"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"collaborators": {
"description": "The accounts that may push to it now.",
"items": {
"ref": "dev.knotless.defs#actorView",
"type": "ref"
},
"type": "array"
}
},
"required": [
"collaborators"
],
"type": "object"
}
},
"type": "procedure"
}