Jump to content

Recommended Posts

Posted

There some minor api changes today. Scott, fyi, you're probably unaffected, but please read anyway because there's more Person info available now.

 

- The itemlist url has been renamed to items

- To get a person image, the query string param has changed from personName to just person

 

- To retrieve a single Person, Year, Genre, or Studio, the separate url's are now gone and you can get them through the normal item url.

 

The params match the image handler. You always have to supply userId.

 

For example:

 

get item: /item?userid=xxx&id=xxx

get person: /item?userid=xxx&person=xxx

get studio: /item?userid=xxx&studio=xxx

get year: /item?userid=xxx&year=xxx

get genre: /item?userid=xxx&genre=xxx

 

The return object for all of these is now the familiar DtoBaseItem, and if getting a Person, it will have the Overview which contains their bio. So Scott, for example usage, if you're displaying all items in the library with matt damon, perhaps to the left you could have his image along with Overview.

Redshirt
Posted

Oooh. I've been waiting for person info at the api level. Thank you Luke.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...