pub.chive.eprint.listDataLinks

lexicons.governance.chive.pub

Documentation

List Layers datasets linked to an eprint. Chive does not index pub.layers.eprint.dataLink records; it asks the Layers AppView, which is authoritative for them, and caches the answer briefly. Returns an empty list when Layers is unreachable, so an eprint page never depends on another service being up.

main query

List Layers datasets linked to an eprint. Chive does not index pub.layers.eprint.dataLink records; it asks the Layers AppView, which is authoritative for them, and caches the answer briefly. Returns an empty list when Layers is unreachable, so an eprint page never depends on another service being up.

Parameters

eprintUri string at-uri Required

AT-URI of the eprint whose data links to list

Output

Encodingapplication/json
dataLinks array Required

No description available.

source string Required

Where the answer came from, so a client can tell an empty list from an unavailable one.

Known values: layers, cache, unavailable
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
AT-URI of the eprint whose data links to list
View raw schema
{
  "description": "List Layers datasets linked to an eprint. Chive does not index pub.layers.eprint.dataLink records; it asks the Layers AppView, which is authoritative for them, and caches the answer briefly. Returns an empty list when Layers is unreachable, so an eprint page never depends on another service being up.",
  "output": {
    "encoding": "application/json",
    "schema": {
      "properties": {
        "dataLinks": {
          "items": {
            "ref": "#dataLinkView",
            "type": "ref"
          },
          "type": "array"
        },
        "source": {
          "description": "Where the answer came from, so a client can tell an empty list from an unavailable one.",
          "knownValues": [
            "layers",
            "cache",
            "unavailable"
          ],
          "type": "string"
        }
      },
      "required": [
        "dataLinks",
        "source"
      ],
      "type": "object"
    }
  },
  "parameters": {
    "properties": {
      "eprintUri": {
        "description": "AT-URI of the eprint whose data links to list",
        "format": "at-uri",
        "type": "string"
      }
    },
    "required": [
      "eprintUri"
    ],
    "type": "params"
  },
  "type": "query"
}
dataLinkView object

No description available.

Properties

catalogRef string at-uri Optional

The pub.layers.catalog.collection record for the dataset as a whole. A dataset need not have a corpus -- one made of judgments or expressions has none -- so this, not corpusRef, is what names the dataset a reader wants.

corpusRef string at-uri Optional

The pub.layers.corpus.corpus record, when the dataset is a corpus.

createdAt string datetime Optional

An RFC 3339 formatted timestamp.

dataKind string Required

Data kind slug, as Layers records it

maxLength: 128 bytes
dataKindUri string at-uri Optional

Knowledge graph node for the data kind, when Layers resolved one

description string Optional

No description available.

maxLength: 10000 bytes
experimentRefs array of stringat-uri Optional

pub.layers.judgment.experimentDef records the eprint produced or describes.

paperSection string Optional

Which part of the paper the data belongs to, such as 'Table 3'

maxLength: 256 bytes
uri string at-uri Required

AT-URI of the dataLink record in its author's repository

View raw schema
{
  "properties": {
    "catalogRef": {
      "description": "The pub.layers.catalog.collection record for the dataset as a whole. A dataset need not have a corpus -- one made of judgments or expressions has none -- so this, not corpusRef, is what names the dataset a reader wants.",
      "format": "at-uri",
      "type": "string"
    },
    "corpusRef": {
      "description": "The pub.layers.corpus.corpus record, when the dataset is a corpus.",
      "format": "at-uri",
      "type": "string"
    },
    "createdAt": {
      "format": "datetime",
      "type": "string"
    },
    "dataKind": {
      "description": "Data kind slug, as Layers records it",
      "maxLength": 128,
      "type": "string"
    },
    "dataKindUri": {
      "description": "Knowledge graph node for the data kind, when Layers resolved one",
      "format": "at-uri",
      "type": "string"
    },
    "description": {
      "maxLength": 10000,
      "type": "string"
    },
    "experimentRefs": {
      "description": "pub.layers.judgment.experimentDef records the eprint produced or describes.",
      "items": {
        "format": "at-uri",
        "type": "string"
      },
      "type": "array"
    },
    "paperSection": {
      "description": "Which part of the paper the data belongs to, such as 'Table 3'",
      "maxLength": 256,
      "type": "string"
    },
    "uri": {
      "description": "AT-URI of the dataLink record in its author's repository",
      "format": "at-uri",
      "type": "string"
    }
  },
  "required": [
    "uri",
    "dataKind"
  ],
  "type": "object"
}

Lexicon Garden

@