Jump to content

MinIndexNumber help


Recommended Posts

iloveparks
Posted

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!

 

Posted

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

iloveparks
Posted

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

Posted

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

  • Like 1
iloveparks
Posted

Ok, thanks!

iloveparks
Posted

Yeah, you are right, that does not seem to do anything on that endpoint. Sadness.

Posted

We can look at supporting that.

iloveparks
Posted

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
  • 2 weeks later...
Posted

Yes certainly.

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