How to retrieve metadata from my inventory?
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'
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 reqbin 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
Last updated
Was this helpful?