Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Insight rest API shows limited response upto 25 objects

GG January 17, 2024

Hi,

I am using the following insight API to get list of assets:

http://…../rest/insight/1.0/iql/objects

The output of API is only 25 assets. Even when a call the API ase below to increase max result per page, 25 assets are still displayed:

http://…../rest/insight/1.0/iql/objects?iql= ObjectType = “printers” &resultPerPage = 1000

Is it possible to guide me about this API Paginate ?

 

Regards

GG

2 answers

1 accepted

0 votes
Answer accepted
Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 17, 2024

Hi @GG 

I think you shoild make you call as follows:

http://…../rest/insight/1.0/iql/objects?iql= ObjectType = “printers” &page=2

GG January 17, 2024

I think this one shows the second page

0 votes
Nikola Perisic
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 17, 2024
GG January 17, 2024

I checked it and it doesn't solve my problem.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.20.11
TAGS
AUG Leaders

Atlassian Community Events