Copies the repository, every branch and tag, into the account logged in to this appview's web pages, under the name its owner offered it by and with the same key, as `knotless accept` does: from then on it is there, and readers of the old one follow, with its pulls, issues and forks. Only the account it was offered to can. The appview writes with the session it keeps for that account.
Input
application/jsonrepo
stringat-uri
Required
The repository's dev.knotless.repo record, as dev.knotless.getRepo takes it.
Output
application/jsonErrors
NotFound
No such repository. InvalidRequest
It was offered to no one, or to another account, or the account has a repository by that name already. AuthenticationRequired
No account is logged in to the pages, or its session has ended. Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"description": "Copies the repository, every branch and tag, into the account logged in to this appview's web pages, under the name its owner offered it by and with the same key, as `knotless accept` does: from then on it is there, and readers of the old one follow, with its pulls, issues and forks. Only the account it was offered to can. The appview writes with the session it keeps for that account.",
"errors": [
{
"description": "No such repository.",
"name": "NotFound"
},
{
"description": "It was offered to no one, or to another account, or the account has a repository by that name already.",
"name": "InvalidRequest"
},
{
"description": "No account is logged in to the pages, or its session has ended.",
"name": "AuthenticationRequired"
}
],
"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"
}
},
"required": [
"repo"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"ref": "dev.knotless.defs#repoMade",
"type": "ref"
}
},
"type": "procedure"
}