cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1968
Views
1
Helpful
1
Replies

Clarification Regarding API Call Response Timing

SuperM
Community Member

Hi Community,

I need some clarification:

When I make an API call to "/organizations/{organizationId}/uplinks/statuses," and receive a status like "active," "ready," or "failed," is that status representative of the device's current state at the time of the API call, or does the data returned reflect historical information? For example, if I make an API call at 1 pm, will the status of the device returned be based on its state at that time, or from a different time?

Example payload:


{
"networkId": "N_80",
"serial": "Q2CZ-S6JR",
"model": "VMX-L",
"highAvailability": {
"enabled": false,
"role": "primary"
},
"lastReportedAt": "2024-04-30T02:45:23Z",
"uplinks": [
{
"interface": "wan1",
"status": "active",
"ip": "10.11.7.12",
"gateway": "10.11.79.97",
"publicIp": "103.X.X.231",
"primaryDns": "10.11.7.2",
"secondaryDns": "0.0.0.0",
"ipAssignedBy": "dhcp"
}
]
},

1 Accepted Solution

Accepted Solutions

Ryan_Miles
Meraki Employee All-Star
Meraki Employee All-Star

If you don't use any extra parameters (startingAfter or endingBefore) it would be a return of the current status at time of the request

View solution in original post

1 Reply 1

Ryan_Miles
Meraki Employee All-Star
Meraki Employee All-Star

If you don't use any extra parameters (startingAfter or endingBefore) it would be a return of the current status at time of the request