Created
July 28, 2015 01:32
-
-
Save nearnshaw/b4836f406c188cbd43c2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#%RAML 0.8 | |
title: muletallica | |
version: 1.0.0 | |
baseUri: http://server/lights/{group} | |
/effects: | |
displayName: effects | |
/{group}: | |
displayName: group | |
/gamma: | |
displayName: gamma | |
put: | |
description: change color gamma in a group of lights to any color | |
body: | |
application/json: | |
example: | | |
{ | |
"note": 1 | |
} | |
/directcolor: | |
displayName: direct color | |
put: | |
description: change color gamma in a group of lights, to predefined colors | |
body: | |
application/json: | |
example: | | |
{ | |
"note": 32, | |
"velocity": 100 | |
} | |
/intensity: | |
displayName: intensity | |
put: | |
description: change brightness in a group of lights | |
body: | |
application/json: | |
example: | | |
{ | |
"velocity": 1 | |
} | |
/both: | |
displayName: both | |
put: | |
description: flicker with color and intensity | |
body: | |
application/json: | |
example: | | |
{ | |
"note": 1, | |
"velocity": 1 | |
} | |
/flicker: | |
displayName: flicker | |
put: | |
description: make a group of lights flicker | |
body: | |
application/json: | |
example: | | |
{ | |
"note": 1 | |
} | |
/wiii: | |
displayName: wiii | |
put: | |
description: make wiii effect in a group of lights | |
body: | |
application/json: | |
example: | | |
{ | |
"note": 1, | |
"velocity": 1 | |
} | |
/wub: | |
displayName: wub | |
put: | |
description: make wub effect in a group of lights | |
body: | |
application/json: | |
example: | | |
{ | |
"note": 1, | |
"velocity": 1 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment