{ "metadata": { "apiVersion": "2016-03-01", "endpointPrefix": "update", "jsonVersion": "1.1", "serviceFullName": "Jibo Update", "signatureVersion": "v4", "targetPrefix": "Update_20160301", "protocol": "json" }, "operations": { "ListUpdates": { "input": { "type": "structure", "members": { "subsystem": {}, "filter": {} } }, "output": { "shape": "S4" } }, "ListUpdatesFrom": { "input": { "shape": "Sa" }, "output": { "shape": "S4" } }, "GetUpdateFrom": { "input": { "shape": "Sa" }, "output": { "shape": "S5" } }, "CreateUpdate": { "input": { "type": "structure", "required": [ "fromVersion", "toVersion", "changes" ], "members": { "fromVersion": { "type": "string", "location": "header", "locationName": "x-update-from-version" }, "toVersion": { "type": "string", "location": "header", "locationName": "x-update-to-version" }, "changes": { "type": "string", "location": "header", "locationName": "x-update-changes" }, "body": { "type": "blob", "streaming": true }, "subsystem": { "location": "header", "locationName": "x-update-subsystem" }, "filter": { "location": "header", "locationName": "x-update-filter" }, "dependencies": { "shape": "S8", "location": "headers", "locationName": "x-update-dependencies" } }, "payload": "body" }, "output": { "shape": "S5" } }, "RemoveUpdate": { "input": { "type": "structure", "required": [ "id" ], "members": { "id": { "type": "string" } } }, "output": { "shape": "S5" } } }, "shapes": { "S4": { "type": "list", "member": { "shape": "S5" } }, "S5": { "type": "structure", "required": [ "_id", "created", "accountId", "fromVersion", "toVersion", "changes", "url", "shaHash", "subsystem" ], "members": { "_id": { "type": "string" }, "created": { "type": "long" }, "accountId": {}, "fromVersion": { "type": "string" }, "toVersion": { "type": "string" }, "changes": { "type": "string" }, "url": { "type": "string" }, "shaHash": { "type": "string" }, "length": { "type": "long" }, "subsystem": {}, "filter": {}, "dependencies": { "shape": "S8" } } }, "S8": { "type": "map", "key": {}, "value": {} }, "Sa": { "type": "structure", "required": [ "fromVersion" ], "members": { "fromVersion": { "type": "string" }, "subsystem": {}, "filter": {} } } } }