cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
10182
Views
6
Helpful
6
Replies

Network Objects/Groups

rgm
Level 2
Level 2

Is there anything in the works to get an API for either of these options?

I know this feature is still BETA, but I want to be able to update this through either an API or through a csv. Anyone have anything cool to make this easy.

1 Accepted Solution

Accepted Solutions
6 Replies 6

GreenMan
Cisco Employee
Cisco Employee

It's already available, via API - check out this section of the documentation:

https://documentation.meraki.com/MX/Firewall_and_Traffic_Shaping/Network_Objects_Configuration_Guide#API

@GreenMan Thank you!

I see it now through the meraki dashboard documentation.

I do not see it in the developers v1.2 documentation:

https://developer.cisco.com/meraki/api-v1/

I see it referenced in paths but the link provided is blank:

https://developer.cisco.com/meraki/api-v1/#!get-organization-network-object-groups

Additionally, I do not see it in the python library:

https://github.com/meraki/dashboard-api-python

How quickly is this library brought up to speed with all the APIs in the Meraki Dashboard documentation?

GreenMan
Cisco Employee
Cisco Employee

All this is likely the case because Network Objects is in Beta. As and when that's no longer the case, the relevant documentation and tools get promptly updated, in my experience.

@kiranoddiraju the documentation I linked in my initial reply makes it clear that both FQDN and Wildcard FQDN are supported. For use within the API substitute "type":"fqdn" within the cURL example provided

Are wildcard FQDN objects supported? For example *.microsoft.com or *.officecdn-microsoft-com.akamaized.net?

ddawson100
Community Member

I've got a lot of questions, too. I see an example of how to add (POST) a network object. Would be nice to have some examples of how to query and delete test objects, too. I'm using cURL on Windows and Linux.

wpate
Frequent Visitor
Frequent Visitor

There is python code I found here--> https://developer.cisco.com/codeexchange/github/repo/johshea/export_Mpolicy_objects

He wrote a routine that will allow you to pull network objects and groups from the portal into a JSON formatted file. I had to modify the code some to work in our environment, but it worked great.