blue.microcosm.links.getManyToMany
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"item": {
"properties": {
"linkRecord": {
"description": "reference to the link record itself",
"ref": "#linkRecord",
"type": "ref"
},
"otherSubject": {
"description": "the secondary subject from the link record",
"type": "string"
}
},
"required": [
"linkRecord",
"otherSubject"
],
"type": "object"
},
"linkRecord": {
"description": "A record identifier consisting of a DID, collection, and record key",
"properties": {
"collection": {
"description": "the collection of the linking record",
"format": "nsid",
"type": "string"
},
"did": {
"description": "the DID of the linking record's repository",
"format": "did",
"type": "string"
},
"rkey": {
"format": "record-key",
"type": "string"
}
},
"required": [
"did",
"collection",
"rkey"
],
"type": "object"
},
"main": {
"description": "Get records that link out to both a primary and secondary subject",
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"cursor": {
"type": "string"
},
"items": {
"items": {
"ref": "#item",
"type": "ref"
},
"type": "array"
}
},
"required": [
"items"
],
"type": "object"
}
},
"parameters": {
"properties": {
"limit": {
"default": 16,
"description": "number of results to return",
"maximum": 100,
"minimum": 1,
"type": "integer"
},
"linkDid": {
"description": "filter linking records from specific users",
"items": {
"format": "did",
"type": "string"
},
"type": "array"
},
"otherSubject": {
"description": "filter secondary links to specific subjects",
"items": {
"type": "string"
},
"type": "array"
},
"pathToOther": {
"description": "path to the secondary link in the many-to-many record (e.g., 'otherThing.uri')",
"type": "string"
},
"source": {
"description": "collection and path specification for the primary link (e.g., 'app.bsky.feed.like:subject.uri')",
"type": "string"
},
"subject": {
"description": "the primary target being linked to (at-uri, did, or uri)",
"format": "uri",
"type": "string"
}
},
"required": [
"subject",
"source",
"pathToOther"
],
"type": "params"
},
"type": "query"
}
},
"id": "blue.microcosm.links.getManyToMany",
"lexicon": 1
}
Metadata
- DID
-
did:plc:lulmyldiq4sb2ikags5sfb25 - CID
-
bafyreieyymgiq2zxrxfjcvbx7mmuil7owcmaaldat2clqqbpw4tbgrxtsq - Indexed At
- 2026-07-26 20:11 UTC
- AT-URI
-
at://did:plc:lulmyldiq4sb2ikags5sfb25/com.atproto.lexicon.schema/blue.microcosm.links.getManyToMany
Similar Lexicons
Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
count many-to-many relationships with secondary link paths
-
a list of records linking to any record, identity, or uri
-
a list of distinct dids with a specific records linking to a target at a specified path
-
count records that link to another record