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
{
"type": "query",
"output": {
"schema": {
"type": "object",
"required": [
"found"
],
"properties": {
"found": {
"type": "boolean",
"description": "Whether the edge was found"
},
"edgeUri": {
"type": "string",
"description": "AT-URI of the CONTAINS edge"
},
"cosmikCardUri": {
"type": "string",
"description": "AT-URI of the Cosmik card for this item"
},
"cosmikItemUrl": {
"type": "string",
"description": "URL key in cosmikItems metadata"
},
"cosmikLinkUri": {
"type": "string",
"description": "AT-URI of the Cosmik collection link for this item"
},
"parentCollectionUri": {
"type": "string",
"description": "AT-URI of the parent collection (for walking up)"
}
}
},
"encoding": "application/json"
},
"parameters": {
"type": "params",
"required": [
"collectionUri",
"itemUri"
],
"properties": {
"itemUri": {
"type": "string",
"description": "AT-URI of the item to find"
},
"collectionUri": {
"type": "string",
"description": "AT-URI of the collection"
}
}
},
"description": "Find the CONTAINS edge between a collection and an item"
}