cancel
Showing results for 
Search instead for 
Did you mean: 

missing attributes in API ?

Comes here often

missing attributes in API ?

Hi all,

 

I'm playing with the API to have multiple ports configured.

Now i don't see the fields/attributes for the Access policy to configure it from the API

I've checked https://dashboard.meraki.com/api_docs#update-a-switch-port but no options.

 

Am i missing something or is the API missing these fields ?

 

tnx !

 

:

6 REPLIES 6
Kind of a big deal

Re: missing attributes in API ?

Are you talking about switch ports?

 

It's there. 

 

 

{
  "number": 1,
  "name": "My switch port",
  "tags": "tag1 tag2",
  "enabled": true,
  "poeEnabled": true,
  "type": "access",
  "vlan": 10,
  "voiceVlan": 20,
  "isolationEnabled": false,
  "rstpEnabled": true,
  "stpGuard": "disabled",
  "accessPolicyNumber": "1234",       <--------
  "linkNegotiation": "Auto negotiate"
}

 

Comes here often

Re: missing attributes in API ?

Hi !

I mean the MAC whitelist, Sticky e.t..c.

That is what i am missing

 

Kind of a big deal

Re: missing attributes in API ?

If you GET a switch/port that does have a MAC white-list or sticky configure, does it show that in the results?

I wonder if so, maybe you could reverse engineer it when you do a PUT and see if it works. Only one way to find out =)

Otherwise you probably won't be able to do it via API (yet).
Nolan Herring | nolanwifi.com
TwitterLinkedIn
Comes here often

Re: missing attributes in API ?

Indeed, we have to wait i guess ? Or can we request some functionality somewhere ?

New here

Re: missing attributes in API ?

You can make a wish threw your dashboard.
Kind of a big deal

Re: missing attributes in API ?

Feel free to toss into that wish, 'solve world hunger'.
Nolan Herring | nolanwifi.com
TwitterLinkedIn
Welcome to the Meraki Community!
To start contributing, simply sign in with your Cisco account. If you don't yet have a Cisco account, you can sign up.
Points Contest
Join us for a month-long contest with heaps of swag to win!

Learn More ›