The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Insight rest API shows limited response upto 25 objects

GG
Contributor
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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Marc -Devoteam-
Community Champion
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
Contributor
January 17, 2024

I think this one shows the second page

0 votes
Nikola Perisic
Community Champion
January 17, 2024
GG
Contributor
January 17, 2024

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

DEPLOYMENT TYPE
SERVER
VERSION
8.20.11
TAGS
AUG Leaders

Atlassian Community Events