158 lines
2.8 KiB
JSON
158 lines
2.8 KiB
JSON
{
|
|
"metadata": {
|
|
"apiVersion": "2016-02-25",
|
|
"endpointPrefix": "robot",
|
|
"jsonVersion": "1.1",
|
|
"serviceFullName": "Jibo Robot",
|
|
"signatureVersion": "v4",
|
|
"targetPrefix": "Robot_20160225",
|
|
"protocol": "json"
|
|
},
|
|
"operations": {
|
|
"GetFriendlyIds": {
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"count"
|
|
],
|
|
"members": {
|
|
"count": {
|
|
"type": "integer"
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"type": "list",
|
|
"member": {
|
|
"type": "structure",
|
|
"required": [
|
|
"id"
|
|
],
|
|
"members": {
|
|
"id": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"RemoveRobot": {
|
|
"input": {
|
|
"shape": "S6"
|
|
},
|
|
"output": {
|
|
"shape": "S8"
|
|
}
|
|
},
|
|
"UpdateRobot": {
|
|
"input": {
|
|
"type": "structure",
|
|
"required": [
|
|
"id",
|
|
"payload"
|
|
],
|
|
"members": {
|
|
"id": {},
|
|
"payload": {
|
|
"type": "object"
|
|
}
|
|
}
|
|
},
|
|
"output": {
|
|
"shape": "S8"
|
|
}
|
|
},
|
|
"GetRobot": {
|
|
"input": {
|
|
"shape": "S6"
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"required": [
|
|
"id",
|
|
"payload"
|
|
],
|
|
"members": {
|
|
"id": {},
|
|
"payload": {
|
|
"type": "object"
|
|
},
|
|
"calibrationPayload": {
|
|
"type": "object"
|
|
},
|
|
"updated": {
|
|
"type": "long"
|
|
},
|
|
"created": {
|
|
"type": "long"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"GetRobotHistory": {
|
|
"input": {
|
|
"shape": "S6"
|
|
},
|
|
"output": {
|
|
"type": "list",
|
|
"member": {
|
|
"type": "structure",
|
|
"required": [
|
|
"id",
|
|
"name",
|
|
"payload"
|
|
],
|
|
"members": {
|
|
"id": {},
|
|
"name": {},
|
|
"payload": {
|
|
"type": "object"
|
|
},
|
|
"created": {
|
|
"type": "long"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"GetCalibrationData": {
|
|
"input": {
|
|
"shape": "S6"
|
|
},
|
|
"output": {
|
|
"type": "structure",
|
|
"required": [
|
|
"id",
|
|
"calibrationPayload"
|
|
],
|
|
"members": {
|
|
"id": {},
|
|
"calibrationPayload": {
|
|
"type": "object"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"shapes": {
|
|
"S6": {
|
|
"type": "structure",
|
|
"required": [
|
|
"id"
|
|
],
|
|
"members": {
|
|
"id": {},
|
|
"serialNumber": {}
|
|
}
|
|
},
|
|
"S8": {
|
|
"type": "structure",
|
|
"required": [
|
|
"result"
|
|
],
|
|
"members": {
|
|
"result": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |