Netflix API Forums

I Need Help!

RSS Feed

series, season and program links

  1. in the api docs it says that series links should be returned like the following:

    <link href="http://api.netflix.com/catalog/titles/series/70023522"
    rel="http://schemas.netflix.com/catalog/titles.series" title="series"/>

    where the title is "series", however, I am getting them like this:

    <link href="http://api.netflix.com/catalog/titles/series/70023522"
    rel="http://schemas.netflix.com/catalog/titles.series" title="The Office"/>

    where the title is different for every disk. This seems to be a bug to me. I'm currently using the rel link to find the link, but it seems I should be able to use the title. This also happens for episodes and I assume programs (not sure of an example item that has programs)

    Message edited by Chris Drackett 3 years ago

  2. priya3 years ago

    Hi Chris,

    Thanks for pointing this out. This is a bug in our documentation. We will change that. For the links, which point to the titles, this element would contain the display name of the title, in this case "The Office". Using the "rel" is right. The "title" attribute conveys human-readable information about the link and in this context, we chose to fill this with the display name of the title.

  3. Chris Drackett3 years ago

    thanks, I guess now I'm confused why things like 'http://schemas.netflix.com/catalog/titles.programs' use something with a title like episodes. But as long as its safe to use rel (it's not going to change) I'll just change my code to use that.

  4. Michael Hart3 years ago

    rels are the way to go. BTW, we consider episodes as simply programs with a season parent, leaving open the possibility of programs without season parents (like a lot of Internet video). In hindsight, rels type the association instead of the target entity, so we probably should have named the rel title.episode.

[ Page 1 of 1 ]