richard icon indicating copy to clipboard operation
richard copied to clipboard

query videos via api

Open willkg opened this issue 10 years ago • 3 comments

The API should have a way to query videos.

Part of me vaguely remembers that the API actually does have this. However, it could be that I'm remembering the old API or another project I work on. Regardless, if it can be done, I'm pretty sure it's not documented.

willkg avatar Apr 30 '14 17:04 willkg

If you mean a call to get information about a single video, we do have that.

/api/v2/video/123

We are using http://www.django-rest-framework.org/api-guide/generic-views#retrieveupdateapiview for the VideoRetrieveUpdateAPI.

It's documented here http://richard.readthedocs.org/en/latest/admin/api.html#videos

codersquid avatar Sep 28 '14 16:09 codersquid

Reopen if you mean something else.

codersquid avatar Sep 28 '14 16:09 codersquid

No, that's not what I meant. That's getting a video based on its id--not querying/searching videos.

willkg avatar Sep 29 '14 13:09 willkg