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

Added /series/:id/episodes endpoint #41

Merged
merged 1 commit into from
Nov 1, 2017

Conversation

ozgunbal
Copy link
Contributor

@ozgunbal ozgunbal commented Nov 1, 2017

Implemented for #25

I created episode as a schema but if an episode should not contain an id, it can be changed. Also, episode may contain more information than just name. I couldn't decide it exactly. Season number, episode number etc. can be included.

@KenavR
Copy link
Member

KenavR commented Nov 1, 2017

The models aren't fleshed out, I will update #6 tomorrow and create a new issue to update the models.

Regarding the PR, it looks great, I just wasn't sure if we may need the Episode in other controller functions, but I we can just work with objects. I will merge it and if we need it in the future it would be a pretty fast fix.

@KenavR KenavR merged commit 109e20d into DevvitIO:master Nov 1, 2017
@ozgunbal ozgunbal deleted the episodes-endpoint branch November 2, 2017 09:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants