Search collections by query string
Parameters
Output
Encoding
application/jsoncollections
array
Required
Search results
cursor
string
Optional
Pagination cursor for next page
hasMore
boolean
Required
Whether more results exist
total
integer
Required
Total count of matching collections
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": [
"collections",
"hasMore",
"total"
],
"properties": {
"total": {
"type": "integer",
"description": "Total count of matching collections"
},
"cursor": {
"type": "string",
"description": "Pagination cursor for next page"
},
"hasMore": {
"type": "boolean",
"description": "Whether more results exist"
},
"collections": {
"type": "array",
"items": {
"ref": "pub.chive.collection.defs#collectionView",
"type": "ref"
},
"description": "Search results"
}
}
},
"encoding": "application/json"
},
"parameters": {
"type": "params",
"required": [
"query"
],
"properties": {
"limit": {
"type": "integer",
"default": 20,
"maximum": 100,
"minimum": 1,
"description": "Maximum results to return"
},
"query": {
"type": "string",
"minLength": 1,
"description": "Search query"
},
"cursor": {
"type": "string",
"description": "Pagination cursor"
}
}
},
"description": "Search collections by query string"
}