pub.chive.import.get

Get an imported eprint by source and external ID

Repository @lexicons.governance.chive.pub did:plc:egjghlwgts2hlcer2txilxeh not from the namespace authority
Details · query
Kindquery
Authorityimport.chive.pub
Indexed
cid bafyreibutiisi57nshrmbgwcuz3h63aejjb4xat4ezxce3waxgxa4x2rs4

Checks

Valid
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "externalAuthor": {
      "description": "An author from an external source",
      "properties": {
        "affiliation": {
          "description": "Institutional affiliation",
          "type": "string"
        },
        "email": {
          "description": "Email address",
          "type": "string"
        },
        "name": {
          "description": "Author name",
          "type": "string"
        },
        "orcid": {
          "description": "ORCID identifier",
          "type": "string"
        }
      },
      "required": [
        "name"
      ],
      "type": "object"
    },
    "importedEprint": {
      "description": "An eprint imported from an external source",
      "properties": {
        "abstract": {
          "description": "Abstract text",
          "type": "string"
        },
        "authors": {
          "description": "Author list",
          "items": {
            "ref": "#externalAuthor",
            "type": "ref"
          },
          "type": "array"
        },
        "canonicalUri": {
          "description": "AT-URI of the canonical record if claimed",
          "format": "at-uri",
          "type": "string"
        },
        "categories": {
          "description": "Subject categories",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "claimStatus": {
          "description": "Current claim status",
          "knownValues": [
            "unclaimed",
            "pending",
            "claimed"
          ],
          "type": "string"
        },
        "claimedAt": {
          "description": "When the eprint was claimed",
          "format": "datetime",
          "type": "string"
        },
        "claimedByDid": {
          "description": "DID of the user who claimed this eprint",
          "format": "did",
          "type": "string"
        },
        "doi": {
          "description": "DOI if assigned",
          "type": "string"
        },
        "externalId": {
          "description": "Source-specific identifier",
          "type": "string"
        },
        "id": {
          "description": "Internal import ID",
          "type": "integer"
        },
        "importedAt": {
          "description": "When the eprint was imported",
          "format": "datetime",
          "type": "string"
        },
        "importedByPlugin": {
          "description": "Plugin that imported this eprint",
          "type": "string"
        },
        "lastSyncedAt": {
          "description": "When the eprint was last synced",
          "format": "datetime",
          "type": "string"
        },
        "pdfUrl": {
          "description": "URL to PDF",
          "format": "uri",
          "type": "string"
        },
        "publicationDate": {
          "description": "Publication date",
          "format": "datetime",
          "type": "string"
        },
        "source": {
          "description": "External source identifier",
          "type": "string"
        },
        "syncStatus": {
          "description": "Current sync status",
          "knownValues": [
            "active",
            "stale",
            "unavailable"
          ],
          "type": "string"
        },
        "title": {
          "description": "Eprint title",
          "type": "string"
        },
        "url": {
          "description": "URL to the eprint on the external source",
          "format": "uri",
          "type": "string"
        }
      },
      "required": [
        "id",
        "source",
        "externalId",
        "url",
        "title",
        "authors",
        "importedByPlugin",
        "importedAt",
        "syncStatus",
        "claimStatus"
      ],
      "type": "object"
    },
    "main": {
      "description": "Get an imported eprint by source and external ID",
      "errors": [
        {
          "description": "The imported eprint was not found",
          "name": "NotFound"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "ref": "#importedEprint",
          "type": "ref"
        }
      },
      "parameters": {
        "properties": {
          "externalId": {
            "description": "Source-specific identifier for the eprint",
            "minLength": 1,
            "type": "string"
          },
          "source": {
            "description": "External source identifier (e.g., arxiv, biorxiv, semanticscholar)",
            "maxLength": 50,
            "minLength": 2,
            "type": "string"
          }
        },
        "required": [
          "source",
          "externalId"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "pub.chive.import.get",
  "lexicon": 1,
  "revision": 1
}