Reports
HIVO API Key
HIVO User ID
Admin-only. Client ID to retrieve cached statistics for.
OK
Bad Request
Unauthorized
Forbidden
Not Found
Too Many Requests
GET /api/rest/v1/reports/aggregate-asset-stats HTTP/1.1
Host: app.hivo.com.au
X-Api-Key: YOUR_API_KEY
X-User-Id: YOUR_API_KEY
Accept: */*
{
"meta": {
"timestamp": 1,
"authentication": "text",
"links": {
"me": "https://example.com"
}
},
"links": {
"self": "https://example.com",
"thumbnail": {
"href": "https://example.com",
"meta": {
"version": "text",
"ANY_ADDITIONAL_PROPERTY": "anything"
}
},
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"data": {
"type": "aggregate-asset-stats",
"id": "text",
"attributes": {
"updatedAt": 1,
"entries": [
{
"type": "text",
"ext": "text",
"count": 1,
"size": 1,
"views": 1,
"dls": 1,
"originalCount": 1
}
]
}
}
}HIVO API Key
HIVO User ID
Inclusive report start date as a Unix timestamp.
Inclusive report end date as a Unix timestamp.
320-totalViewCountPossible values: OK
Bad Request
Unauthorized
Forbidden
Too Many Requests
Internal Server Error
GET /api/rest/v1/reports/asset-stats?filter[startTime]=1&filter[endTime]=1 HTTP/1.1
Host: app.hivo.com.au
X-Api-Key: YOUR_API_KEY
X-User-Id: YOUR_API_KEY
Accept: */*
{
"meta": {
"timestamp": 1,
"authentication": "text",
"links": {
"me": "https://example.com"
}
},
"links": {
"self": "https://example.com",
"first": "https://example.com",
"prev": "https://example.com",
"next": "https://example.com"
},
"data": [
{
"type": "asset-stats",
"id": "text",
"attributes": {
"name": "text",
"category": "image",
"createdAt": 1,
"downloadCount": 1,
"viewCount": 1,
"sharedViewCount": 1,
"sharedEmbeddedViewCount": 1,
"totalViewCount": 1
},
"links": {
"self": "https://example.com",
"thumbnail": {
"href": "https://example.com",
"meta": {
"version": "text",
"ANY_ADDITIONAL_PROPERTY": "anything"
}
},
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}
]
}HIVO API Key
HIVO User ID
Inclusive report start date as a Unix timestamp.
Inclusive report end date as a Unix timestamp.
320-totalViewCountPossible values: OK
Bad Request
Unauthorized
Forbidden
Too Many Requests
Internal Server Error
GET /api/rest/v1/reports/collection-stats?filter[startTime]=1&filter[endTime]=1 HTTP/1.1
Host: app.hivo.com.au
X-Api-Key: YOUR_API_KEY
X-User-Id: YOUR_API_KEY
Accept: */*
{
"meta": {
"timestamp": 1,
"authentication": "text",
"links": {
"me": "https://example.com"
}
},
"links": {
"self": "https://example.com",
"first": "https://example.com",
"prev": "https://example.com",
"next": "https://example.com"
},
"data": [
{
"type": "collection-stats",
"id": "text",
"attributes": {
"name": "text",
"createdAt": 1,
"viewCount": 1,
"sharedViewCount": 1,
"totalViewCount": 1
},
"links": {
"self": "https://example.com",
"thumbnail": {
"href": "https://example.com",
"meta": {
"version": "text",
"ANY_ADDITIONAL_PROPERTY": "anything"
}
},
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}
]
}HIVO API Key
HIVO User ID
Inclusive report start date as a Unix timestamp.
Inclusive report end date as a Unix timestamp.
320-pageViewCountPossible values: OK
Bad Request
Unauthorized
Forbidden
Too Many Requests
Internal Server Error
GET /api/rest/v1/reports/user-stats?filter[startTime]=1&filter[endTime]=1 HTTP/1.1
Host: app.hivo.com.au
X-Api-Key: YOUR_API_KEY
X-User-Id: YOUR_API_KEY
Accept: */*
{
"meta": {
"timestamp": 1,
"authentication": "text",
"links": {
"me": "https://example.com"
}
},
"links": {
"self": "https://example.com",
"first": "https://example.com",
"prev": "https://example.com",
"next": "https://example.com"
},
"data": [
{
"type": "user-stats",
"id": "text",
"attributes": {
"name": "text",
"jobTitle": "text",
"company": "text",
"groupIds": [
"text"
],
"lastActiveAt": 1,
"pageViewCount": 1,
"connectionCount": 1
},
"links": {
"self": "https://example.com",
"thumbnail": {
"href": "https://example.com",
"meta": {
"version": "text",
"ANY_ADDITIONAL_PROPERTY": "anything"
}
},
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}
]
}HIVO API Key
HIVO User ID
320Inclusive Unix-second cutoff. Must be in the past. Assets with an effective last-viewed time on or before this value are returned.
OK
Bad Request
Unauthorized
Forbidden
Too Many Requests
Internal Server Error
GET /api/rest/v1/reports/inactive-assets?filter[inactiveBefore]=1 HTTP/1.1
Host: app.hivo.com.au
X-Api-Key: YOUR_API_KEY
X-User-Id: YOUR_API_KEY
Accept: */*
{
"meta": {
"timestamp": 1,
"authentication": "text",
"links": {
"me": "https://example.com"
}
},
"links": {
"self": "https://example.com",
"first": "https://example.com",
"prev": "https://example.com",
"next": "https://example.com"
},
"data": [
{
"type": "inactive-assets",
"id": "text",
"attributes": {
"name": "text",
"viewedAt": 1,
"views": 1,
"createdAt": 1,
"lastModified": 1
},
"links": {
"self": "https://example.com",
"thumbnail": {
"href": "https://example.com",
"meta": {
"version": "text",
"ANY_ADDITIONAL_PROPERTY": "anything"
}
},
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}
]
}Last updated