Deprecated, and no longer served. Added this appview's DID to the private repository's appviews, or takes it out, in the repository record its owner keeps in its space, with the session the appview keeps for the owner logged in to its pages. Let, the appview syncs the repository's space into an index of its own, apart from its public one, with the session of a member who reads it there, and shows it from that only to members proven so. Taken back, it forgets that index at once. A public repository every appview indexes. Requires the session cookie the pages' login sets.
Input
application/jsonindexed
boolean
Required
Whether this appview may keep an index of it.
repo
stringat-uri
Required
The repository's dev.knotless.repo record, as dev.knotless.getRepo takes it.
Output
application/jsonindexed
boolean
Required
Whether this appview may now keep an index of it.
Errors
NotFound
No such repository the account logged in may read. InvalidRequest
The repository is public, and every appview indexes it. Forbidden
The account logged in is a member of the repository, not its owner. 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": "Deprecated, and no longer served. Added this appview's DID to the private repository's appviews, or takes it out, in the repository record its owner keeps in its space, with the session the appview keeps for the owner logged in to its pages. Let, the appview syncs the repository's space into an index of its own, apart from its public one, with the session of a member who reads it there, and shows it from that only to members proven so. Taken back, it forgets that index at once. A public repository every appview indexes. Requires the session cookie the pages' login sets.",
"errors": [
{
"description": "No such repository the account logged in may read.",
"name": "NotFound"
},
{
"description": "The repository is public, and every appview indexes it.",
"name": "InvalidRequest"
},
{
"description": "The account logged in is a member of the repository, not its owner.",
"name": "Forbidden"
},
{
"description": "No account is logged in to the pages, or its session has ended.",
"name": "AuthenticationRequired"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"indexed": {
"description": "Whether this appview may keep an index of it.",
"type": "boolean"
},
"repo": {
"description": "The repository's dev.knotless.repo record, as dev.knotless.getRepo takes it.",
"format": "at-uri",
"type": "string"
}
},
"required": [
"repo",
"indexed"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"indexed": {
"description": "Whether this appview may now keep an index of it.",
"type": "boolean"
}
},
"required": [
"indexed"
],
"type": "object"
}
},
"type": "procedure"
}