serviidb restful api
Posted: Thu Feb 16, 2012 1:53 pm
I am starting to work on the restful api. Let me know what you guys think. I have already gotten some feedback from Will.
will wrote:Yes I should send one request and get everything back in one go
At first lets just go for me sending the title that I want (ignore case but match ordering) with optional filters. Later we could expand it so that I can query for a list of services
e.g
1) "the simpsons" will return all feeds with "the simpsons" might give 4oD - The Simpsons and Hulu - The simpsons
2) "the simpsosn" plus filters e.g. region=GB will just give 4oD - The Simpsons
so the request for 2) would look like title="the simpsons", region="GB"
Ideally, I will be able to call /rest/langages and /rest/regions to get a list of the avialable ones which I can then present via a drop down box for users. Might be worth moving this to a thread on the serviio forum so that we can partially involve zip in doing the spec for the queries.