Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

need an API to get the list of season in series #74

Closed
jluc2808 opened this issue Sep 1, 2013 · 2 comments
Closed

need an API to get the list of season in series #74

jluc2808 opened this issue Sep 1, 2013 · 2 comments
Assignees
Labels
Milestone

Comments

@jluc2808
Copy link
Member

jluc2808 commented Sep 1, 2013

like /yamj3/api/video/episodes?series={}&season={}

could you add a new API which return the list of season in a selected serie
/yamj3/api/video/seasons?series={}

return is sorted by season (not seasonId)
return field:
seriesId, serie (title), SeasonId, Season (number), (season) title, artwork (season)

@ghost ghost assigned Omertron Sep 2, 2013
@jluc2808
Copy link
Member Author

jluc2808 commented Sep 2, 2013

i think we could get to result attempted if you implement seriesId=1 in the search field of :

/yamj3/api/index/video.json?type=season&sortby=season&sortdir=ASC&field=seriesId&search=1

now this command failed with
org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:948)

@jluc2808
Copy link
Member Author

jluc2808 commented Sep 3, 2013

/yamj3/api/index/video.json?type=season&sortby=season&sortdir=ASC&field=series_id&search=1&artwork=poster
make the right selection return the season list for that serie and allow to display with poster each season

very good indeed !!!

@jluc2808 jluc2808 closed this as completed Sep 3, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants