shotvibe / shotvibe-web

ShotVibe REST API webservice
1 stars 0 forks source link

POST /albums/{aid}/view/ does not allow times earlier than the current last_access time #100

Closed Oblosys closed 6 years ago

Oblosys commented 10 years ago

Either this should be documented (and ideally reported back as the response to the incorrect query), or perhaps fixed, as it makes testing easier.

An easy way to test the behavior is with a curl call: (use appropriate authorization token, time stamp, and allbum number)

curl -X POST -H "Authorization: Token d161c5523fed23a75100b0ffb986ccaecfc86610" -H "Content-Type: application/json" -d '{"timestamp":"2010-12-24T18:24:53.792Z"}' https://api.shotvibe.com/albums/1073/view/