{ "uuid": "544d9487-c20b-4e67-8aef-fca51f5b3fdb", "lastMigration": 29, "name": "Control API v1", "endpointPrefix": "v1", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "d9a52925-3df2-464d-ba46-5016aa71cf54", "documentation": "Lists apps", "method": "get", "endpoint": "accounts/:account_id/apps", "responses": [ { "uuid": "5ba88ada-7798-4d3a-8bb2-c5d08431affb", "body": "[\n {\n \"_links\": {},\n \"accountId\": \"WgRpOB\",\n \"apnsUseSandboxEndpoint\": {{faker 'datatype.boolean'}},\n \"id\": \"28AB6x\",\n \"name\": \"Default\",\n \"status\": \"{{oneOf (array 'enabled' 'disabled')}}\",\n \"tlsOnly\": true\n }\n]", "latency": 0, "statusCode": 200, "label": "List of apps for the specified account are returned", "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": "d5ac76ac-268e-4df2-900b-0bf752263899", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 401, "label": "Authentication failed", "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": "db6f3877-76a9-4f00-ac9b-3671ec87fdcd", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 404, "label": "Account not found", "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": "7f60ab56-91a2-477e-a962-0524506124d7", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 500, "label": "Internal server error", "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": "3dd5a0bc-c17a-479c-a636-54f81fd88473", "documentation": "Creates an app", "method": "post", "endpoint": "accounts/:account_id/apps", "responses": [ { "uuid": "f12a5077-4a66-400b-8f95-0cbf89cd48ee", "body": "{\n \"_links\": {},\n \"accountId\": \"WgRpOB\",\n \"apnsUseSandboxEndpoint\": {{faker 'datatype.boolean'}},\n \"id\": \"28AB6x\",\n \"name\": \"Default\",\n \"status\": \"{{oneOf (array 'enabled' 'disabled')}}\",\n \"tlsOnly\": true\n}", "latency": 0, "statusCode": 201, "label": "App created", "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": "b806ef9f-2229-4737-ac51-8a2bdcbcb58c", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 400, "label": "Bad request", "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": "ed06d611-4303-4d0a-96d3-729674844aef", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 401, "label": "Authentication failed", "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": "bcb97ff0-f3c0-43c0-89da-5e895e1bd10a", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 404, "label": "Account not found", "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": "773c006d-06bb-4d84-a64a-150602ac210c", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 422, "label": "Invalid request", "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": "9e7948dd-3964-4495-9313-df3109009eaa", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 500, "label": "Internal server error", "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": "417ec6bd-6d13-4eda-82f2-efae3173ee7f", "documentation": "Lists app keys", "method": "get", "endpoint": "apps/:app_id/keys", "responses": [ { "uuid": "34464d99-118c-4e3f-834a-7ef03c274ae1", "body": "[\n {\n \"appId\": \"28GY6a\",\n \"capability\": {},\n \"created\": 1602844091815,\n \"id\": \"\",\n \"key\": \"\",\n \"modified\": 1614679682091,\n \"name\": \"\"\n }\n]", "latency": 0, "statusCode": 200, "label": "Key list", "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": "80512a86-32bc-4f9f-8acf-b576b1a96661", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 401, "label": "Authentication failed", "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": "da54987a-d478-4c98-904d-b07aa811b26c", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 404, "label": "App not found", "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": "6705cbd6-2438-4a0e-b40e-6e370c303570", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 500, "label": "Internal server error", "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": "1be4f25e-360b-4d49-b1c4-a5204400aa48", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 504, "label": "Gateway timeout", "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": "9988d9f7-5395-449b-95ae-7a74ec2f41d8", "documentation": "Creates a key", "method": "post", "endpoint": "apps/:app_id/keys", "responses": [ { "uuid": "836e923c-ff15-4454-8d2f-02d0a736577d", "body": "{\n \"appId\": \"28GY6a\",\n \"capability\": {},\n \"created\": 1602844091815,\n \"id\": \"\",\n \"key\": \"\",\n \"modified\": 1614679682091,\n \"name\": \"\"\n}", "latency": 0, "statusCode": 201, "label": "Key created", "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": "ae10d181-02af-49ee-993d-9d3c3f6296e2", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 400, "label": "Bad request", "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": "364c54c7-a3b5-4c5e-b37e-664b037a77f3", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 401, "label": "Authentication failed", "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": "7c2cc2a8-3277-4fd8-ac75-31a9cb6b56c1", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 404, "label": "App not found", "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": "1c682b0c-8c1a-49a1-a8e2-0aa41c698a9b", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 422, "label": "Invalid request", "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": "b7b5b01d-ba6e-496f-a07d-d5725563a6f9", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 500, "label": "Internal server error", "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": "6d7b5107-fc11-4c55-9621-20a700c86f9d", "documentation": "Updates a key", "method": "patch", "endpoint": "apps/:app_id/keys/:key_id", "responses": [ { "uuid": "944c7778-5a00-4ebf-9573-1bfe3dfde0d5", "body": "{\n \"appId\": \"28GY6a\",\n \"capability\": {},\n \"created\": 1602844091815,\n \"id\": \"\",\n \"key\": \"\",\n \"modified\": 1614679682091,\n \"name\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Key updated", "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": "5214cdea-54a4-4613-a3aa-b2b2828181dc", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 400, "label": "Bad request", "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": "edf60797-d8da-45ac-a93a-87af08264cb2", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 401, "label": "Authentication failed", "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": "44f8415d-0b57-480a-b3e4-849e90753b86", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 404, "label": "App not found", "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": "2cabbd86-26f4-401a-97eb-3d6838ff3446", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 422, "label": "Invalid request", "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": "6238e11c-e9e7-41d7-8521-6e6a5714f320", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 500, "label": "Internal server error", "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": "d23a4c2a-dd29-4e5a-8287-0b9544234113", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 504, "label": "Gateway timeout", "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": "bb1ef3ae-8fdb-4944-a97e-a685e1043d71", "documentation": "Revokes a key", "method": "post", "endpoint": "apps/:app_id/keys/:key_id/revoke", "responses": [ { "uuid": "5eb9bde2-0934-488e-ba83-0476e1ece7bd", "body": "", "latency": 0, "statusCode": 200, "label": "Key revoked", "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": "42f149c1-c842-4832-98a9-e4d7b0c420d3", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 401, "label": "Authentication failed", "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": "6a91bbc3-342b-44b7-b54e-01d5bceba923", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 404, "label": "Not found", "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": "4bb834d0-ad79-4d6e-b9c5-512f61d574d8", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 500, "label": "Internal server error", "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": "a01042fd-ef3b-42cc-b27b-7dabe8f3addd", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 504, "label": "Gateway timeout", "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": "8447c294-097e-48b6-955c-d3d2b31d2726", "documentation": "Lists namespaces", "method": "get", "endpoint": "apps/:app_id/namespaces", "responses": [ { "uuid": "3a81c2ef-2826-4fd4-9ccc-0267e7160ddc", "body": "[\n {\n \"authenticated\": {{faker 'datatype.boolean'}},\n \"created\": 1602844091815,\n \"id\": \"namespace\",\n \"modified\": 1614679682091,\n \"persistLast\": {{faker 'datatype.boolean'}},\n \"persisted\": {{faker 'datatype.boolean'}},\n \"pushEnabled\": {{faker 'datatype.boolean'}},\n \"tlsOnly\": {{faker 'datatype.boolean'}}\n }\n]", "latency": 0, "statusCode": 200, "label": "Namespace list", "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": "1898a189-dd12-45b0-96d5-536597d5b905", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 401, "label": "Authentication failed", "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": "d0de9917-c945-4963-9089-cd77ab85ce2c", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 404, "label": "App not found", "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": "89532733-f497-483f-840c-b19a6486530f", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 500, "label": "Internal server error", "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": "ec00ea68-e23a-400d-94aa-f50b34f5ae50", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 504, "label": "Gateway timeout", "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": "a8d33f81-4409-4f9b-ad78-8cabcce860f0", "documentation": "Creates a namespace", "method": "post", "endpoint": "apps/:app_id/namespaces", "responses": [ { "uuid": "e01a94a5-6add-4ca6-9c8d-cdc3a5099d41", "body": "{\n \"authenticated\": {{faker 'datatype.boolean'}},\n \"created\": 1602844091815,\n \"id\": \"namespace\",\n \"modified\": 1614679682091,\n \"persistLast\": {{faker 'datatype.boolean'}},\n \"persisted\": {{faker 'datatype.boolean'}},\n \"pushEnabled\": {{faker 'datatype.boolean'}},\n \"tlsOnly\": {{faker 'datatype.boolean'}}\n}", "latency": 0, "statusCode": 201, "label": "Namespace created", "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": "365b023c-8489-4262-8af2-2580a38636ad", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 400, "label": "Bad request", "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": "f8eb34d8-999e-4efb-ad0a-838eab50f9f4", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 401, "label": "Authentication failed", "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": "cd191eb5-98b5-4933-baf6-187617b3d49b", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 404, "label": "App not found", "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": "d08b4a48-adce-4df4-9fff-d00a47b747de", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 422, "label": "Invalid request", "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": "218ed88c-95a3-4351-b23e-350d4ed7b3e2", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 500, "label": "Internal server error", "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": "3e6258f7-662d-4387-9cb5-392ca97d2e62", "documentation": "Deletes a namespace", "method": "delete", "endpoint": "apps/:app_id/namespaces/:namespace_id", "responses": [ { "uuid": "6d9917f7-5460-4940-9861-b6771739634c", "body": "", "latency": 0, "statusCode": 204, "label": "Namespace deleted", "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": "16db7079-0e43-4c86-99bf-11699696b960", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 401, "label": "Authentication failed", "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": "ca558a8e-dd8b-4ef3-aec2-1e297d7e253d", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 404, "label": "Not found", "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": "95be1cb0-30fe-4ded-9e7d-63561e797d29", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 500, "label": "Internal server error", "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": "b30346a1-ad77-485d-a582-028847eac42d", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 504, "label": "Gateway timeout", "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": "42392b05-3ffb-402a-8849-18bbcc31fa90", "documentation": "Updates a namespace", "method": "patch", "endpoint": "apps/:app_id/namespaces/:namespace_id", "responses": [ { "uuid": "41a29960-a7d0-45d4-bc46-4f527c6ab96d", "body": "{\n \"authenticated\": {{faker 'datatype.boolean'}},\n \"created\": 1602844091815,\n \"id\": \"namespace\",\n \"modified\": 1614679682091,\n \"persistLast\": {{faker 'datatype.boolean'}},\n \"persisted\": {{faker 'datatype.boolean'}},\n \"pushEnabled\": {{faker 'datatype.boolean'}},\n \"tlsOnly\": {{faker 'datatype.boolean'}}\n}", "latency": 0, "statusCode": 200, "label": "Namespace updated", "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": "628de1b2-cb8b-486e-9889-9acc6b53b451", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 400, "label": "Bad request", "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": "7c9dddac-3f01-4bf8-afee-15e81ee54cf7", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 401, "label": "Authentication failed", "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": "caf57a60-e45c-4526-8189-21959f46a6a0", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 404, "label": "Not found", "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": "a7e8b67c-c8bb-4055-933b-1beab3cd6814", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 500, "label": "Internal server error", "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": "95704e6b-81a1-4338-abdc-581b637c89e4", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 504, "label": "Gateway timeout", "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": "b661729e-89ee-462b-b209-063a3230c4ec", "documentation": "Lists queues", "method": "get", "endpoint": "apps/:app_id/queues", "responses": [ { "uuid": "35bdbf06-3623-4011-8972-9d85a59ba0c6", "body": "[\n {\n \"amqp\": {\n \"queueName\": \"28AB6w:My queue\",\n \"uri\": \"amqps://us-east-1-a-queue.ably.io:5671/shared\"\n },\n \"appId\": \"28AB6w\",\n \"deadletter\": {{faker 'datatype.boolean'}},\n \"deadletterId\": \"28AB6w:us-east-1-a:deadletter\",\n \"id\": \"28AB6w:us-east-1-a:My queue\",\n \"maxLength\": 10000,\n \"messages\": {\n \"ready\": {{faker 'number.int' max=99999}},\n \"total\": {{faker 'number.int' max=99999}},\n \"unacknowledged\": {{faker 'number.int' max=99999}}\n },\n \"name\": \"My queue\",\n \"region\": \"eu-west-1-a\",\n \"state\": \"Running\",\n \"stats\": {\n \"acknowledgementRate\": {{faker 'number.int' max=99999}},\n \"deliveryRate\": {{faker 'number.int' max=99999}},\n \"publishRate\": {{faker 'number.int' max=99999}}\n },\n \"stomp\": {\n \"destination\": \"/amqp/queue/28AB6w:My queue\",\n \"host\": \"shared\",\n \"uri\": \"stomp://us-east-1-a-queue.ably.io:61614\"\n },\n \"ttl\": 60\n }\n]", "latency": 0, "statusCode": 200, "label": "Queue list", "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": "ae8e5137-e41b-4243-865e-1e9734491298", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 401, "label": "Authentication failed", "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": "83a6a9fc-ecfe-4ef4-8bae-b47fd5d1c870", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 404, "label": "App not found", "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": "0eaa4154-dc5c-4a7b-8ead-040c444d7a86", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 500, "label": "Internal server error", "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": "0658b807-3476-4d18-83a1-13ec68e2e20c", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 503, "label": "503 Service unavailable", "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": "f9b7c439-95c3-46b0-a2bf-ab88d7cd255e", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 504, "label": "Gateway timeout", "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": "4149395a-dcb4-49fd-aeab-adf56285c569", "documentation": "Creates a queue", "method": "post", "endpoint": "apps/:app_id/queues", "responses": [ { "uuid": "ed2cd368-6a70-4e84-98bb-9caf8314ca36", "body": "{\n \"amqp\": {\n \"queueName\": \"28AB6w:My queue\",\n \"uri\": \"amqps://us-east-1-a-queue.ably.io:5671/shared\"\n },\n \"appId\": \"28AB6w\",\n \"deadletter\": {{faker 'datatype.boolean'}},\n \"deadletterId\": \"28AB6w:us-east-1-a:deadletter\",\n \"id\": \"28AB6w:us-east-1-a:My queue\",\n \"maxLength\": 10000,\n \"messages\": {\n \"ready\": {{faker 'number.int' max=99999}},\n \"total\": {{faker 'number.int' max=99999}},\n \"unacknowledged\": {{faker 'number.int' max=99999}}\n },\n \"name\": \"My queue\",\n \"region\": \"eu-west-1-a\",\n \"state\": \"Running\",\n \"stats\": {\n \"acknowledgementRate\": {{faker 'number.int' max=99999}},\n \"deliveryRate\": {{faker 'number.int' max=99999}},\n \"publishRate\": {{faker 'number.int' max=99999}}\n },\n \"stomp\": {\n \"destination\": \"/amqp/queue/28AB6w:My queue\",\n \"host\": \"shared\",\n \"uri\": \"stomp://us-east-1-a-queue.ably.io:61614\"\n },\n \"ttl\": 60\n}", "latency": 0, "statusCode": 201, "label": "Queue created", "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": "c0d234af-8bb1-417b-b475-9ad0759a4107", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 400, "label": "Bad request", "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": "2e26f0c4-3f14-442d-a926-7b94d89d177b", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 401, "label": "Authentication failed", "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": "30f6e32a-c3f2-4f5f-939d-fc6a6be47bb2", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 404, "label": "App not found", "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": "09f668fe-9935-412e-8d55-fd3bec7b8465", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 422, "label": "Invalid request", "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": "03b03aef-7b49-4159-980a-0fbd5dfa6170", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 500, "label": "Internal server error", "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": "2807798e-7295-431b-8418-fd5001ca67ce", "documentation": "Deletes a queue", "method": "delete", "endpoint": "apps/:app_id/queues/:queue_id", "responses": [ { "uuid": "d721e3b3-b222-458c-b5d6-4ea76dbf0a6a", "body": "", "latency": 0, "statusCode": 204, "label": "Queue deleted", "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": "6eea74c0-bc97-4d99-b788-18ca1b19ea33", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 400, "label": "Bad request", "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": "e3cb1601-421e-4d0b-b5e4-c42a21645a4e", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 401, "label": "Authentication failed", "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": "db618ac9-02fc-4699-a3ee-77bd8135caaa", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 404, "label": "App not found", "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": "63bd30d2-600c-48c1-85c9-846322c5d617", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 500, "label": "Internal server error", "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": "d1caa487-698a-44a5-af66-98582e4b82c0", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 503, "label": "503 Service unavailable", "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": "b7a39267-3416-48ef-854f-f2ae530c4d44", "documentation": "Lists Reactor rules", "method": "get", "endpoint": "apps/:app_id/rules", "responses": [ { "uuid": "d7d6f58a-8036-41a8-add3-64cfab05a646", "body": "[\n {\n \"_links\": {},\n \"appId\": \"28GY6a\",\n \"created\": 1602844091815,\n \"id\": \"83IzAB\",\n \"modified\": 1614679682091,\n \"requestMode\": \"{{oneOf (array 'single' 'batch')}}\",\n \"ruleType\": \"{{oneOf (array 'http')}}\",\n \"source\": {\n \"channelFilter\": \"\",\n \"type\": \"{{oneOf (array 'channel.message' 'channel.presence' 'channel.lifecycle' 'channel.occupancy')}}\"\n },\n \"status\": \"{{oneOf (array 'enabled' 'disabled')}}\",\n \"target\": {\n \"enveloped\": {{faker 'datatype.boolean'}},\n \"format\": \"{{oneOf (array 'json' 'msgpack')}}\",\n \"headers\": [\n {\n \"name\": \"\",\n \"value\": \"\"\n }\n ],\n \"signingKeyId\": \"\",\n \"url\": \"\"\n },\n \"version\": \"\"\n }\n]", "latency": 0, "statusCode": 200, "label": "Reactor rule list", "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": "d88660f5-c264-4441-8798-ed1f0b6e1613", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 401, "label": "Authentication failed", "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": "b8ac2617-6049-4cf6-ba97-98c74c8055e2", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 404, "label": "App not found", "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": "979bd49f-ac48-4aa4-be7e-148c2eb0761b", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 500, "label": "Internal server error", "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": "0eea7d9d-04e3-42aa-b2cd-e221e74ecfcf", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 504, "label": "Gateway timeout", "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": "144d249c-6d1f-42d7-a4a6-71e8f4c9c3a0", "documentation": "Creates a Reactor rule", "method": "post", "endpoint": "apps/:app_id/rules", "responses": [ { "uuid": "be573983-9b0f-4acd-9fba-d307666344fe", "body": "{\n \"_links\": {},\n \"appId\": \"28GY6a\",\n \"created\": 1602844091815,\n \"id\": \"83IzAB\",\n \"modified\": 1614679682091,\n \"requestMode\": \"{{oneOf (array 'single' 'batch')}}\",\n \"ruleType\": \"{{oneOf (array 'http')}}\",\n \"source\": {\n \"channelFilter\": \"\",\n \"type\": \"{{oneOf (array 'channel.message' 'channel.presence' 'channel.lifecycle' 'channel.occupancy')}}\"\n },\n \"status\": \"{{oneOf (array 'enabled' 'disabled')}}\",\n \"target\": {\n \"enveloped\": {{faker 'datatype.boolean'}},\n \"format\": \"{{oneOf (array 'json' 'msgpack')}}\",\n \"headers\": [\n {\n \"name\": \"\",\n \"value\": \"\"\n }\n ],\n \"signingKeyId\": \"\",\n \"url\": \"\"\n },\n \"version\": \"\"\n}", "latency": 0, "statusCode": 201, "label": "Reactor rule created", "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": "9e234969-b457-4898-a6bd-a201531fe66a", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 400, "label": "Bad request", "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": "42fb9ba7-954d-4737-bf85-ea695e2b0a23", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 401, "label": "Authentication failed", "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": "27530c0d-7bf8-42ce-bb89-814e289d9bd4", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 404, "label": "App not found", "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": "cbcf85a2-f14a-4580-ba57-fd863620caea", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 422, "label": "Invalid request", "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": "7836bf3f-e84a-43d7-9974-a9559b2fe142", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 500, "label": "Internal server error", "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": "044e3e45-a31b-4ccc-a3cd-4f5f3add64b6", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 504, "label": "Gateway timeout", "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": "4af132dc-f9f4-4f28-a151-378832ae6344", "documentation": "Deletes a Reactor rule", "method": "delete", "endpoint": "apps/:app_id/rules/:rule_id", "responses": [ { "uuid": "85e3710f-b3a3-4249-8946-323bed27a4b4", "body": "", "latency": 0, "statusCode": 204, "label": "Reactor rule deleted", "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": "a9986941-7427-4306-b73e-659532897881", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 401, "label": "Authentication failed", "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": "a0ab48f3-e20c-4756-b8fa-c458f3678ad3", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 404, "label": "App not found", "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": "9e14b113-079a-459f-a2f3-d07f6a290941", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 500, "label": "Internal server error", "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": "2b697064-536b-4a2f-b098-9f8137e0e423", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 504, "label": "Gateway timeout", "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": "673a3623-1da8-4497-8741-d0fd8375b715", "documentation": "Gets a reactor rule by rule ID", "method": "get", "endpoint": "apps/:app_id/rules/:rule_id", "responses": [ { "uuid": "2d0b5a13-86ba-469b-b2a0-4fcd21b615df", "body": "{\n \"_links\": {},\n \"appId\": \"28GY6a\",\n \"created\": 1602844091815,\n \"id\": \"83IzAB\",\n \"modified\": 1614679682091,\n \"requestMode\": \"{{oneOf (array 'single' 'batch')}}\",\n \"ruleType\": \"{{oneOf (array 'http')}}\",\n \"source\": {\n \"channelFilter\": \"\",\n \"type\": \"{{oneOf (array 'channel.message' 'channel.presence' 'channel.lifecycle' 'channel.occupancy')}}\"\n },\n \"status\": \"{{oneOf (array 'enabled' 'disabled')}}\",\n \"target\": {\n \"enveloped\": {{faker 'datatype.boolean'}},\n \"format\": \"{{oneOf (array 'json' 'msgpack')}}\",\n \"headers\": [\n {\n \"name\": \"\",\n \"value\": \"\"\n }\n ],\n \"signingKeyId\": \"\",\n \"url\": \"\"\n },\n \"version\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Reactor rule", "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": "0aaef43a-a276-46b0-97d9-4a709e46c041", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 401, "label": "Authentication failed", "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": "fbb5b607-0384-4a1a-9643-a60fc95d9c33", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 404, "label": "Not found", "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": "cd28c0d4-4020-4e3a-b955-4e1d8c42984d", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 500, "label": "Internal server error", "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": "b7848997-8d13-42a8-a811-3a9b52f029e2", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 504, "label": "Gateway timeout", "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": "c884c393-6466-49ab-ab25-0fd57a77b35a", "documentation": "Updates a Reactor rule", "method": "patch", "endpoint": "apps/:app_id/rules/:rule_id", "responses": [ { "uuid": "9f31eca5-42bc-4a1c-8238-c820f1f5c7e2", "body": "{\n \"_links\": {},\n \"appId\": \"28GY6a\",\n \"created\": 1602844091815,\n \"id\": \"83IzAB\",\n \"modified\": 1614679682091,\n \"requestMode\": \"{{oneOf (array 'single' 'batch')}}\",\n \"ruleType\": \"{{oneOf (array 'http')}}\",\n \"source\": {\n \"channelFilter\": \"\",\n \"type\": \"{{oneOf (array 'channel.message' 'channel.presence' 'channel.lifecycle' 'channel.occupancy')}}\"\n },\n \"status\": \"{{oneOf (array 'enabled' 'disabled')}}\",\n \"target\": {\n \"enveloped\": {{faker 'datatype.boolean'}},\n \"format\": \"{{oneOf (array 'json' 'msgpack')}}\",\n \"headers\": [\n {\n \"name\": \"\",\n \"value\": \"\"\n }\n ],\n \"signingKeyId\": \"\",\n \"url\": \"\"\n },\n \"version\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Reactor rule updated", "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": "217a536f-b6bf-47a9-9d3e-5ec231386099", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 400, "label": "Bad request", "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": "fbbeb6fb-fce0-4c0b-a6e5-195416df3552", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 401, "label": "Authentication failed", "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": "e1090dfb-e951-49f1-9984-c74d63bf1131", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 404, "label": "App not found", "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": "15f65ba9-1094-43ea-b665-31a1747603f2", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 422, "label": "Invalid request", "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": "4d40d4f2-88c5-46fe-a6db-1ea57beb9e63", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 500, "label": "Internal server error", "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": "6907d470-799e-4030-b1cc-6dd3f0bed8fd", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 504, "label": "Gateway timeout", "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": "1a21fc88-b268-4f71-be22-efd7eec95cfc", "documentation": "Deletes an app", "method": "delete", "endpoint": "apps/:id", "responses": [ { "uuid": "7e0885a4-4f0a-404f-a61c-53af991044a9", "body": "", "latency": 0, "statusCode": 204, "label": "App deleted", "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": "d38f60c1-d649-4c97-9946-c4f39d99602f", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 401, "label": "Authentication failed", "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": "bcb71ecd-6497-4c02-a688-c6100ce65412", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 404, "label": "App not found", "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": "aa8f23f7-8ecd-4b57-b796-9919e5cf1b51", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 422, "label": "Invalid request", "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": "76d850af-3981-42b3-8f97-d4d082180b5f", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 500, "label": "Internal server error", "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": "db4f27ef-d3ad-4b66-9f08-babc8dc83cec", "documentation": "Updates an app", "method": "patch", "endpoint": "apps/:id", "responses": [ { "uuid": "0c83bccc-5c0e-40ee-b1b4-99b9080d1470", "body": "{\n \"_links\": {},\n \"accountId\": \"WgRpOB\",\n \"apnsUseSandboxEndpoint\": {{faker 'datatype.boolean'}},\n \"id\": \"28AB6x\",\n \"name\": \"Default\",\n \"status\": \"{{oneOf (array 'enabled' 'disabled')}}\",\n \"tlsOnly\": true\n}", "latency": 0, "statusCode": 200, "label": "App updated", "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": "8a3541ee-5f1a-424f-b4e2-5d7b0cad6411", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 400, "label": "Bad request", "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": "1adcd1ce-90dc-45e0-8929-8d01dd099b86", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 401, "label": "Authentication failed", "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": "c022ea60-e439-4124-80b8-029b0b2b046e", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 404, "label": "App not found", "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": "1fe89ee3-4283-4a10-88fa-c651aa42d71e", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 500, "label": "Internal server error", "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": "cf020626-0f80-465f-9dbf-ef0be8dc20a9", "documentation": "Updates app's APNs info from a `.p12` file", "method": "post", "endpoint": "apps/:id/pkcs12", "responses": [ { "uuid": "e4b053e5-ccc7-422a-b72b-311779643fb4", "body": "{\n \"_links\": {},\n \"accountId\": \"WgRpOB\",\n \"apnsUseSandboxEndpoint\": {{faker 'datatype.boolean'}},\n \"id\": \"28AB6x\",\n \"name\": \"Default\",\n \"status\": \"{{oneOf (array 'enabled' 'disabled')}}\",\n \"tlsOnly\": true\n}", "latency": 0, "statusCode": 200, "label": "App updated", "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": "9af588e0-1e48-41b7-a597-5db4287dca58", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 400, "label": "Bad request", "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": "88177d1e-d549-4061-ae72-4e2125e6df46", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 401, "label": "Authentication failed", "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": "f686fcf4-c553-49f6-a159-9d2a7fbb16ef", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 404, "label": "App not found", "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": "be443792-fe21-4552-a290-df2a21d6089f", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 500, "label": "Internal server error", "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": "b8d90402-8f0c-4262-abff-16265788d324", "documentation": "Get token details", "method": "get", "endpoint": "me", "responses": [ { "uuid": "92058ddc-a3f1-448b-9ef9-0f6f1ace8221", "body": "{\n \"account\": {\n \"id\": \"VpWaOA\",\n \"name\": \"Free account\"\n },\n \"token\": {\n \"capabilities\": [\n \"write:namespace\",\n \"read:namespace\",\n \"write:queue\",\n \"read:queue\",\n \"write:rule\",\n \"read:rule\",\n \"write:key\",\n \"read:key\",\n \"write:app\",\n \"read:app\"\n ],\n \"id\": \"C95837C9-184B-4CC2-8779-B769F960FADB\",\n \"name\": \"My Token\"\n },\n \"user\": {\n \"email\": \"\",\n \"id\": \"C95837C9-184B-4CC2-8779-B769F960FADB\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Token details", "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": "8c6c9d3e-55e1-4db4-b19f-693c49197195", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 401, "label": "Authentication failed", "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": "ac39c444-1fe4-4eb3-84a2-4538ade16df8", "body": "{\n \"code\": {{faker 'number.int' max=99999}},\n \"details\": {},\n \"href\": \"\",\n \"message\": \"\",\n \"statusCode\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 500, "label": "Internal server error", "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" } ], "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": "d9a52925-3df2-464d-ba46-5016aa71cf54" }, { "type": "route", "uuid": "3dd5a0bc-c17a-479c-a636-54f81fd88473" }, { "type": "route", "uuid": "417ec6bd-6d13-4eda-82f2-efae3173ee7f" }, { "type": "route", "uuid": "9988d9f7-5395-449b-95ae-7a74ec2f41d8" }, { "type": "route", "uuid": "6d7b5107-fc11-4c55-9621-20a700c86f9d" }, { "type": "route", "uuid": "bb1ef3ae-8fdb-4944-a97e-a685e1043d71" }, { "type": "route", "uuid": "8447c294-097e-48b6-955c-d3d2b31d2726" }, { "type": "route", "uuid": "a8d33f81-4409-4f9b-ad78-8cabcce860f0" }, { "type": "route", "uuid": "3e6258f7-662d-4387-9cb5-392ca97d2e62" }, { "type": "route", "uuid": "42392b05-3ffb-402a-8849-18bbcc31fa90" }, { "type": "route", "uuid": "b661729e-89ee-462b-b209-063a3230c4ec" }, { "type": "route", "uuid": "4149395a-dcb4-49fd-aeab-adf56285c569" }, { "type": "route", "uuid": "2807798e-7295-431b-8418-fd5001ca67ce" }, { "type": "route", "uuid": "b7a39267-3416-48ef-854f-f2ae530c4d44" }, { "type": "route", "uuid": "144d249c-6d1f-42d7-a4a6-71e8f4c9c3a0" }, { "type": "route", "uuid": "4af132dc-f9f4-4f28-a151-378832ae6344" }, { "type": "route", "uuid": "673a3623-1da8-4497-8741-d0fd8375b715" }, { "type": "route", "uuid": "c884c393-6466-49ab-ab25-0fd57a77b35a" }, { "type": "route", "uuid": "1a21fc88-b268-4f71-be22-efd7eec95cfc" }, { "type": "route", "uuid": "db4f27ef-d3ad-4b66-9f08-babc8dc83cec" }, { "type": "route", "uuid": "cf020626-0f80-465f-9dbf-ef0be8dc20a9" }, { "type": "route", "uuid": "b8d90402-8f0c-4262-abff-16265788d324" } ] }