{ "uuid": "7cbd65e2-e6a5-4a5d-a626-218e4f1c1a84", "lastMigration": 29, "name": "dweet.io", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "a1f2babf-f0a6-4107-803c-fb3f46766421", "documentation": "Create an alert for a thing. A thing must be locked before an alert can be set.", "method": "get", "endpoint": "alert/:who/when/:thing/:condition", "responses": [ { "uuid": "e0931c8e-fe14-43e7-a868-ae76657bf01e", "body": "", "latency": 0, "statusCode": 200, "label": "No response was specified", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "daa7f078-40ef-428e-b07e-0c9bb555dae7", "documentation": "Create a dweet for a thing.", "method": "post", "endpoint": "dweet/for/:thing", "responses": [ { "uuid": "47a5b520-a43b-4c5d-83c8-b5d48f448412", "body": "", "latency": 0, "statusCode": 200, "label": "No response was specified", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "abb4ab51-e56a-40ff-a633-64bdaab37bfb", "documentation": "Create a dweet for a thing. This method differs from /dweet/for/{thing} only in that successful dweets result in an HTTP 204 response rather than the typical verbose response.", "method": "post", "endpoint": "dweet/quietly/for/:thing", "responses": [ { "uuid": "770a921b-637c-41d3-acfa-7c91bcf9bfa2", "body": "", "latency": 0, "statusCode": 200, "label": "No response was specified", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "4330d426-3b0f-42d1-b8c3-b0621e62b181", "documentation": "Get the alert attached to a thing.", "method": "get", "endpoint": "get/alert/for/:thing", "responses": [ { "uuid": "25488b96-d1a4-4c4a-97c8-56a4a17949dc", "body": "", "latency": 0, "statusCode": 200, "label": "No response was specified", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "97a1e070-3b5a-408e-b611-039e7e892265", "documentation": "Read the last 5 cached dweets for a thing.", "method": "get", "endpoint": "get/dweets/for/:thing", "responses": [ { "uuid": "97b4e180-2612-408f-be4e-1fab1311f9a0", "body": "", "latency": 0, "statusCode": 200, "label": "No response was specified", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "41546ded-70ec-4763-b9c5-6c5ab077d652", "documentation": "Read the latest dweet for a thing.", "method": "get", "endpoint": "get/latest/dweet/for/:thing", "responses": [ { "uuid": "07597240-171b-4aa2-903b-176cd54ae2bb", "body": "", "latency": 0, "statusCode": 200, "label": "No response was specified", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "1b74eb42-fdd9-468d-9d7f-87dc49271658", "documentation": "Read all the saved alerts for a thing from long term storage. You can query a maximum of 1 day per request and a granularly of 1 hour.", "method": "get", "endpoint": "get/stored/alerts/for/:thing", "responses": [ { "uuid": "32876b6b-ef44-4f98-8a51-754b956a0195", "body": "", "latency": 0, "statusCode": 200, "label": "No response was specified", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "3e0b40f3-30a3-4d54-a50b-4342202e6acb", "documentation": "Read all the saved dweets for a thing from long term storage. You can query a maximum of 1 day per request and a granularly of 1 hour.", "method": "get", "endpoint": "get/stored/dweets/for/:thing", "responses": [ { "uuid": "1f23e4a4-9b6b-4e41-b7e6-f94e7a898f17", "body": "", "latency": 0, "statusCode": 200, "label": "No response was specified", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "35a8fd5a-bea8-46ce-b29d-1a3dc7f305b9", "documentation": "Listen for dweets from a thing.", "method": "get", "endpoint": "listen/for/dweets/from/:thing", "responses": [ { "uuid": "b70247e6-c425-4ade-ac1c-e1595c35f8ed", "body": "", "latency": 0, "statusCode": 200, "label": "No response was specified", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "4c830569-d4a3-454d-af24-12ab16cdd147", "documentation": "Reserve and lock a thing.", "method": "get", "endpoint": "lock/:thing", "responses": [ { "uuid": "90de885b-0f86-4b61-ab66-f9977e533488", "body": "", "latency": 0, "statusCode": 200, "label": "No response was specified", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "c67c641d-8acd-4587-b807-38ccc12c756a", "documentation": "Remove an alert for a thing.", "method": "get", "endpoint": "remove/alert/for/:thing", "responses": [ { "uuid": "ff56f652-9540-4120-9072-bb6c7fadab21", "body": "", "latency": 0, "statusCode": 200, "label": "No response was specified", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "3aa6d750-5d8a-437c-9856-f9db3c040c98", "documentation": "Remove a lock from thing.", "method": "get", "endpoint": "remove/lock/:lock", "responses": [ { "uuid": "51a66b4b-0dd4-4019-90df-b018d22f168c", "body": "", "latency": 0, "statusCode": 200, "label": "No response was specified", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "f07ff45a-636f-4b89-8000-13e1ff3cf0e2", "documentation": "Unlock a thing.", "method": "get", "endpoint": "unlock/:thing", "responses": [ { "uuid": "5455bce2-d57b-430d-b686-002743b79d15", "body": "", "latency": 0, "statusCode": 200, "label": "No response was specified", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" } ], "proxyMode": false, "proxyHost": "", "proxyRemovePrefix": false, "tlsOptions": { "enabled": false, "type": "CERT", "pfxPath": "", "certPath": "", "keyPath": "", "caPath": "", "passphrase": "" }, "cors": true, "headers": [], "proxyReqHeaders": [{ "key": "", "value": "" }], "proxyResHeaders": [{ "key": "", "value": "" }], "data": [], "folders": [], "rootChildren": [ { "type": "route", "uuid": "a1f2babf-f0a6-4107-803c-fb3f46766421" }, { "type": "route", "uuid": "daa7f078-40ef-428e-b07e-0c9bb555dae7" }, { "type": "route", "uuid": "abb4ab51-e56a-40ff-a633-64bdaab37bfb" }, { "type": "route", "uuid": "4330d426-3b0f-42d1-b8c3-b0621e62b181" }, { "type": "route", "uuid": "97a1e070-3b5a-408e-b611-039e7e892265" }, { "type": "route", "uuid": "41546ded-70ec-4763-b9c5-6c5ab077d652" }, { "type": "route", "uuid": "1b74eb42-fdd9-468d-9d7f-87dc49271658" }, { "type": "route", "uuid": "3e0b40f3-30a3-4d54-a50b-4342202e6acb" }, { "type": "route", "uuid": "35a8fd5a-bea8-46ce-b29d-1a3dc7f305b9" }, { "type": "route", "uuid": "4c830569-d4a3-454d-af24-12ab16cdd147" }, { "type": "route", "uuid": "c67c641d-8acd-4587-b807-38ccc12c756a" }, { "type": "route", "uuid": "3aa6d750-5d8a-437c-9856-f9db3c040c98" }, { "type": "route", "uuid": "f07ff45a-636f-4b89-8000-13e1ff3cf0e2" } ] }