missing attributes in API ?

Solved
sebas
Getting noticed

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 !

 

:

1 Accepted Solution

You can make a wish threw your dashboard.

View solution in original post

6 Replies 6
jdsilva
Kind of a big deal

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"
}

 

sebas
Getting noticed

Hi !

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

That is what i am missing

 

NolanHerring
Kind of a big deal

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

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

You can make a wish threw your dashboard.

Feel free to toss into that wish, 'solve world hunger'.
Nolan Herring | nolanwifi.com
TwitterLinkedIn
Get notified when there are additional replies to this discussion.