GetPostStats
GET
header
X-API-Key<token>API key for protected endpoints, supplied in the X-API-Key header.
post_id*post_idLength
1 <= lengthrange.start?startrange.end?endResponse Body
200application/json
Success
type: unknown
{
"$ref": "#/components/schemas/analytics.v1.GetPostStatsResponse",
"$ref-value": {
"type": "object",
"properties": {
"post_id": {
"type": "string",
"examples": [
"Mn0bVc9xZ8"
],
"title": "post_id"
},
"total_views": {
"type": "string",
"examples": [
"1250"
],
"title": "total_views",
"format": "int64"
},
"unique_viewers": {
"type": "string",
"examples": [
"1250"
],
"title": "unique_viewers",
"format": "int64"
}
},
"title": "GetPostStatsResponse",
"additionalProperties": false
}
}default
curl -X GET 'https://api.rixl.com/analytics/v1/posts/Mn0bVc9xZ8/stats'Success
application/json
{
"$ref": "#/components/schemas/analytics.v1.GetPostStatsResponse",
"$ref-value": {
"type": "object",
"properties": {
"post_id": {
"type": "string",
"examples": [
"Mn0bVc9xZ8"
],
"title": "post_id"
},
"total_views": {
"type": "string",
"examples": [
"1250"
],
"title": "total_views",
"format": "int64"
},
"unique_viewers": {
"type": "string",
"examples": [
"1250"
],
"title": "unique_viewers",
"format": "int64"
}
},
"title": "GetPostStatsResponse",
"additionalProperties": false
}
}