Search for events. Supports full-text search, filtering by repository, and filtering by location CIDs.
Parameters
Output
Encoding
application/jsonresults
array
Required
No description available.
Errors
InvalidRepository
SearchUnavailable
SearchError
Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"description": "Search for events. Supports full-text search, filtering by repository, and filtering by location CIDs.",
"errors": [
{
"name": "InvalidRepository"
},
{
"name": "SearchUnavailable"
},
{
"name": "SearchError"
}
],
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"results": {
"items": {
"ref": "#eventView",
"type": "ref"
},
"type": "array"
}
},
"required": [
"results"
],
"type": "object"
}
},
"parameters": {
"properties": {
"limit": {
"default": 10,
"description": "Maximum number of results to return.",
"maximum": 100,
"minimum": 1,
"type": "integer"
},
"location": {
"description": "Filter events by location CIDs. Can be specified multiple times.",
"items": {
"format": "cid",
"type": "string"
},
"type": "array"
},
"query": {
"description": "Full-text search query.",
"maxGraphemes": 150,
"maxLength": 150,
"type": "string"
},
"repository": {
"description": "Filter events by DID.",
"format": "did",
"type": "string"
}
},
"type": "params"
},
"type": "query"
}