Forum Discussion

a_person's avatar
a_person
New Contributor
5 years ago

Central API System Inventory Limit?

Hey

 

Currently working with API without any real issues using python, however;

 

when posting a new inventory report and passing a list of 349 hosts , the result returns only 50.

adjusted by various amount but always 50 unless , the length of the list is under 50 host id's

 

Is this a limit of the API?

 

Thanks

 

 

 

  • a_person's avatar
    a_person
    New Contributor

     In short, is there a limit to the amount of HostID's that can be submitted in a post  to a System inventory Report.

     

    • AshC's avatar
      AshC
      Retired GoTo Contributor

      Hi, sorry for any confusion there.

      It is true that 50 is the current maximum return value, and a continuation token is also returned.  We should have this part updated in the API documents very soon.

       

      • jackbarry's avatar
        jackbarry
        New Contributor

        I'm hitting this issue as well, but I'm not seeing a "continuation token" in the response. The only data in the response I get back is the a report object with token and expires (same token as was used to fetch the report), and the hosts object with an array of 50 hosts. I don't see anything in the headers either