{ "uuid": "37380c0c-6605-4ab3-a3ef-595c3d7a5fbd", "lastMigration": 29, "name": "JSON storage", "endpointPrefix": "api/json-storage", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "aaa90914-ddb2-44c6-b1a4-7174c342122e", "documentation": "Create a json bin", "method": "post", "endpoint": "bin", "responses": [ { "uuid": "7c5060ff-6bbd-4e24-b4ff-a514ec6e027b", "body": "{\n \"id\": \"\",\n \"status\": {{faker 'number.int' max=99999}},\n \"uri\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Bin information (id and URL)", "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": "722aff7f-b41c-4bba-ae21-480bad048aae", "body": "{\n \"message\": \"\",\n \"status\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 413, "label": "'JSON data too large' or 'Security key is too large'", "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": "27af0d1e-4b27-4f31-9c7f-4dee02759ca5", "body": "{\n \"message\": \"\",\n \"status\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 422, "label": "Security key is required for private bin", "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": "d2d10a1e-8b6e-48d9-831a-9062b16ef46b", "documentation": "Delete a json bin", "method": "delete", "endpoint": "bin/:id", "responses": [ { "uuid": "3e04f8ed-f0d8-46b2-bbac-f4bacfc71637", "body": "{\n \"status\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 200, "label": "Status of the deletion", "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": "3f0c5c2b-f0da-4477-95dc-5e754ed73b8d", "body": "{\n \"message\": \"\",\n \"status\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 401, "label": "Wrong security key", "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": "614dcb6a-dbb9-4ac9-ab80-05953586ff42", "body": "{\n \"message\": \"\",\n \"status\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 404, "label": "Bin 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": "4b5ced5d-05e6-4741-97d3-267efa5b675d", "body": "{\n \"message\": \"\",\n \"status\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 422, "label": "Id must be specified", "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": "a05ffb97-0ca2-4f59-867b-dad3ff69938f", "documentation": "Return a json bin", "method": "get", "endpoint": "bin/:id", "responses": [ { "uuid": "eb65cb4c-201e-41a5-b8bd-715473a270da", "body": "{}", "latency": 0, "statusCode": 200, "label": "Bin data", "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": "25433450-f34c-4933-85f7-43afc73207fc", "body": "{\n \"message\": \"\",\n \"status\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 404, "label": "Bin 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": "089713b9-79b2-4db7-b202-968e5608ebb8", "body": "{\n \"message\": \"\",\n \"status\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 422, "label": "Id must be specified", "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": "87c7ffd4-4495-496d-9be1-e41cdb1fcbb5", "documentation": "Partially update a json bin with JSON Merge Patch", "method": "patch", "endpoint": "bin/:id", "responses": [ { "uuid": "cb822c94-31d2-4d98-9295-438095e84f39", "body": "{\n \"data\": {},\n \"status\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 200, "label": "Bin data 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": "cc6b4ece-40f7-42f0-a640-56a88cf04e3a", "body": "{\n \"message\": \"\",\n \"status\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 401, "label": "Wrong security key", "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": "c95ae1e4-2fe0-4fa7-8eb6-d80b1d10f947", "body": "{\n \"message\": \"\",\n \"status\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 404, "label": "Bin 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": "a5d777cc-37ce-41cb-ba45-f44b9b336191", "body": "{\n \"message\": \"\",\n \"status\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 413, "label": "JSON data too large", "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": "ff3b4808-bdb1-4e2a-9d89-0b838859993d", "body": "{\n \"message\": \"\",\n \"status\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 422, "label": "Id must be specified", "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": "d575455d-4a13-467a-bdaf-494872442b2f", "documentation": "Update a json bin", "method": "put", "endpoint": "bin/:id", "responses": [ { "uuid": "abb09c95-48f3-4dae-a049-acf3f5e7de5f", "body": "{\n \"data\": {},\n \"status\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 200, "label": "Bin data 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": "483f3724-5d5b-48b8-b9bf-667e0a9c9a1d", "body": "{\n \"message\": \"\",\n \"status\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 401, "label": "Wrong security key", "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": "e48e6881-0c0e-4bc6-b7b2-333236eabfcb", "body": "{\n \"message\": \"\",\n \"status\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 404, "label": "Bin 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": "99400084-7da4-48d0-b3e3-052077aebbf1", "body": "{\n \"message\": \"\",\n \"status\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 413, "label": "JSON data too large", "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": "12143e07-cf58-442a-aaad-605b2489ad60", "body": "{\n \"message\": \"\",\n \"status\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 422, "label": "Id must be specified", "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": "aaa90914-ddb2-44c6-b1a4-7174c342122e" }, { "type": "route", "uuid": "d2d10a1e-8b6e-48d9-831a-9062b16ef46b" }, { "type": "route", "uuid": "a05ffb97-0ca2-4f59-867b-dad3ff69938f" }, { "type": "route", "uuid": "87c7ffd4-4495-496d-9be1-e41cdb1fcbb5" }, { "type": "route", "uuid": "d575455d-4a13-467a-bdaf-494872442b2f" } ] }