org.tangled.repo.getImportStatus

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.

Repository @tangled.org did:plc:wshs7t2adsemcrrd4snkeqli namespace authority
Details · query
Kindquery
Authorityrepo.tangled.org
Indexed
cid bafyreibpcrggycofwlat4lvkzhslap2o5qo3tpuxjprlfyv4mjklhz7a6a

Checks

Valid
  • unlimited-string defs.main.output.schema.properties.reasonNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.main.output.schema.properties.statusNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "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"
    }
  },
  "id": "org.tangled.repo.getImportStatus",
  "lexicon": 1
}