community.lexicon.calendar.getEvent
Get a single event by repository and record key.
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 URL for this event on Smoke Signal.",
"format": "uri",
"type": "string"
}
},
"required": [
"countGoing",
"countInterested",
"countNotGoing",
"url"
],
"type": "object"
},
"main": {
"description": "Get a single event by repository and record key.",
"errors": [
{
"name": "NotFound"
}
],
"output": {
"encoding": "application/json",
"schema": {
"ref": "#eventView",
"type": "ref"
}
},
"parameters": {
"properties": {
"recordKey": {
"description": "The record key (rkey) of the event.",
"maxGraphemes": 150,
"maxLength": 150,
"type": "string"
},
"repository": {
"description": "The DID of the repository containing the event.",
"format": "did",
"type": "string"
}
},
"required": [
"repository",
"recordKey"
],
"type": "params"
},
"type": "query"
}
},
"id": "community.lexicon.calendar.getEvent",
"lexicon": 1
}