Skip to content

Instantly share code, notes, and snippets.

@AdamMagaluk
Created June 13, 2014 16:07
Show Gist options
  • Save AdamMagaluk/5405110aaf642cf16ccf to your computer and use it in GitHub Desktop.
Save AdamMagaluk/5405110aaf642cf16ccf to your computer and use it in GitHub Desktop.
{
"class": [
"arm"
],
"properties": {
"type": "arm",
"name": "arm-192.168.1.8",
"data": {},
"id": "b47c4550-f252-11e3-ba90-b7dd9280b642",
"ip": "192.168.1.8",
"state": "standby",
"x": 0,
"y": 0,
"z": 0,
"led": false,
"streams": []
},
"actions": [
{
"name": "open-claw",
"method": "POST",
"href": "http://zetta-cloud.herokuapp.com/mini-factory-detroit/arm-192.168.1.8",
"fields": [
{
"name": "action",
"type": "hidden",
"value": "open-claw"
}
]
},
{
"name": "close-claw",
"method": "POST",
"href": "http://zetta-cloud.herokuapp.com/mini-factory-detroit/arm-192.168.1.8",
"fields": [
{
"name": "action",
"type": "hidden",
"value": "close-claw"
}
]
},
{
"name": "elbow-up",
"method": "POST",
"href": "http://zetta-cloud.herokuapp.com/mini-factory-detroit/arm-192.168.1.8",
"fields": [
{
"name": "action",
"type": "hidden",
"value": "elbow-up"
}
]
},
{
"name": "elbow-down",
"method": "POST",
"href": "http://zetta-cloud.herokuapp.com/mini-factory-detroit/arm-192.168.1.8",
"fields": [
{
"name": "action",
"type": "hidden",
"value": "elbow-down"
}
]
},
{
"name": "shoulder-up",
"method": "POST",
"href": "http://zetta-cloud.herokuapp.com/mini-factory-detroit/arm-192.168.1.8",
"fields": [
{
"name": "action",
"type": "hidden",
"value": "shoulder-up"
}
]
},
{
"name": "shoulder-down",
"method": "POST",
"href": "http://zetta-cloud.herokuapp.com/mini-factory-detroit/arm-192.168.1.8",
"fields": [
{
"name": "action",
"type": "hidden",
"value": "shoulder-down"
}
]
},
{
"name": "pivot-left",
"method": "POST",
"href": "http://zetta-cloud.herokuapp.com/mini-factory-detroit/arm-192.168.1.8",
"fields": [
{
"name": "action",
"type": "hidden",
"value": "pivot-left"
}
]
},
{
"name": "pivot-right",
"method": "POST",
"href": "http://zetta-cloud.herokuapp.com/mini-factory-detroit/arm-192.168.1.8",
"fields": [
{
"name": "action",
"type": "hidden",
"value": "pivot-right"
}
]
}
],
"links": [
{
"rel": [
"self"
],
"href": "http://zetta-cloud.herokuapp.com/mini-factory-detroit/arm-192.168.1.8"
},
{
"rel": [
"index"
],
"href": "http://zetta-cloud.herokuapp.com/mini-factory-detroit"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment