Nurama Developers
AccessActivity

Top-N assets in a project by access count

Returns `(assetId, count)` pairs ordered by total count of the requested `eventType` in the range. Only ids and counts are returned; fetch names and thumbnails through the asset endpoints. Requires `canGetAccessActivity`.

GET
/projects/{projectId}/access-activity/top-assets

Returns (assetId, count) pairs ordered by total count of the requested eventType in the range. Only ids and counts are returned; fetch names and thumbnails through the asset endpoints. Requires canGetAccessActivity.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

projectId*string
Formatuuid

Query Parameters

range?string
Default"30d"

Value in

  • "7d"
  • "30d"
  • "90d"
eventType?string
Default"play_started"

Value in

  • "play_started"
  • "play_completed"
  • "download"
  • "embed_resolved"
limit?integer
Range1 <= value <= 50
Default10

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/projects/497f6eca-6276-4993-bfeb-53cbbbba6f08/access-activity/top-assets"
{  "range": "string",  "from": "string",  "to": "string",  "eventType": "string",  "results": [    {      "assetId": "9179b887-04ef-4ce5-ab3a-b5bbd39ea3c8",      "count": 0    }  ]}