org.tangled.repo.getImportStatus

tangled.org

Documentation

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.

main query

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

repo string did Required

DID of the repository

Output

Encodingapplication/json
reason 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, failed

Errors

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.

Base URL for XRPC calls (e.g., https://api.bsky.social)
Parameters
DID of the repository
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"
}

Lexicon Garden

@