For a viewer, list which of their own collections (private + public) currently contain a given subject URI. Each match includes the parent collection's name, rkey, and visibility. Used by the 'Add to collection' modal to show which boxes are already checked, and by the post-detail page to render a 'part of collection' pill (public collections only).
Parameters
Output
application/jsonTry It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"description": "For a viewer, list which of their own collections (private + public) currently contain a given subject URI. Each match includes the parent collection's name, rkey, and visibility. Used by the 'Add to collection' modal to show which boxes are already checked, and by the post-detail page to render a 'part of collection' pill (public collections only).",
"output": {
"encoding": "application/json"
},
"parameters": {
"properties": {
"subject": {
"description": "AT-URI of the post or article.",
"format": "at-uri",
"type": "string"
},
"viewer": {
"description": "DID of the requester (collections owner).",
"format": "did",
"type": "string"
}
},
"required": [
"viewer",
"subject"
],
"type": "params"
},
"target_collection": "app.zeens.collectionItem",
"type": "query"
}