Find the CONTAINS edge between a collection and an item
Parameters
Output
Encoding
application/jsoncosmikCardUri
string
Optional
AT-URI of the Cosmik card for this item
cosmikItemUrl
string
Optional
URL key in cosmikItems metadata
cosmikLinkUri
string
Optional
AT-URI of the Cosmik collection link for this item
edgeUri
string
Optional
AT-URI of the CONTAINS edge
found
boolean
Required
Whether the edge was found
parentCollectionUri
string
Optional
AT-URI of the parent collection (for walking up)
Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"description": "Find the CONTAINS edge between a collection and an item",
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"cosmikCardUri": {
"description": "AT-URI of the Cosmik card for this item",
"type": "string"
},
"cosmikItemUrl": {
"description": "URL key in cosmikItems metadata",
"type": "string"
},
"cosmikLinkUri": {
"description": "AT-URI of the Cosmik collection link for this item",
"type": "string"
},
"edgeUri": {
"description": "AT-URI of the CONTAINS edge",
"type": "string"
},
"found": {
"description": "Whether the edge was found",
"type": "boolean"
},
"parentCollectionUri": {
"description": "AT-URI of the parent collection (for walking up)",
"type": "string"
}
},
"required": [
"found"
],
"type": "object"
}
},
"parameters": {
"properties": {
"collectionUri": {
"description": "AT-URI of the collection",
"type": "string"
},
"itemUri": {
"description": "AT-URI of the item to find",
"type": "string"
}
},
"required": [
"collectionUri",
"itemUri"
],
"type": "params"
},
"type": "query"
}