caas
  • What are the configurations of the HLS video we deliver?
  • What is required in order to play the videos?
  • What if the HLS videos are not playing?
  • How to fix CORS issue?
  • How to test HLS streams?
  • Where can I get the API token?
  • How to retrieve metadata from my inventory?
  • How to retrieve genre list?
  • How to retrieve category list?
  • How to set up my AWS S3 bucket to receive the files?
Powered by GitBook
On this page

Was this helpful?

How to retrieve metadata from my inventory?

PreviousWhere can I get the API token?NextHow to retrieve genre list?

Last updated 7 months ago

Was this helpful?

To retrieve metadata, please use the following command:

Variables are month and year.

curl --location --request GET 'https://content.allrites.com/api/ritestream/metadata?type=json&month=july%202021&page=-1' \
--header 'api-token: your token'

To get the API token, refer to this page ""

By adding the month variable genre and category returned will be limited to the contents of that particular month.

curl --location --request GET 'https://content.allrites.com/api/ritestream/genres?month=January%202022' \
--header 'api-token: your token'
curl --location --request GET 'https://content.allrites.com/api/ritestream/categories?month=January%202022' \
--header 'api-token: your token'

You can use to test this.

Images in the JSON response include our crop info to give good size and ratio.

If you want to retrieve the entire image, please remove the crop info like this.

https://res.cloudinary.com/allrites/image/upload/cjnrkwwqzkpjcyyasdv6

Where can I get the API token?
reqbin
https://res.cloudinary.com/allrites/image/upload/q_auto:low/c_crop,h_768,w_537,x_5,y_0/c_scale,w_250/cjnrkwwqzkpjcyyasdv6