Moving from v0 to v1 I get a 404 when trying to return deviceStatuses

Solved
JohnEichmann
New here

Moving from v0 to v1 I get a 404 when trying to return deviceStatuses

Today I noticed some Python code that was working is now getting a 410, after some googling I see that Meraki has upgraded to v1.

When I make that change to my url's some of the api's work some are getting a 404.

Specifically deviceStatuses is what I'm after and the change log says it went from 

 

  • GET /organizations/{id}/deviceStatuses List the status of every Meraki device in the organization
  • TO
  • GET /organizations/{organizationId}/deviceStatuses List the status of every Meraki device in the organization

 

I've always used the organizationID, the only change I made to my URL was /v0 to /v1 and I'm getting a 404.

 

Some of the url's work just fine like returning networks and admins.

1 Accepted Solution
Ryan_Miles
Meraki Employee
Meraki Employee

The endpoint syntax is shown here https://developer.cisco.com/meraki/api-v1/get-organization-devices-statuses/

Ryan / Meraki SE

If you found this post helpful, please give it kudos. If my answer solved your problem, click "Accept as Solution" so that others can benefit from it.

View solution in original post

2 Replies 2
Ryan_Miles
Meraki Employee
Meraki Employee

The endpoint syntax is shown here https://developer.cisco.com/meraki/api-v1/get-organization-devices-statuses/

Ryan / Meraki SE

If you found this post helpful, please give it kudos. If my answer solved your problem, click "Accept as Solution" so that others can benefit from it.

Thank you for the quick response.  I've been all over the website here, maybe searching for deviceStatuses was my issue.  

Get notified when there are additional replies to this discussion.