Get analysis of an Event.
GET/event/:guid/analysis
Get analysis of the Metadata of this Event, is generated every two hours after.
Request
Path Parameters
guid uuidrequired
The guid of the Event.
Responses
- 200
- 404
Statistics found.
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
metadata object[]required
The metadata specification used in this analysis.
values objectrequired
An object containing a map from Metadata id to a map from values to the amount of times this value occurs.
locations
object[]
required
latitude floatrequired
The latitude.
longitude floatrequired
The longitude.
count integerrequired
The amount of times this location has occurred.
generated stringrequired
The timestamp when this was generated.
{
"metadata": [
{
"guid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"shop_description": "string",
"type": "integer",
"extra": "string",
"copy_on_swap": true,
"auto_fill_facebook": "none",
"translate_name": "string",
"translatable": true
}
],
"values": {},
"locations": [
{
"latitude": 0,
"longitude": 0,
"count": 0
}
],
"generated": "string"
}
Event not found, or the analysis is not yet generated.
- application/json
- Schema
- Example (from schema)
Schema
error_code string
The general error code.
error_description stringrequired
The exact reason of failure.
{
"error_code": "string",
"error_description": "string"
}
Loading...