{ "uuid": "07a0e872-428b-44da-842b-2ea57d5ed820", "lastMigration": 29, "name": "Redact API", "endpointPrefix": "v1/redact", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "81d74e2c-1695-4abb-8d73-6d23d312df00", "documentation": "Redact a specific message", "method": "post", "endpoint": "transaction", "responses": [ { "uuid": "c3b24945-4d23-4698-936b-da89c2f7871e", "body": "", "latency": 0, "statusCode": 204, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "438c75b9-9c7e-46b2-b76c-6f73fa21c123", "body": "{\n \"error_title\": \"Unauthorized\",\n \"type\": \"UNAUTHORIZED\"\n}", "latency": 0, "statusCode": 401, "label": "Authentication failure", "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": "eafadba0-9f2a-4a0e-8425-0ff63b42a347", "body": "{\n \"detail\": \"You must wait 60 minutes before redacting ID '0A000000B0C9A1234'\",\n \"instance\": \"bf0ca0bf927b3b52e3cb03217e1a1ddf\",\n \"title\": \"Premature Redaction\",\n \"type\": \"https://developer.nexmo.com/api-errors/redact#premature-redaction\"\n}", "latency": 0, "statusCode": 403, "label": "Authorisation denied", "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": "3de27373-f367-43a2-a067-5d0ff6a5cd29", "body": "{\n \"detail\": \"ID '0A000000B0C9A1234' could not be found (type=MT)\",\n \"instance\": \"bf0ca0bf927b3b52e3cb03217e1a1ddf\",\n \"title\": \"Invalid ID\",\n \"type\": \"https://developer.nexmo.com/api-errors#invalid-id\"\n}", "latency": 0, "statusCode": 404, "label": "No such record", "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": "98f39428-e861-439c-9e61-b5f5a52e3a85", "body": "{\n \"detail\": \"Unexpected character ('\\\"' (code 34)): was expecting comma to separate Object entries\",\n \"instance\": \"bf0ca0bf927b3b52e3cb03217e1a1ddf\",\n \"title\": \"Invalid JSON\",\n \"type\": \"https://developer.nexmo.com/api-errors#invalid-json\"\n}", "latency": 0, "statusCode": 422, "label": "Invalid JSON body", "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": "63e8838c-9a8b-4ac0-85eb-7155009e5402", "body": "{\n \"detail\": \"Please wait, then retry your request\",\n \"instance\": \"bf0ca0bf927b3b52e3cb03217e1a1ddf\",\n \"title\": \"Rate Limit Hit\",\n \"type\": \"https://developer.nexmo.com/api-errors/redact#rate-limit\"\n}", "latency": 0, "statusCode": 429, "label": "Rate Limited", "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": "81d74e2c-1695-4abb-8d73-6d23d312df00" } ] }