{ "uuid": "baa77d96-c79b-4198-a819-9b54b3e6dd80", "lastMigration": 29, "name": "Nexmo Application API", "endpointPrefix": "v1/applications", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "16e4ba81-dfbe-4fb6-be7b-f89c6010e538", "documentation": "Retrieve all Applications", "method": "get", "endpoint": "", "responses": [ { "uuid": "e6a4b0c0-56b4-4bc7-9f64-e82c344aafba", "body": "{\n \"_embedded\": {\n \"applications\": [\n {\n \"_links\": {\n \"href\": \"/v1/applications/aaaaaaaa-bbbb-cccc-dddd-0123456789ab\"\n },\n \"id\": \"aaaaaaaa-bbbb-cccc-dddd-0123456789ab\",\n \"keys\": {\n \"public_key\": \"PUBLIC_KEY\"\n },\n \"messages\": {\n \"webhooks\": [\n {\n \"endpoint\": \"https://example.com/webhooks/status\",\n \"endpoint_type\": \"{{oneOf (array 'inbound_url' 'status_url')}}\",\n \"http_method\": \"{{oneOf (array 'GET' 'POST')}}\"\n }\n ]\n },\n \"name\": \"My Application\",\n \"voice\": {\n \"webhooks\": [\n {\n \"endpoint\": \"https://example.com/webhooks/answer\",\n \"endpoint_type\": \"{{oneOf (array 'answer_url' 'event_url')}}\",\n \"http_method\": \"{{oneOf (array 'GET' 'POST')}}\"\n }\n ]\n }\n }\n ]\n },\n \"_links\": {\n \"href\": \"/v1/applications/aaaaaaaa-bbbb-cccc-dddd-0123456789ab\"\n },\n \"count\": 1,\n \"page_index\": 1,\n \"page_size\": 10\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "48595e8d-c1c3-4a99-a3ed-bb2462adc37b", "documentation": "Create Application", "method": "post", "endpoint": "", "responses": [ { "uuid": "e5c196b0-7e60-4a02-8849-f22a84961d34", "body": "{\n \"_links\": {\n \"href\": \"/v1/applications/aaaaaaaa-bbbb-cccc-dddd-0123456789ab\"\n },\n \"id\": \"aaaaaaaa-bbbb-cccc-dddd-0123456789ab\",\n \"keys\": {\n \"public_key\": \"PUBLIC_KEY\"\n },\n \"messages\": {\n \"webhooks\": [\n {\n \"endpoint\": \"https://example.com/webhooks/status\",\n \"endpoint_type\": \"{{oneOf (array 'inbound_url' 'status_url')}}\",\n \"http_method\": \"{{oneOf (array 'GET' 'POST')}}\"\n }\n ]\n },\n \"name\": \"My Application\",\n \"voice\": {\n \"webhooks\": [\n {\n \"endpoint\": \"https://example.com/webhooks/answer\",\n \"endpoint_type\": \"{{oneOf (array 'answer_url' 'event_url')}}\",\n \"http_method\": \"{{oneOf (array 'GET' 'POST')}}\"\n }\n ]\n }\n}", "latency": 0, "statusCode": 201, "label": "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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "9bf33fe0-0a0b-4eb8-8990-1a2b9425a9c6", "documentation": "Destroy Application", "method": "delete", "endpoint": ":app_id", "responses": [ { "uuid": "cbe7a23d-fec9-44fb-8f94-8ba0ca25c737", "body": "", "latency": 0, "statusCode": 204, "label": "No content", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "27f147ce-af1c-4903-b10b-81591af6d15b", "documentation": "Retrieve Application", "method": "get", "endpoint": ":app_id", "responses": [ { "uuid": "a558cc7b-9921-42b5-9b1a-da559440d088", "body": "{\n \"_links\": {\n \"href\": \"/v1/applications/aaaaaaaa-bbbb-cccc-dddd-0123456789ab\"\n },\n \"id\": \"aaaaaaaa-bbbb-cccc-dddd-0123456789ab\",\n \"keys\": {\n \"public_key\": \"PUBLIC_KEY\"\n },\n \"messages\": {\n \"webhooks\": [\n {\n \"endpoint\": \"https://example.com/webhooks/status\",\n \"endpoint_type\": \"{{oneOf (array 'inbound_url' 'status_url')}}\",\n \"http_method\": \"{{oneOf (array 'GET' 'POST')}}\"\n }\n ]\n },\n \"name\": \"My Application\",\n \"voice\": {\n \"webhooks\": [\n {\n \"endpoint\": \"https://example.com/webhooks/answer\",\n \"endpoint_type\": \"{{oneOf (array 'answer_url' 'event_url')}}\",\n \"http_method\": \"{{oneOf (array 'GET' 'POST')}}\"\n }\n ]\n }\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "e9f7bf37-3b3c-484a-9062-43ad5c2e500c", "documentation": "Update Application", "method": "put", "endpoint": ":app_id", "responses": [ { "uuid": "4c8678cf-9422-4e39-b327-cd0828837c4b", "body": "{\n \"_links\": {\n \"href\": \"/v1/applications/aaaaaaaa-bbbb-cccc-dddd-0123456789ab\"\n },\n \"id\": \"aaaaaaaa-bbbb-cccc-dddd-0123456789ab\",\n \"keys\": {\n \"public_key\": \"PUBLIC_KEY\"\n },\n \"messages\": {\n \"webhooks\": [\n {\n \"endpoint\": \"https://example.com/webhooks/status\",\n \"endpoint_type\": \"{{oneOf (array 'inbound_url' 'status_url')}}\",\n \"http_method\": \"{{oneOf (array 'GET' 'POST')}}\"\n }\n ]\n },\n \"name\": \"My Application\",\n \"voice\": {\n \"webhooks\": [\n {\n \"endpoint\": \"https://example.com/webhooks/answer\",\n \"endpoint_type\": \"{{oneOf (array 'answer_url' 'event_url')}}\",\n \"http_method\": \"{{oneOf (array 'GET' 'POST')}}\"\n }\n ]\n }\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" } ], "proxyMode": false, "proxyHost": "", "proxyRemovePrefix": false, "tlsOptions": { "enabled": false, "type": "CERT", "pfxPath": "", "certPath": "", "keyPath": "", "caPath": "", "passphrase": "" }, "cors": true, "headers": [], "proxyReqHeaders": [{ "key": "", "value": "" }], "proxyResHeaders": [{ "key": "", "value": "" }], "data": [], "folders": [], "rootChildren": [ { "type": "route", "uuid": "16e4ba81-dfbe-4fb6-be7b-f89c6010e538" }, { "type": "route", "uuid": "48595e8d-c1c3-4a99-a3ed-bb2462adc37b" }, { "type": "route", "uuid": "9bf33fe0-0a0b-4eb8-8990-1a2b9425a9c6" }, { "type": "route", "uuid": "27f147ce-af1c-4903-b10b-81591af6d15b" }, { "type": "route", "uuid": "e9f7bf37-3b3c-484a-9062-43ad5c2e500c" } ] }