app.didpic.notification.recordEvents
Submit a batch of analytics events from the mobile app.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | notification.didpic.app |
| Indexed |
Checks
Validunlimited-stringdefs.main.input.schema.properties.events.items.properties.appVersionNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.input.schema.properties.events.items.properties.eventNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.input.schema.properties.events.items.properties.platformNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Submit a batch of analytics events from the mobile app.",
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"events": {
"items": {
"properties": {
"appVersion": {
"type": "string"
},
"did": {
"format": "did",
"type": "string"
},
"event": {
"type": "string"
},
"platform": {
"type": "string"
},
"props": {
"type": "unknown"
},
"ts": {
"format": "datetime",
"type": "string"
}
},
"required": [
"event"
],
"type": "object"
},
"maxLength": 20,
"type": "array"
}
},
"required": [
"events"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"inserted": {
"type": "integer"
}
},
"required": [
"inserted"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "app.didpic.notification.recordEvents",
"lexicon": 1
}