How far the knot got importing a repository from its source. Only the repository owner and knot admins see the real reason; everyone else gets a generic one.
Parameters
Output
Encoding
application/jsonreason
string
Optional
Why a partial or failed import ended that way
status
string
Optional
Where the import from the source is. Omitted when the repository wasn't created from a source.
Known values:
fetching, present, partial, failedErrors
RepoNotFound
Repo is not registered on this knot InvalidRequest
Invalid request parameters Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"description": "How far the knot got importing a repository from its source. Only the repository owner and knot admins see the real reason; everyone else gets a generic one.",
"errors": [
{
"description": "Repo is not registered on this knot",
"name": "RepoNotFound"
},
{
"description": "Invalid request parameters",
"name": "InvalidRequest"
}
],
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"reason": {
"description": "Why a partial or failed import ended that way",
"type": "string"
},
"status": {
"description": "Where the import from the source is. Omitted when the repository wasn't created from a source.",
"knownValues": [
"fetching",
"present",
"partial",
"failed"
],
"type": "string"
}
},
"type": "object"
}
},
"parameters": {
"properties": {
"repo": {
"description": "DID of the repository",
"format": "did",
"type": "string"
}
},
"required": [
"repo"
],
"type": "params"
},
"type": "query"
}