Jump to content

MinIndexNumber help


iloveparks

Recommended Posts

iloveparks

Hi,

 

I'm trying to use /Shows/{Id}/Episodes to grab the first episode of every show. I'm passing the following parameters.

Season = 1

MinIndexNumber = 1

Limit = 1

 

However, on shows where I have a special episode in Season 1, the API returns the following:

1107856396_ScreenShot2022-05-16at8_17_22PM.png.edd76ad456468545c026b69a5314b465.png

 

Am I misunderstanding? Shouldn't it be returning IndexNumber 1?

It would also be nice if there was just a field "IndexNumber" to filter by IndexNumber, just like ParentIndexNumber.

 

Thanks!

 

Link to comment
Share on other sites

Hi, MinIndexNumber means greater or equal to what you're providing. I guess we'll have to add support for just sending IndexNumber

Link to comment
Share on other sites

iloveparks

Right, but as it stands, the logic is flawed? I am providing 1, and it is returning an item with IndexNumber as 0.

Link to comment
Share on other sites

I'll have to check but I think that endpoint might not support that param yet.

  • Like 1
Link to comment
Share on other sites

iloveparks

I appreciate it! 

I have a few other topics open here in the dev API forums, if you have a moment, can you pop into those as well? 

 

Really appreciate your time and efforts. 

  • Thanks 1
Link to comment
Share on other sites

  • 2 weeks later...

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...