{ "uuid": "49d64278-d27d-4438-8a6a-29a5f65e3f97", "lastMigration": 29, "name": "User API", "endpointPrefix": "t/vbc.prod/provisioning", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "266c8167-ba5b-4be6-a910-10ea8c35734f", "documentation": "Get account users data by account ID", "method": "get", "endpoint": "api/accounts/:account_id/users", "responses": [ { "uuid": "1df7814f-0ea5-4052-b142-4e6bf030d23f", "body": "{\n \"_embedded\": {\n \"data\": [\n {\n \"contact_numbers\": [\n {\n \"type\": \"Home\",\n \"value\": \"14155550100\"\n }\n ],\n \"email\": \"john.smith@example.com\",\n \"extensions\": [\n {\n \"dids\": [\n {\n \"custom_tag\": \"My Tag\",\n \"phone_number\": \"14155550100\"\n }\n ],\n \"extension_number\": \"789\"\n }\n ],\n \"first_name\": \"John\",\n \"id\": 869048,\n \"last_name\": \"Smith\",\n \"login_name\": \"jsmith\"\n }\n ]\n },\n \"_links\": {\n \"first\": {\n \"href\": \"\"\n },\n \"next\": {\n \"href\": \"\"\n },\n \"prev\": {\n \"href\": \"\"\n },\n \"self\": {\n \"href\": \"\"\n }\n },\n \"page\": 1,\n \"page_size\": 10,\n \"total_items\": 100,\n \"total_pages\": 10\n}", "latency": 0, "statusCode": 200, "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": "87a629d0-fc76-4773-8166-56f225cfc7e0", "body": "{\n \"instance\": \"\",\n \"invalid_parameters\": [\n {\n \"name\": \"\",\n \"reason\": \"\"\n }\n ],\n \"status\": {{faker 'number.int' max=99999}},\n \"title\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "Invalid parameters given", "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": "e89ee72e-d0fd-409d-a200-1829bcc772c2", "documentation": "Get user data by account ID and user ID", "method": "get", "endpoint": "api/accounts/:account_id/users/:user_id", "responses": [ { "uuid": "3b3973ca-1cd4-4595-ba45-9071f85612b0", "body": "{\n \"_embedded\": {\n \"data\": {\n \"contact_numbers\": [\n {\n \"type\": \"Home\",\n \"value\": \"14155550100\"\n }\n ],\n \"email\": \"john.smith@example.com\",\n \"extensions\": [\n {\n \"dids\": [\n {\n \"custom_tag\": \"My Tag\",\n \"phone_number\": \"14155550100\"\n }\n ],\n \"extension_number\": \"789\"\n }\n ],\n \"first_name\": \"John\",\n \"id\": 869048,\n \"last_name\": \"Smith\",\n \"login_name\": \"jsmith\"\n }\n },\n \"_links\": {\n \"first\": {\n \"href\": \"\"\n },\n \"next\": {\n \"href\": \"\"\n },\n \"prev\": {\n \"href\": \"\"\n },\n \"self\": {\n \"href\": \"\"\n }\n },\n \"page\": 1,\n \"page_size\": 10,\n \"total_items\": 100,\n \"total_pages\": 10\n}", "latency": 0, "statusCode": 200, "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": "af0c9a4e-f80d-4cac-9f17-f9ddf5e31779", "body": "{\n \"msg\": \"\",\n \"status\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 404, "label": "User 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" } ], "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": "266c8167-ba5b-4be6-a910-10ea8c35734f" }, { "type": "route", "uuid": "e89ee72e-d0fd-409d-a200-1829bcc772c2" } ] }