Community FAQ
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
MrNico
Engaged Sweeper II

Hello, I've been slowly advancing in my testing using the lansweeper API. Now I have the following problem, I understand that it is possible to make a "pagination" of the results, my doubt is how I "advance" between one page and another. Can you help me.. Thank you

If that's my query, what should the next query look like to bring in the other items?

 

query getAssetResources {
  site(id: "6f02653e-683c-4802-8b16-dbd8d1f5dfd8") {
    assetResources(
        assetPagination: { limit: 2, page: FIRST }
      fields: [
        "assetBasicInfo.name"
        "assetBasicInfo.userDomain"
        "assetBasicInfo.description"
        "operatingSystem.name"
      ]
    ) {
      total
      items
    }
  }
}
Spoiler
 

 

0 REPLIES 0

General Discussions

Find answers to technical questions about Lansweeper.

New to Lansweeper?

Try Lansweeper For Free

Experience Lansweeper with your own data.
Sign up now for a 14-day free trial.

Try Now