API v0 EOL verification question

Solved
PatWruk
Getting noticed

API v0 EOL verification question

I just received an email saying the extended grace period is expiring January 31st, and I'm getting the email because I haven't moved to v1 yet. I just checked all of my scripts that use the Meraki API and checked the API call "organizations/{orgid}/apiRequests?version=0" and nothing is using v0 anymore. Am I missing something? 

1 Accepted Solution
alemabrahao
Kind of a big deal
Kind of a big deal

It should probably just be an informational message.

I am not a Cisco Meraki employee. My suggestions are based on documentation of Meraki best practices and day-to-day experience.

Please, if this post was useful, leave your kudos and mark it as solved.

View solution in original post

8 Replies 8
alemabrahao
Kind of a big deal
Kind of a big deal

It should probably just be an informational message.

I am not a Cisco Meraki employee. My suggestions are based on documentation of Meraki best practices and day-to-day experience.

Please, if this post was useful, leave your kudos and mark it as solved.
PatWruk
Getting noticed

That's what I was hoping, just wanted to make sure I wasn't missing something that I should check.

 

Thanks

rhbirkelund
Kind of a big deal
Kind of a big deal

I’m getting the same message, and afaik I’m also not using the v0 API, eventhough the email directly says I am.

LinkedIn ::: https://blog.rhbirkelund.dk/

Like what you see? - Give a Kudo ## Did it answer your question? - Mark it as a Solution 🙂

All code examples are provided as is. Responsibility for Code execution lies solely your own.
PhilipDAth
Kind of a big deal
Kind of a big deal

A call to the v0 API looks like:

https://api.meraki.com/api/v0/organizations/...

 A call to the V1 API looks like:

https://api.meraki.com/api/v1/organizations/...

 

There is nothing that uses "?version=0".  Instead search for "/v0/" in your code.

PatWruk
Getting noticed

I think you misunderstood what I was saying. If you run the api call https://api.meraki.com/api/v1/organizations/{orgid}/apiRequests?version=0, you get a recent list of v0 api calls, if you change it to version=1, you get a recent list of v1 api calls. As explained here: https://community.meraki.com/t5/Developers-APIs/Identify-API-v0-usage-the-easy-way-0%EF%B8%8F%E2%83%...

 

PhilipDAth
Kind of a big deal
Kind of a big deal

Oh, you are correct.  My mistake.

Ryan_Miles
Meraki Employee
Meraki Employee

You can also run the API requests call with parameter version to verify no version 0 calls have been made in the last 31 days

Ryan

If you found this post helpful, please give it Kudos. If my answer solves your problem please click Accept as Solution so others can benefit from it.
Guillaume6hat
Here to help

Hello.

 

I received the same email.

I tried to look for any v0 call in my code, but nothing.

 

Then I used the API call "getOrganizationApiRequests" , with option version = 0, to check any usage with this version.

 

Surprisingly, I have a lot ! But it seems it's a mistake :

 

    {
        "adminId": "xxxxxxxxxxxx",
        "method": "GET",
        "host": "nxxx.meraki.com",
        "path": "/api/v1/organizations/xxxxxx/appliance/trafficShaping/vpnExclusions/byNetwork",
        "queryString": "perPage=1000&startingAfter=xxxxxxxxx",
        "userAgent": "python-requests/2.31.0",
        "ts": "2024-01-22T01:44:45.110913Z",
        "responseCode": 200,
        "sourceIp": "xx.xx.xx.xx",
        "version": 0,
        "operationId": "getOrganizationApplianceTrafficShapingVpnExclusionsByNetwork"
    }

 

 

Apparently, every "getOrganizationApplianceTrafficShapingVpnExclusionsByNetwork" call is categorized as version 0, even if in the path we clearly see it's v1.

 

I'm wondering if there are other calls impacted, and maybe Meraki checks for each Org if there is any v0 call the same way, and as there are some wrong categorization, that's why we receive these emails ?

Get notified when there are additional replies to this discussion.