How to load a splashLogo using API?

yunhua
New here

How to load a splashLogo using API?

I tried to load a splashLogo from my script using meraki API with the following payload.

 

payld_splash = {
'splashMethod': 'Click-through splash page',
'redirectUrl': 'http://www.company.com',
'useRedirectUrl': True,
'blockAllTrafficBeforeSignOn': True,
'welcomeMessage': 'Welcome!',
'splashLogo': {
'md5': 'a30547c2a0807efb33e5e9ce53ff2ce0',
'extension': 'png'
}
}

 

But I got error

 

{'errors': ["'splashLogo' must be an object"]}

 

I tried to enter a full url of the photo but still got  the same error

2 REPLIES 2
Inderdeep
Kind of a big deal
Kind of a big deal

@yunhua : Check for Splash APIs on below link 

https://documenter.getpostman.com/view/897512/SzYXYfmJ#auth-info-42355ad3-0145-48c6-8e65-e4bb9f18093...

 

Regards/Inder
Cisco IT Blogs awarded in 2020 & 2021
www.thenetworkdna.com

I did not find the splash API in the link provided but I followed the example in the

https://developer.cisco.com/meraki/api-v1/#!get-network-wireless-ssid-splash-settings

 

But got the error reported

Get notified when there are additional replies to this discussion.
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.
Labels