Media Grouping

Contents

Media Grouping

mediaTimeGroups API aggregates group of media files based on the time unit. Only the groups with a positive count will be returned. Most users may want to use an endTime that falls on a calendar boundary such as January 1st midnight (00:00:00Z).


POST /sdk/v1/mediaTimeGroups?mimeGroups=image&unit=month&endTime=2017-11-26T23:36:29.035Z
Host: Endpoint-URL
Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJS


{
  "mediaTimeGroups":[
    {
      "count":115,
      "minTime":"2017-11-01T00:00:00Z",
      "maxTime":"2017-11-30T23:59:59.999Z"
    },
    {
      "count":184,
      "minTime":"2017-10-01T00:00:00Z",
      "maxTime":"2017-10-31T23:59:59.999Z"
    },
    {
      "count":59,
      "minTime":"2017-09-01T00:00:00Z",
      "maxTime":"2017-09-30T23:59:59.999Z"
    }
  ]
}

Audio APIs

Audio APIs enable you to list the audio artists and albums. It also enables you to search audio files and sort them in ascending order by title.

APIs

Have question about this section?