dkurok

What is returned by /api/v3/lego/sets/{set_num}/sets/:

Recommended Posts

Hello,

I'm struggling with the API-function /api/v3/lego/sets/{set_num}/sets/

The explanation for this function in the API-documentation / Swagger is:

"Get a list of all Inventory Sets in this Set."

But what are "Inventory Sets" for a given Set? Can someone give me an example set-number which returns a non-empty result? MAybe I understand by that...

Many thanks for help

 

Share this post


Link to post
Share on other sites

as per your API, they are both considered collections of Sets.  

What I do in that case, is loop through the collection and build a list of elements (part / color combos) that gets applied to the parent Set.

Share this post


Link to post
Share on other sites

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