Panorama REST API - what's the difference betweeen @count and @total-count when querying for objects

cancel
Showing results for 
Search instead for 
Did you mean: 

Panorama REST API - what's the difference betweeen @count and @total-count when querying for objects

L0 Member

Hi all - I'm querying for objects (address objects, say) and my response looks like this:

 

{
"addresses":{
"@status":"success",
"@code":"19",
"result":{
"@total-count":"7",
"@count":"7",
"entry":[
...snip...
]
}

}

 

When do total-count and count differ? Is this some sort of paging deal that will start after x number of addresses are in the system? I ask because I'm going to need to query to get *all* addresses - and if that is going to require > 1 query I need to know how to handle it...

0 REPLIES 0
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!