Hello,
I want to clone an existing network configuration while creating a new network in an organisation through dashboard API. Could not find any existing api to do that?
The Third step is not getting done with the help of api.
Thanks.
Hello Ritish,
There is an option to do that using the Dashboard API.
Use the "Create a new network" endpoint and put the network id of the network you want to clone in the payload:
def payload = [
name: xxx,
type: xxx,
timeZone : xxx,
tags: xxx,
copyFromNetworkId: network_id
]
Nice find @Raphael_M . Strangely enough, it's documented in this version of the API docs:
https://dashboard.meraki.com/api_docs#create-a-network
But not in the postman version of the docs:
Strange indeed...
The postman collection does shows the parameter, so I guess it's only missing in the Postman docs
That's even weirder, because I'm actually looking at the postman collection here too.
Here's what it looks like for me:
Do you have a link for the one you're using? I'm using the postman.meraki.com one.
It seems like the postman collection is completely broken 😥
I think that I was using an old version of the collection (few weeks old maybe) because now that I have updated it (using postman.meraki.com, same as you) I see some very weird things:
Not sure to whom this should be reported to...
I created a separate post to continue the discussion:
https://community.meraki.com/t5/Developers-APIs/What-s-up-with-the-postman-collection/m-p/68732
EDIT: I was wrong, according to @DexterLaBora! Official docs are https://developer.cisco.com/meraki/api/#/rest/getting-started
I wonder why https://dashboard.meraki.com/api_docs still hangs out
Hijacking the thread slightly; the "official" node.js library is called "lib". Who's crazy idea was it to publish an official SDK to the Internet and call it "lib". Imagine if every person out there did that.
https://developer.cisco.com/meraki/api/#/rest/guides/node-js-sdk-quick-start
@PhilipDAth wrote:Hijacking the thread slightly; the "official" node.js library is called "lib". Who's crazy idea was it to publish an official SDK to the Internet and call it "lib". Imagine if every person out there did that.
https://developer.cisco.com/meraki/api/#/rest/guides/node-js-sdk-quick-start
Could be worse. There's a data analysis framework called... ROOT.
@Nash
Semantically versioned, OAS generated API docs: https://developer.cisco.com/meraki/api/
Classic API docs: https://dashboard.meraki.com/api_docs
By using the semantic version, we have a clearer way to document, create SDKs and ensure compatibility with changes. The classic docs will eventually go away, or convert to an OAS generated version.