{ "uuid": "4b71527f-96bb-4d4c-9a25-54d3aab4234c", "lastMigration": 29, "name": "journy.io API docs", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "19253fea-017c-4e55-aecf-b48add5b55d8", "documentation": "Create or update account", "method": "post", "endpoint": "accounts/upsert", "responses": [ { "uuid": "248081aa-c608-4a1e-9745-e93d6f6a9fdb", "body": "{\n \"meta\": {\n \"requestId\": \"\",\n \"status\": {{faker 'number.int' max=99999}}\n }\n}", "latency": 0, "statusCode": 201, "label": "Object was created", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-RateLimit-Limit", "value": "" }, { "key": "X-RateLimit-Remaining", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "b2198340-fa18-4f5a-a3de-957eeff19460", "body": "\"\"", "latency": 0, "statusCode": 400, "label": "Bad request, some fields or parameters are incorrect", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-RateLimit-Limit", "value": "" }, { "key": "X-RateLimit-Remaining", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "9afb4761-1fd2-4b8c-900c-a6ace2568032", "body": "{\n \"meta\": {\n \"requestId\": \"\",\n \"status\": {{faker 'number.int' max=99999}}\n }\n}", "latency": 0, "statusCode": 401, "label": "No API Key was provided or the key is not authorised to perform the action", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-RateLimit-Limit", "value": "" }, { "key": "X-RateLimit-Remaining", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "6ae80fe6-7746-41fc-821f-2d462cb1ecfd", "body": "{\n \"meta\": {\n \"requestId\": \"\",\n \"status\": {{faker 'number.int' max=99999}}\n }\n}", "latency": 0, "statusCode": 429, "label": "Too many API requests were send", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-RateLimit-Limit", "value": "" }, { "key": "X-RateLimit-Remaining", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "2995c0e9-159e-4490-9927-2d2a9b805b89", "body": "{\n \"meta\": {\n \"requestId\": \"\",\n \"status\": {{faker 'number.int' max=99999}}\n }\n}", "latency": 0, "statusCode": 500, "label": "An unexpected error occurred", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-RateLimit-Limit", "value": "" }, { "key": "X-RateLimit-Remaining", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "8f467371-4c14-4c91-b86b-aaad0986ac55", "documentation": "Remove user from account", "method": "delete", "endpoint": "accounts/:accountId/users", "responses": [ { "uuid": "e9ec86e1-1b76-407a-a722-273ab68db3b1", "body": "{\n \"meta\": {\n \"requestId\": \"\",\n \"status\": {{faker 'number.int' max=99999}}\n }\n}", "latency": 0, "statusCode": 201, "label": "Object was created", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-RateLimit-Limit", "value": "" }, { "key": "X-RateLimit-Remaining", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "60bd3837-b3ef-4125-851d-8d93a9df05e9", "body": "\"\"", "latency": 0, "statusCode": 400, "label": "Bad request, some fields or parameters are incorrect", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-RateLimit-Limit", "value": "" }, { "key": "X-RateLimit-Remaining", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "4380cec0-71eb-4ab2-921e-818db82023c2", "body": "{\n \"meta\": {\n \"requestId\": \"\",\n \"status\": {{faker 'number.int' max=99999}}\n }\n}", "latency": 0, "statusCode": 401, "label": "No API Key was provided or the key is not authorised to perform the action", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-RateLimit-Limit", "value": "" }, { "key": "X-RateLimit-Remaining", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "50466218-6857-440b-9d88-3435e70dfd70", "body": "{\n \"meta\": {\n \"requestId\": \"\",\n \"status\": {{faker 'number.int' max=99999}}\n }\n}", "latency": 0, "statusCode": 403, "label": "The API Key provided is currently not enabled", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-RateLimit-Limit", "value": "" }, { "key": "X-RateLimit-Remaining", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "08052ae5-5797-47cc-9a61-99e33b1a3687", "body": "{\n \"meta\": {\n \"requestId\": \"\",\n \"status\": {{faker 'number.int' max=99999}}\n }\n}", "latency": 0, "statusCode": 429, "label": "Too many API requests were send", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-RateLimit-Limit", "value": "" }, { "key": "X-RateLimit-Remaining", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "72a6b568-0d30-4e94-86c5-7e5606a9cf76", "body": "{\n \"meta\": {\n \"requestId\": \"\",\n \"status\": {{faker 'number.int' max=99999}}\n }\n}", "latency": 0, "statusCode": 500, "label": "An unexpected error occurred", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-RateLimit-Limit", "value": "" }, { "key": "X-RateLimit-Remaining", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "7ce9b750-96a4-4bdf-97cf-4821d41ce998", "documentation": "Add user to account", "method": "post", "endpoint": "accounts/:accountId/users", "responses": [ { "uuid": "12fe2d2f-3c92-42e9-9d27-b0414c328f57", "body": "{\n \"meta\": {\n \"requestId\": \"\",\n \"status\": {{faker 'number.int' max=99999}}\n }\n}", "latency": 0, "statusCode": 201, "label": "Object was created", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-RateLimit-Limit", "value": "" }, { "key": "X-RateLimit-Remaining", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "dd180e04-931b-484c-9980-53ea28e873f5", "body": "\"\"", "latency": 0, "statusCode": 400, "label": "Bad request, some fields or parameters are incorrect", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-RateLimit-Limit", "value": "" }, { "key": "X-RateLimit-Remaining", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "9d8e0c14-84c4-4acc-9ecf-030a7d3e937c", "body": "{\n \"meta\": {\n \"requestId\": \"\",\n \"status\": {{faker 'number.int' max=99999}}\n }\n}", "latency": 0, "statusCode": 401, "label": "No API Key was provided or the key is not authorised to perform the action", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-RateLimit-Limit", "value": "" }, { "key": "X-RateLimit-Remaining", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "cdc4cb43-c966-46af-ac5b-b5460322ddc5", "body": "{\n \"meta\": {\n \"requestId\": \"\",\n \"status\": {{faker 'number.int' max=99999}}\n }\n}", "latency": 0, "statusCode": 429, "label": "Too many API requests were send", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-RateLimit-Limit", "value": "" }, { "key": "X-RateLimit-Remaining", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "17993418-7da3-4ee5-b60e-6db07aaf3f7d", "body": "{\n \"meta\": {\n \"requestId\": \"\",\n \"status\": {{faker 'number.int' max=99999}}\n }\n}", "latency": 0, "statusCode": 500, "label": "An unexpected error occurred", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-RateLimit-Limit", "value": "" }, { "key": "X-RateLimit-Remaining", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "f8067a39-d319-4739-9d70-a5f6ff820a5a", "documentation": "Push event", "method": "post", "endpoint": "events", "responses": [ { "uuid": "e926f5d1-028d-4c4a-95db-8124e9648d68", "body": "{\n \"meta\": {\n \"requestId\": \"\",\n \"status\": {{faker 'number.int' max=99999}}\n }\n}", "latency": 0, "statusCode": 201, "label": "Object was created", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-RateLimit-Limit", "value": "" }, { "key": "X-RateLimit-Remaining", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "f65639c1-6ed2-4fac-ad1f-2ec96807e3fb", "body": "\"\"", "latency": 0, "statusCode": 400, "label": "Bad request, some fields or parameters are incorrect", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-RateLimit-Limit", "value": "" }, { "key": "X-RateLimit-Remaining", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "c303de82-8fa1-4e57-902c-6ef9cc4ae9d5", "body": "{\n \"meta\": {\n \"requestId\": \"\",\n \"status\": {{faker 'number.int' max=99999}}\n }\n}", "latency": 0, "statusCode": 401, "label": "No API Key was provided or the key is not authorised to perform the action", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-RateLimit-Limit", "value": "" }, { "key": "X-RateLimit-Remaining", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "08e0aac5-7489-4432-804b-76fe0db6059b", "body": "{\n \"meta\": {\n \"requestId\": \"\",\n \"status\": {{faker 'number.int' max=99999}}\n }\n}", "latency": 0, "statusCode": 403, "label": "The API Key provided is currently not enabled", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-RateLimit-Limit", "value": "" }, { "key": "X-RateLimit-Remaining", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "744e53ca-8e96-4380-bfac-38f880859b74", "body": "{\n \"meta\": {\n \"requestId\": \"\",\n \"status\": {{faker 'number.int' max=99999}}\n }\n}", "latency": 0, "statusCode": 429, "label": "Too many API requests were send", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-RateLimit-Limit", "value": "" }, { "key": "X-RateLimit-Remaining", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "719f51ee-4e02-490c-ac95-ed81db509450", "body": "{\n \"meta\": {\n \"requestId\": \"\",\n \"status\": {{faker 'number.int' max=99999}}\n }\n}", "latency": 0, "statusCode": 500, "label": "An unexpected error occurred", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-RateLimit-Limit", "value": "" }, { "key": "X-RateLimit-Remaining", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "bbd1e411-9dbe-44ee-a535-1ecf997c4d0a", "documentation": "Link web activity to user", "method": "post", "endpoint": "link", "responses": [ { "uuid": "f1ef401d-162e-48e5-8c59-c7481b669fa5", "body": "{\n \"meta\": {\n \"requestId\": \"\",\n \"status\": {{faker 'number.int' max=99999}}\n }\n}", "latency": 0, "statusCode": 201, "label": "Object was created", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-RateLimit-Limit", "value": "" }, { "key": "X-RateLimit-Remaining", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "691968ad-13da-4792-91f5-e5586bc3cee1", "body": "\"\"", "latency": 0, "statusCode": 400, "label": "Bad request, some fields or parameters are incorrect", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-RateLimit-Limit", "value": "" }, { "key": "X-RateLimit-Remaining", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "98678443-1c89-49fe-b03c-17f689ee29a5", "body": "{\n \"meta\": {\n \"requestId\": \"\",\n \"status\": {{faker 'number.int' max=99999}}\n }\n}", "latency": 0, "statusCode": 401, "label": "No API Key was provided or the key is not authorised to perform the action", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-RateLimit-Limit", "value": "" }, { "key": "X-RateLimit-Remaining", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "dba83bd5-32ab-4a3d-936d-862d79a2afee", "body": "{\n \"meta\": {\n \"requestId\": \"\",\n \"status\": {{faker 'number.int' max=99999}}\n }\n}", "latency": 0, "statusCode": 403, "label": "The API Key provided is currently not enabled", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-RateLimit-Limit", "value": "" }, { "key": "X-RateLimit-Remaining", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "8f9a6efa-265f-41d8-8ee9-0d8defe97bcb", "body": "{\n \"meta\": {\n \"requestId\": \"\",\n \"status\": {{faker 'number.int' max=99999}}\n }\n}", "latency": 0, "statusCode": 429, "label": "Too many API requests were send", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-RateLimit-Limit", "value": "" }, { "key": "X-RateLimit-Remaining", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "f322ec20-868c-4f50-836e-ad72d9943f3f", "body": "{\n \"meta\": {\n \"requestId\": \"\",\n \"status\": {{faker 'number.int' max=99999}}\n }\n}", "latency": 0, "statusCode": 500, "label": "An unexpected error occurred", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-RateLimit-Limit", "value": "" }, { "key": "X-RateLimit-Remaining", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "8a8807e7-c8a2-4506-ac22-2d43d493cf4d", "documentation": "Get snippet for a website", "method": "get", "endpoint": "tracking/snippet", "responses": [ { "uuid": "7f2fe22a-e0b5-4f26-b133-d015c9bdad35", "body": "{\n \"meta\": {\n \"requestId\": \"\",\n \"status\": {{faker 'number.int' max=99999}}\n }\n}", "latency": 0, "statusCode": 200, "label": "Snippet", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-RateLimit-Limit", "value": "" }, { "key": "X-RateLimit-Remaining", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "bde4befc-1dd9-470c-9f9e-2ddf7b4d4225", "body": "\"\"", "latency": 0, "statusCode": 400, "label": "Bad request, some fields or parameters are incorrect", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-RateLimit-Limit", "value": "" }, { "key": "X-RateLimit-Remaining", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "2fb4304f-b165-4fa3-9ca6-2396471b0997", "body": "{\n \"meta\": {\n \"requestId\": \"\",\n \"status\": {{faker 'number.int' max=99999}}\n }\n}", "latency": 0, "statusCode": 401, "label": "No API Key was provided or the key is not authorised to perform the action", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-RateLimit-Limit", "value": "" }, { "key": "X-RateLimit-Remaining", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "b0669aa9-370c-48a6-b20b-6cf4ef7d98fb", "body": "{\n \"meta\": {\n \"requestId\": \"\",\n \"status\": {{faker 'number.int' max=99999}}\n }\n}", "latency": 0, "statusCode": 403, "label": "The API Key provided is currently not enabled", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-RateLimit-Limit", "value": "" }, { "key": "X-RateLimit-Remaining", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "f1f9c9ec-daf7-4cb0-86c8-acdad627e3ec", "body": "{\n \"meta\": {\n \"requestId\": \"\",\n \"status\": {{faker 'number.int' max=99999}}\n }\n}", "latency": 0, "statusCode": 404, "label": "Not found", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-RateLimit-Limit", "value": "" }, { "key": "X-RateLimit-Remaining", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "a2ace688-08a2-4450-9ace-c03bbabc3cc1", "body": "{\n \"meta\": {\n \"requestId\": \"\",\n \"status\": {{faker 'number.int' max=99999}}\n }\n}", "latency": 0, "statusCode": 429, "label": "Too many API requests were send", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-RateLimit-Limit", "value": "" }, { "key": "X-RateLimit-Remaining", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "f21e4be1-6e04-4e6e-b0b9-8e3606553965", "body": "{\n \"meta\": {\n \"requestId\": \"\",\n \"status\": {{faker 'number.int' max=99999}}\n }\n}", "latency": 0, "statusCode": 500, "label": "An unexpected error occurred", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-RateLimit-Limit", "value": "" }, { "key": "X-RateLimit-Remaining", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "347c9fc2-6ce9-4f9d-be16-ba2247216d7d", "documentation": "Create or update user", "method": "post", "endpoint": "users/upsert", "responses": [ { "uuid": "b9cada51-89a7-4012-8dae-6a6bdee9ab5e", "body": "{\n \"meta\": {\n \"requestId\": \"\",\n \"status\": {{faker 'number.int' max=99999}}\n }\n}", "latency": 0, "statusCode": 201, "label": "Object was created", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-RateLimit-Limit", "value": "" }, { "key": "X-RateLimit-Remaining", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "23b08b04-875d-497b-a2d5-332bff03a03f", "body": "\"\"", "latency": 0, "statusCode": 400, "label": "Bad request, some fields or parameters are incorrect", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-RateLimit-Limit", "value": "" }, { "key": "X-RateLimit-Remaining", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "c8515e48-50d5-42a6-8a05-ca2c365e50d3", "body": "{\n \"meta\": {\n \"requestId\": \"\",\n \"status\": {{faker 'number.int' max=99999}}\n }\n}", "latency": 0, "statusCode": 401, "label": "No API Key was provided or the key is not authorised to perform the action", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-RateLimit-Limit", "value": "" }, { "key": "X-RateLimit-Remaining", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "da45b9e2-5b0b-477d-bcc3-b9dc95bc6883", "body": "{\n \"meta\": {\n \"requestId\": \"\",\n \"status\": {{faker 'number.int' max=99999}}\n }\n}", "latency": 0, "statusCode": 403, "label": "The API Key provided is currently not enabled", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-RateLimit-Limit", "value": "" }, { "key": "X-RateLimit-Remaining", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "31999a4b-53d0-41de-a9b2-38a9e864356b", "body": "{\n \"meta\": {\n \"requestId\": \"\",\n \"status\": {{faker 'number.int' max=99999}}\n }\n}", "latency": 0, "statusCode": 429, "label": "Too many API requests were send", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-RateLimit-Limit", "value": "" }, { "key": "X-RateLimit-Remaining", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "5aa7f749-c9bd-4b82-a821-0e1f0fc3da69", "body": "{\n \"meta\": {\n \"requestId\": \"\",\n \"status\": {{faker 'number.int' max=99999}}\n }\n}", "latency": 0, "statusCode": 500, "label": "An unexpected error occurred", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-RateLimit-Limit", "value": "" }, { "key": "X-RateLimit-Remaining", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "70af6182-59c6-421c-9f01-f2ed77392644", "documentation": "Validate API key", "method": "get", "endpoint": "validate", "responses": [ { "uuid": "b78c210d-36ec-4a53-b642-ee94f1299f2e", "body": "{\n \"meta\": {\n \"requestId\": \"\",\n \"status\": {{faker 'number.int' max=99999}}\n }\n}", "latency": 0, "statusCode": 200, "label": "Key validation", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-RateLimit-Limit", "value": "" }, { "key": "X-RateLimit-Remaining", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "11189c01-cfa0-4f7e-851d-c43097ba4215", "body": "{\n \"meta\": {\n \"requestId\": \"\",\n \"status\": {{faker 'number.int' max=99999}}\n }\n}", "latency": 0, "statusCode": 401, "label": "No API Key was provided or the key is not authorised to perform the action", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-RateLimit-Limit", "value": "" }, { "key": "X-RateLimit-Remaining", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "0e6e8f00-fe04-4364-b555-aeaffcc3c890", "body": "{\n \"meta\": {\n \"requestId\": \"\",\n \"status\": {{faker 'number.int' max=99999}}\n }\n}", "latency": 0, "statusCode": 403, "label": "The API Key provided is currently not enabled", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-RateLimit-Limit", "value": "" }, { "key": "X-RateLimit-Remaining", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "7b8a6b72-83ea-45a2-ad4f-173712064c00", "body": "{\n \"meta\": {\n \"requestId\": \"\",\n \"status\": {{faker 'number.int' max=99999}}\n }\n}", "latency": 0, "statusCode": 429, "label": "Too many API requests were send", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-RateLimit-Limit", "value": "" }, { "key": "X-RateLimit-Remaining", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "33c0f2bc-f840-4228-b616-5050fe486d54", "body": "{\n \"meta\": {\n \"requestId\": \"\",\n \"status\": {{faker 'number.int' max=99999}}\n }\n}", "latency": 0, "statusCode": 500, "label": "An unexpected error occurred", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "X-RateLimit-Limit", "value": "" }, { "key": "X-RateLimit-Remaining", "value": "" } ], "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": "19253fea-017c-4e55-aecf-b48add5b55d8" }, { "type": "route", "uuid": "8f467371-4c14-4c91-b86b-aaad0986ac55" }, { "type": "route", "uuid": "7ce9b750-96a4-4bdf-97cf-4821d41ce998" }, { "type": "route", "uuid": "f8067a39-d319-4739-9d70-a5f6ff820a5a" }, { "type": "route", "uuid": "bbd1e411-9dbe-44ee-a535-1ecf997c4d0a" }, { "type": "route", "uuid": "8a8807e7-c8a2-4506-ac22-2d43d493cf4d" }, { "type": "route", "uuid": "347c9fc2-6ce9-4f9d-be16-ba2247216d7d" }, { "type": "route", "uuid": "70af6182-59c6-421c-9f01-f2ed77392644" } ] }