Method:
mm.ideas.setStyle
Sets a custom style on an idea
Authentication
Requires signing: | Yes |
Requires authentication: | Yes |
Requires access: | write |
Parameters
-
bold
(required) boolean - 1 or 'true' -
color
(required) 6 letters hex color -
fontSize
(required) 100, 120 or 150 -
idea_id
(required) -
italic
(required) boolean - 1 or 'true' -
map_id
(required) -
backgroundColor
(optional) 6 letters hex color -
borderColor
(optional) 6 letters hex color -
borderWidth
(optional) 0, 1, 2 (pixels) -
boxShadow
(optional) boolean - 1 or 'true' -
boxStyle
(optional) 0 for straight box, 1 for rounded box or 2 for very rounded box -
gradient
(optional) 0 for no gradient, 1 for light gradient, 2 for strong gradient or 3 for glossy gradient
Sample Response
<rsp stat="ok"> <revision>1</revision> </rsp>
Error Codes
-
20
Object not found - Object not found
-
96
Invalid signature - The passed signature was invalid.
-
97
Missing signature - The call required signing but no signature was sent.
-
98
Login failed - The login details or auth token passed were invalid.
-
100
Invalid API Key - The API key passed was not valid or has expired.
-
112
Method not found - The requested method was not found.
Test Method
No API key found.
If you already have an API key you might just have to Sign In.