The Podcast Fellowship
foreign key to user table
foreign key to speaker table
if the topic is a series, this is the order within the series of the podcast
{student_id}
/2{student_id}
/3Request parameters
Responses
Body
Return id of student created
{student_id}
/2Path variables
Request parameters
{student_id}
/3Path variables
Request parameters
if referred by a friend, friend’s name
Need to join with the student_topic table to see if the student has saved the topic
Request parameters
number of results to return
Responses
Body
Need to join with the student_topic table to see if the student saved the series
Responses
Body
{speaker_id}
{speaker_id}
Path variables
Responses
Body
Request parameters
number of results to return
Responses
Body
{podcast_id}
Path variables
Responses
Body
Can specify a topic, speaker or if it is featured.
Need to join with the student_podcast table to show if the student has saved the podcast
Request parameters
can be a topic or series
Responses
Body
Can search by search term and/or topics, series, speakers
Request parameters
topic ids
series ids
speaker ids
Responses
Body
{student_id}
{student_id}
/podcasts{student_id}
/topics{student_id}
/speakers{student_id}
/topics{student_id}
/recent{student_id}
{student_id}
/complete_podcast{student_id}
/referafriend{student_id}
/save{student_id}
/save{student_id}
/save{student_id}
Path variables
Responses
Body
{student_id}
/podcastsPath variables
Request parameters
get limited results
Responses
Body
{student_id}
/topicsPath variables
Responses
Body
{student_id}
/speakersPath variables
Responses
Body
{student_id}
/topicsPath variables
Responses
Body
{student_id}
/recentNeed to join with the student_podcast table to know if the student saved the podcast
Path variables
Responses
Body
{student_id}
Path variables
Request body
upload file, save url
Responses
{student_id}
/complete_podcastThis function should record the podcast, rating and comments and invoke the payout process.
Path variables
Request body
Responses
{student_id}
{student_id}
Path variables
Responses
Body
If only student_id for parameter, get recent notes from the student. If both student_id and podcast_id then get recent notes from the student on that podcast.
Request parameters
Responses
Body
{student_id}
{student_id}
Path variables
Responses
should return the last 5 search terms from the student starting from most recent