community.lexicon.calendar.searchEvents
Search for events. Supports full-text search, filtering by repository, and filtering by location CIDs.
Details · query
| Kind | query |
|---|---|
| Authority | calendar.lexicon.community |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"eventView": {
"description": "An event record with RSVP counts and URL.",
"properties": {
"countGoing": {
"description": "Number of users who have RSVP'd as going.",
"type": "integer"
},
"countInterested": {
"description": "Number of users who have RSVP'd as interested.",
"type": "integer"
},
"countNotGoing": {
"description": "Number of users who have RSVP'd as not going.",
"type": "integer"
},
"url": {
"description": "The canonical web URL for this event.",
"format": "uri",
"type": "string"
}
},
"required": [
"countGoing",
"countInterested",
"countNotGoing",
"url"
],
"type": "object"
},
"main": {
"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"
}
},
"id": "community.lexicon.calendar.searchEvents",
"lexicon": 1
}