Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
viveky
Explorer
Jump to solution

Any curl command for pagination

Hey there..!

 

Is there any CURL command or API related to pagination..!

 

 

Thanks in Advance

0 Kudos
2 Solutions

Accepted Solutions
PhoneBoy
Admin
Admin

Pagination is achieved by using limit/offset parameters in the relevant API call.

View solution in original post

Stuart_Green1
Employee
Employee

there are some examples at the bottom of the manual pages:

 

https://sc1.checkpoint.com/documents/latest/APIs/?#web/show-objects~v1.8.1%20

 

POST {{server}}/show-objects
Content-Type: application/json
X-chkp-sid: {{session}}

{
  "limit" : 50,
  "offset" : 0,
  "order" : [ {
    "ASC" : "name"
  } ],
  "type" : "group"
}

 

View solution in original post

4 Replies
_Val_
Admin
Admin

Pagination??? What do you mean?

0 Kudos
(1)
PhoneBoy
Admin
Admin

Pagination is achieved by using limit/offset parameters in the relevant API call.

viveky
Explorer

can you share one with dummy data?

0 Kudos
Stuart_Green1
Employee
Employee

there are some examples at the bottom of the manual pages:

 

https://sc1.checkpoint.com/documents/latest/APIs/?#web/show-objects~v1.8.1%20

 

POST {{server}}/show-objects
Content-Type: application/json
X-chkp-sid: {{session}}

{
  "limit" : 50,
  "offset" : 0,
  "order" : [ {
    "ASC" : "name"
  } ],
  "type" : "group"
}

 

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events