ink.branchline.getSeeds

Hydrate seed views for a set of AT-URIs. Seeds are returned in the same order as the input URIs. Unknown URIs are silently omitted.

Repository @branchline.ink did:plc:brvu7akhdvsqcomb67pafw25 namespace authority
Details · query
Kindquery
Authoritybranchline.ink
Indexed
cid bafyreianj2ced2u3f7yslnd3juywsf6jnc37nxftj4xaxmvv3qgm3dlrsy

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "authorView": {
      "properties": {
        "did": {
          "format": "did",
          "type": "string"
        },
        "displayName": {
          "maxGraphemes": 64,
          "maxLength": 640,
          "type": "string"
        },
        "handle": {
          "format": "handle",
          "type": "string"
        }
      },
      "required": [
        "did",
        "handle"
      ],
      "type": "object"
    },
    "main": {
      "description": "Hydrate seed views for a set of AT-URIs. Seeds are returned in the same order as the input URIs. Unknown URIs are silently omitted.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "seeds": {
              "items": {
                "ref": "#seedView",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "seeds"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "uris": {
            "description": "AT-URIs of seeds to hydrate.",
            "items": {
              "format": "at-uri",
              "type": "string"
            },
            "maxLength": 25,
            "type": "array"
          }
        },
        "required": [
          "uris"
        ],
        "type": "params"
      },
      "type": "query"
    },
    "seedView": {
      "properties": {
        "cid": {
          "format": "cid",
          "type": "string"
        },
        "createdAt": {
          "format": "datetime",
          "type": "string"
        },
        "expiresAt": {
          "description": "Earliest expiresAt across the entire provenance chain (self + ancestors). Absent when no seed in the chain has an expiry.",
          "format": "datetime",
          "type": "string"
        },
        "grantedBy": {
          "description": "Immediate grantor (depth 1 only) — the author of this seed record. For a root seed this is also the chain's origin.",
          "ref": "#authorView",
          "type": "ref"
        },
        "grantee": {
          "ref": "#authorView",
          "type": "ref"
        },
        "uri": {
          "format": "at-uri",
          "type": "string"
        }
      },
      "required": [
        "uri",
        "cid",
        "grantee",
        "grantedBy",
        "createdAt"
      ],
      "type": "object"
    }
  },
  "id": "ink.branchline.getSeeds",
  "lexicon": 1
}