{ "uuid": "1d4020ec-af4d-4dbd-9b55-883c4f555f13", "lastMigration": 29, "name": "AWS IoT 1-Click Devices Service", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "4cfe8aee-f28e-406d-9b64-d70b0c04dde4", "documentation": "Adds device(s) to your account (i.e., claim one or more devices) if and only if you\n received a claim code with the device(s).", "method": "put", "endpoint": "claims/:claimCode", "responses": [ { "uuid": "d8e479aa-8e73-4472-97c9-8ce40d213ec1", "body": "{\n \"ClaimCode\": \"\",\n \"Total\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "c40b8120-95fe-4bc5-b406-65abdd74a18a", "body": "\"\"", "latency": 0, "statusCode": 480, "label": "InvalidRequestException", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "3f7095b7-ac39-45bf-8d64-f1b5006ae400", "body": "\"\"", "latency": 0, "statusCode": 481, "label": "InternalFailureException", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "f46b45e7-d3d4-4541-b28c-22500a4cf2e2", "body": "\"\"", "latency": 0, "statusCode": 482, "label": "ForbiddenException", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "78f523ac-351b-4a82-b1f4-94b185e91952", "documentation": "Given a device ID, returns a DescribeDeviceResponse object describing the\n details of the device.", "method": "get", "endpoint": "devices/:deviceId", "responses": [ { "uuid": "c0dc58a7-9e71-404f-bcda-6177d169f4e3", "body": "{\n \"DeviceDescription\": {\n \"Arn\": \"\",\n \"Attributes\": {},\n \"DeviceId\": \"\",\n \"Enabled\": {{faker 'datatype.boolean'}},\n \"RemainingLife\": {{faker 'number.float'}},\n \"Type\": \"\",\n \"Tags\": {}\n }\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "69e10988-1da3-4b03-943c-4f1982bfea41", "body": "\"\"", "latency": 0, "statusCode": 480, "label": "ResourceNotFoundException", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "27a491dd-feb8-40ac-864d-c6f988798eb3", "body": "\"\"", "latency": 0, "statusCode": 481, "label": "InvalidRequestException", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "ea233a7d-7496-4279-ac74-97154aa57714", "body": "\"\"", "latency": 0, "statusCode": 482, "label": "InternalFailureException", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "7010c66c-a9a0-42b7-8469-c7e2ee12937b", "documentation": "
Given a device ID, finalizes the claim request for the associated device.
Claiming a device consists of initiating a claim, then publishing a device event,\n and finalizing the claim. For a device of type button, a device event can\n be published by simply clicking the device.
\nGiven a device ID, initiates a claim request for the associated device.
Claiming a device consists of initiating a claim, then publishing a device event,\n and finalizing the claim. For a device of type button, a device event can\n be published by simply clicking the device.
\n