{ "uuid": "3f55f1d5-477a-4d0f-88da-d10d1dfe6516", "lastMigration": 29, "name": "Pendo Feedback API", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "4fa96b2a-ba7c-4e68-bc75-f14ee8e899f1", "documentation": "Query accounts", "method": "get", "endpoint": "accounts", "responses": [ { "uuid": "8a06dc81-e8a5-4d27-9b6a-7aae6171eb20", "body": "[\n {\n \"created_at\": \"\",\n \"external_id\": \"\",\n \"id\": \"\",\n \"is_paying\": {{faker 'datatype.boolean'}},\n \"monthly_value\": {{faker 'number.float'}},\n \"name\": \"\",\n \"status\": \"\"\n }\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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "3e21b193-c9be-4126-ae30-b50a38012ec1", "documentation": "Delete an Account", "method": "delete", "endpoint": "accounts/:id", "responses": [ { "uuid": "839a6324-8c50-463a-b352-94fb61238962", "body": "{\n \"created_at\": \"\",\n \"external_id\": \"\",\n \"id\": \"\",\n \"is_paying\": {{faker 'datatype.boolean'}},\n \"monthly_value\": {{faker 'number.float'}},\n \"name\": \"\",\n \"status\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "the deleted Account", "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": "4c66cba7-665d-4f14-bc47-96a24378eec7", "documentation": "Get an Account", "method": "get", "endpoint": "accounts/:id", "responses": [ { "uuid": "26a4781b-1876-4a41-aa52-31a6cebcfc3d", "body": "{\n \"created_at\": \"\",\n \"external_id\": \"\",\n \"id\": \"\",\n \"is_paying\": {{faker 'datatype.boolean'}},\n \"monthly_value\": {{faker 'number.float'}},\n \"name\": \"\",\n \"status\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "an Account", "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": "b83a0561-6f86-4cc4-9424-c9f5840976dd", "body": "", "latency": 0, "statusCode": 410, "label": "Resource has been deleted", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "status", "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": "f3ee40db-1da3-42b9-a778-239f3abb2958", "documentation": "Update an Account", "method": "put", "endpoint": "accounts/:id", "responses": [ { "uuid": "ed607f0e-abdf-4b94-a1f1-2a197cf7fc9f", "body": "", "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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "e1d3f41f-7f61-4104-9d66-ab7a80b9cb4f", "documentation": "Delete custom Account tags", "method": "delete", "endpoint": "accounts/:id/tags", "responses": [ { "uuid": "19c1d20f-d755-4272-a1ed-ab8c091b37bb", "body": "", "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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "393095ca-e989-4799-abf7-39f9afc22e7c", "documentation": "Get custom Account tags", "method": "get", "endpoint": "accounts/:id/tags", "responses": [ { "uuid": "463c9115-95ee-4614-96e6-2f0da9f01e6d", "body": "", "latency": 0, "statusCode": 200, "label": "Returns an array of maps specifying tags under each tag group, for example:\n\n[\n\n{'impacts' => ['sales']},\n\n{'resources' => ['dev', 'test', 'support']}\n\n]", "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": "06339454-b49d-4126-9bcb-f58e51e41341", "body": "", "latency": 0, "statusCode": 404, "label": "Account 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" }, { "uuid": "f951e178-f536-4208-9491-5782832cefd6", "documentation": "Overwrite current custom Account tags with the given tags", "method": "post", "endpoint": "accounts/:id/tags", "responses": [ { "uuid": "30f77512-f510-48c7-815c-2193e7288d47", "body": "", "latency": 0, "statusCode": 200, "label": "Updated Account tags", "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": "5510feb9-8244-4198-beeb-147483834efc", "body": "", "latency": 0, "statusCode": 404, "label": "Account 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" }, { "uuid": "2e2a0ff3-c4fd-41b4-a2fa-ad4b3f53738f", "documentation": "fetch Comment records", "method": "get", "endpoint": "comments", "responses": [ { "uuid": "d556d0e0-2e10-4bea-9924-00775c1b4d29", "body": "[\n {\n \"created_at\": \"\",\n \"feature_id\": {{faker 'number.int' max=99999}},\n \"is_private\": {{faker 'datatype.boolean'}},\n \"text\": \"\",\n \"updated_at\": \"\",\n \"user_id\": {{faker 'number.int' max=99999}}\n }\n]", "latency": 0, "statusCode": 200, "label": "Comment records", "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": "84b3d35b-b63d-4496-ae3d-8ebdf61a0262", "documentation": "Query features", "method": "get", "endpoint": "features", "responses": [ { "uuid": "be24e32d-82dc-46fb-ac69-5d083897935a", "body": "[\n {\n \"app_url\": \"\",\n \"created_at\": \"\",\n \"created_by_user_id\": {{faker 'number.int' max=99999}},\n \"declined_at\": \"\",\n \"description\": \"\",\n \"developing_at\": \"\",\n \"effort\": {{faker 'number.int' max=99999}},\n \"form_entry\": \"\",\n \"id\": {{faker 'number.int' max=99999}},\n \"is_private\": {{faker 'datatype.boolean'}},\n \"merged_to_feature_id\": {{faker 'number.int' max=99999}},\n \"planned_at\": \"\",\n \"products\": [\n \"\"\n ],\n \"released_at\": \"\",\n \"resolution\": \"\",\n \"resolved_by_user_id\": {{faker 'number.int' max=99999}},\n \"status\": \"{{oneOf (array 'new' 'waiting' 'planned' 'developing' 'released' 'declined')}}\",\n \"status_changed_at\": \"\",\n \"tags\": \"\",\n \"title\": \"\",\n \"updated_at\": \"\",\n \"updated_by_user_id\": {{faker 'number.int' max=99999}},\n \"uploads\": [\n \"\"\n ],\n \"vendor_id\": {{faker 'number.int' max=99999}},\n \"view_count\": {{faker 'number.int' max=99999}},\n \"waiting_at\": \"\"\n }\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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "8dc41f80-986b-49f0-9ff5-73882c4cdd35", "documentation": "Get a Feature by ID", "method": "get", "endpoint": "features/:id", "responses": [ { "uuid": "77b6698a-5ba1-4a21-a09b-30a71d4a7b9c", "body": "{\n \"app_url\": \"\",\n \"created_at\": \"\",\n \"created_by_user_id\": {{faker 'number.int' max=99999}},\n \"declined_at\": \"\",\n \"description\": \"\",\n \"developing_at\": \"\",\n \"effort\": {{faker 'number.int' max=99999}},\n \"form_entry\": \"\",\n \"id\": {{faker 'number.int' max=99999}},\n \"is_private\": {{faker 'datatype.boolean'}},\n \"merged_to_feature_id\": {{faker 'number.int' max=99999}},\n \"planned_at\": \"\",\n \"products\": [\n \"\"\n ],\n \"released_at\": \"\",\n \"resolution\": \"\",\n \"resolved_by_user_id\": {{faker 'number.int' max=99999}},\n \"status\": \"{{oneOf (array 'new' 'waiting' 'planned' 'developing' 'released' 'declined')}}\",\n \"status_changed_at\": \"\",\n \"tags\": \"\",\n \"title\": \"\",\n \"updated_at\": \"\",\n \"updated_by_user_id\": {{faker 'number.int' max=99999}},\n \"uploads\": [\n \"\"\n ],\n \"vendor_id\": {{faker 'number.int' max=99999}},\n \"view_count\": {{faker 'number.int' max=99999}},\n \"waiting_at\": \"\"\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": "f24dffa9-9f51-44d2-b043-bc16325ffdbf", "documentation": "Delete custom Feature tags", "method": "delete", "endpoint": "features/:id/tags", "responses": [ { "uuid": "378c52e5-1be1-4827-b752-658de6a0c73c", "body": "", "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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "4b45bcc6-4e71-493a-b9cd-207a90c3f89c", "documentation": "Get custom Feature tags", "method": "get", "endpoint": "features/:id/tags", "responses": [ { "uuid": "6b27822f-6940-4864-9a9f-61a9f1399884", "body": "", "latency": 0, "statusCode": 200, "label": "Returns an array of maps specifying tags under each tag group, for example:\n\n[\n\n{'impacts' => ['sales']},\n\n{'resources' => ['dev', 'test', 'support']}\n\n]", "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": "b4e28d07-772f-4f4e-bc53-d5d032fef906", "body": "", "latency": 0, "statusCode": 404, "label": "Feature 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" }, { "uuid": "0d24f121-1ef1-4011-8dd2-bc1e5f6d62a6", "documentation": "Overwrite current custom Feature tags with the given tags", "method": "post", "endpoint": "features/:id/tags", "responses": [ { "uuid": "d2046990-abdd-46fb-a09a-bd2307ff88ab", "body": "", "latency": 0, "statusCode": 200, "label": "Updated Feature tags", "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": "c19e4f95-60b0-42b5-9dc6-d235dcbddf96", "body": "", "latency": 0, "statusCode": 404, "label": "Feature 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" }, { "uuid": "62e49ac3-0f7d-4499-b17d-8a15310f6f87", "documentation": "Health check for API", "method": "get", "endpoint": "health-check/ping", "responses": [ { "uuid": "b15bdcfb-a299-4c84-9bb4-314a0378ee1e", "body": "", "latency": 0, "statusCode": 200, "label": "API is healthy", "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": "95229ebc-7add-47d2-83a6-16ae3541ea16", "body": "", "latency": 0, "statusCode": 503, "label": "Load balancers cannot route a request to a healthy API server", "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": "6c7c434a-566b-4ac3-928b-40c88b9c6677", "documentation": "Subscribe to webhooks", "method": "post", "endpoint": "hooks", "responses": [ { "uuid": "f3178544-8c14-41ed-8965-26cd89ed6e0f", "body": "", "latency": 0, "statusCode": 200, "label": "Successfully subscribed to the weebhooks", "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": "190d044b-ca25-4269-b72d-aa88289c6456", "documentation": "Unsubscribe from webhooks", "method": "post", "endpoint": "hooks/unsubscribe", "responses": [ { "uuid": "2fe977d7-9779-4ea4-bcd3-3ae413dbef5d", "body": "", "latency": 0, "statusCode": 200, "label": "Successfully unsubscribed from the weebhooks", "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": "c7226faf-9a35-477b-b3c2-a4d9a9211130", "documentation": "Search features", "method": "get", "endpoint": "search", "responses": [ { "uuid": "5853ac21-f578-4d4e-9a77-8da0b74967c9", "body": "[\n {\n \"app_url\": \"\",\n \"created_at\": \"\",\n \"created_by_user_id\": {{faker 'number.int' max=99999}},\n \"declined_at\": \"\",\n \"description\": \"\",\n \"developing_at\": \"\",\n \"effort\": {{faker 'number.int' max=99999}},\n \"form_entry\": \"\",\n \"id\": {{faker 'number.int' max=99999}},\n \"is_private\": {{faker 'datatype.boolean'}},\n \"merged_to_feature_id\": {{faker 'number.int' max=99999}},\n \"planned_at\": \"\",\n \"products\": [\n \"\"\n ],\n \"released_at\": \"\",\n \"resolution\": \"\",\n \"resolved_by_user_id\": {{faker 'number.int' max=99999}},\n \"status\": \"{{oneOf (array 'new' 'waiting' 'planned' 'developing' 'released' 'declined')}}\",\n \"status_changed_at\": \"\",\n \"tags\": \"\",\n \"title\": \"\",\n \"updated_at\": \"\",\n \"updated_by_user_id\": {{faker 'number.int' max=99999}},\n \"uploads\": [\n \"\"\n ],\n \"vendor_id\": {{faker 'number.int' max=99999}},\n \"view_count\": {{faker 'number.int' max=99999}},\n \"waiting_at\": \"\"\n }\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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "ac56a948-76c6-49fc-bd21-0d0a1ad86cd8", "documentation": "fetch User records", "method": "get", "endpoint": "users", "responses": [ { "uuid": "a5b0fbc5-0434-4c51-8c69-3e36d8d58c05", "body": "[\n {\n \"account\": {\n \"id\": \"\",\n \"monthly_value\": {{faker 'number.float'}},\n \"name\": \"\",\n \"status\": \"{{oneOf (array 'paying' 'prospect' 'not_paying')}}\"\n },\n \"created_at\": \"\",\n \"email\": \"\",\n \"external_id\": \"\",\n \"id\": \"\",\n \"name\": \"\",\n \"roles\": \"{{oneOf (array 'endUser')}}\"\n }\n]", "latency": 0, "statusCode": 200, "label": "User records", "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": "b2b42a89-9de4-4cfa-9dc7-84170d39f757", "documentation": "Ping to create or update an EndUser and Account in one call", "method": "post", "endpoint": "users", "responses": [ { "uuid": "bac62782-3a27-423a-aff2-63b38b04fc6e", "body": "", "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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "f4f162ce-21f4-4523-9eea-a751b72a0b04", "documentation": "Invite an EndUser (customer)", "method": "post", "endpoint": "users/invite_end_user", "responses": [ { "uuid": "83f22349-d9a4-4a28-b77b-04742aa65d11", "body": "", "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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "1b29703c-5152-4d8d-903c-93499f9be26a", "documentation": "Invite a VendorUser (Team member)", "method": "post", "endpoint": "users/invite_vendor_user", "responses": [ { "uuid": "96d0c8ba-c349-4d18-a932-ef62bff7eda6", "body": "", "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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "5e4f5db3-82d5-47ee-bf05-54fca3190447", "documentation": "Find a User with a query", "method": "get", "endpoint": "users/search", "responses": [ { "uuid": "ca6c20b2-7b9e-4865-a245-7a857b0aee70", "body": "{\n \"account\": {\n \"id\": \"\",\n \"monthly_value\": {{faker 'number.float'}},\n \"name\": \"\",\n \"status\": \"{{oneOf (array 'paying' 'prospect' 'not_paying')}}\"\n },\n \"created_at\": \"\",\n \"email\": \"\",\n \"external_id\": \"\",\n \"id\": \"\",\n \"name\": \"\",\n \"roles\": \"{{oneOf (array 'endUser')}}\"\n}", "latency": 0, "statusCode": 200, "label": "the User record", "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": "d25629fb-025a-43cc-b060-7fb6835ddfc6", "body": "", "latency": 0, "statusCode": 410, "label": "User has been deleted", "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": "c521a575-f2d8-4c73-8d16-a7bb2515d804", "documentation": "Delete a User", "method": "delete", "endpoint": "users/:id", "responses": [ { "uuid": "33f7e055-815f-4cde-a7e3-8c002fce5ae7", "body": "{\n \"account\": {\n \"id\": \"\",\n \"monthly_value\": {{faker 'number.float'}},\n \"name\": \"\",\n \"status\": \"{{oneOf (array 'paying' 'prospect' 'not_paying')}}\"\n },\n \"created_at\": \"\",\n \"email\": \"\",\n \"external_id\": \"\",\n \"id\": \"\",\n \"name\": \"\",\n \"roles\": \"{{oneOf (array 'endUser')}}\"\n}", "latency": 0, "statusCode": 200, "label": "the deleted User", "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": "44ed9d81-6809-4e54-9569-b28a8eff38b9", "documentation": "Get a User record", "method": "get", "endpoint": "users/:id", "responses": [ { "uuid": "2fda43da-37bc-4b1e-8140-1ba0c687a0c3", "body": "{\n \"account\": {\n \"id\": \"\",\n \"monthly_value\": {{faker 'number.float'}},\n \"name\": \"\",\n \"status\": \"{{oneOf (array 'paying' 'prospect' 'not_paying')}}\"\n },\n \"created_at\": \"\",\n \"email\": \"\",\n \"external_id\": \"\",\n \"id\": \"\",\n \"name\": \"\",\n \"roles\": \"{{oneOf (array 'endUser')}}\"\n}", "latency": 0, "statusCode": 200, "label": "the User record", "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": "4640f3b7-5adf-4eed-b75e-4d33281aee75", "body": "", "latency": 0, "statusCode": 410, "label": "User has been deleted", "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": "db771aa2-dddd-49ab-809d-451dfeb5aab4", "documentation": "Update a User", "method": "put", "endpoint": "users/:id", "responses": [ { "uuid": "f45802b4-2b7b-42ec-b8bb-7cf3152f8f77", "body": "{\n \"account\": {\n \"id\": \"\",\n \"monthly_value\": {{faker 'number.float'}},\n \"name\": \"\",\n \"status\": \"{{oneOf (array 'paying' 'prospect' 'not_paying')}}\"\n },\n \"created_at\": \"\",\n \"email\": \"\",\n \"external_id\": \"\",\n \"id\": \"\",\n \"name\": \"\",\n \"roles\": \"{{oneOf (array 'endUser')}}\"\n}", "latency": 0, "statusCode": 200, "label": "updated User", "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": "c6bab6cf-54d2-4170-bd61-01222261b34d", "documentation": "Delete custom User tags", "method": "delete", "endpoint": "users/:id/tags", "responses": [ { "uuid": "d7c8ca3a-3b1f-4a3d-9a73-abe33271835c", "body": "", "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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "94a9bdcc-6438-430b-97aa-d0b01efe19ff", "documentation": "Get custom User tags", "method": "get", "endpoint": "users/:id/tags", "responses": [ { "uuid": "e45da011-2e25-484e-a350-9ca32a373199", "body": "", "latency": 0, "statusCode": 200, "label": "Returns an array of maps specifying tags under each tag group, for example:\n\n[\n\n{'impacts' => ['sales']},\n\n{'resources' => ['dev', 'test', 'support']}\n\n]", "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": "bb7746e1-9c1c-42e5-8b92-5ce1907ea927", "body": "", "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" }, { "uuid": "68ce98d4-1afc-48b4-8cf0-6bd210584c3b", "documentation": "Overwrite current custom User tags with the given tags", "method": "post", "endpoint": "users/:id/tags", "responses": [ { "uuid": "1708241a-0cf6-4c1c-9ba7-f5c8b46cdb2a", "body": "", "latency": 0, "statusCode": 200, "label": "Updated User tags", "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": "d606418b-10f1-4a52-a6ac-f1a2fbd30611", "body": "", "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" }, { "uuid": "336aaad4-ebaf-476e-a529-90bb3378d502", "documentation": "Create or update a team member by their external_id", "method": "post", "endpoint": "vendor_users", "responses": [ { "uuid": "8d4ab618-4b8c-4ac5-9456-e366e49c5f0b", "body": "", "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" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "2bb54661-11fa-4091-9707-a260614345b4", "documentation": "", "method": "get", "endpoint": "votes", "responses": [ { "uuid": "a9b067a6-7bdc-4c80-8a79-b15e77a50298", "body": "[\n {\n \"created_at\": \"\",\n \"feature_id\": {{faker 'number.int' max=99999}},\n \"quantity\": {{faker 'number.int' max=99999}},\n \"updated_at\": \"\",\n \"user_id\": {{faker 'number.int' max=99999}}\n }\n]", "latency": 0, "statusCode": 200, "label": "Vote records", "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": "eaeab1e7-442d-43fc-8d9d-3735e3270fd6", "documentation": "update specified votes for a User", "method": "post", "endpoint": "votes", "responses": [ { "uuid": "c47ab53f-aea4-4250-b92e-4ba0487ac774", "body": "", "latency": 0, "statusCode": 200, "label": "Updated votes", "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": "4fa96b2a-ba7c-4e68-bc75-f14ee8e899f1" }, { "type": "route", "uuid": "3e21b193-c9be-4126-ae30-b50a38012ec1" }, { "type": "route", "uuid": "4c66cba7-665d-4f14-bc47-96a24378eec7" }, { "type": "route", "uuid": "f3ee40db-1da3-42b9-a778-239f3abb2958" }, { "type": "route", "uuid": "e1d3f41f-7f61-4104-9d66-ab7a80b9cb4f" }, { "type": "route", "uuid": "393095ca-e989-4799-abf7-39f9afc22e7c" }, { "type": "route", "uuid": "f951e178-f536-4208-9491-5782832cefd6" }, { "type": "route", "uuid": "2e2a0ff3-c4fd-41b4-a2fa-ad4b3f53738f" }, { "type": "route", "uuid": "84b3d35b-b63d-4496-ae3d-8ebdf61a0262" }, { "type": "route", "uuid": "8dc41f80-986b-49f0-9ff5-73882c4cdd35" }, { "type": "route", "uuid": "f24dffa9-9f51-44d2-b043-bc16325ffdbf" }, { "type": "route", "uuid": "4b45bcc6-4e71-493a-b9cd-207a90c3f89c" }, { "type": "route", "uuid": "0d24f121-1ef1-4011-8dd2-bc1e5f6d62a6" }, { "type": "route", "uuid": "62e49ac3-0f7d-4499-b17d-8a15310f6f87" }, { "type": "route", "uuid": "6c7c434a-566b-4ac3-928b-40c88b9c6677" }, { "type": "route", "uuid": "190d044b-ca25-4269-b72d-aa88289c6456" }, { "type": "route", "uuid": "c7226faf-9a35-477b-b3c2-a4d9a9211130" }, { "type": "route", "uuid": "ac56a948-76c6-49fc-bd21-0d0a1ad86cd8" }, { "type": "route", "uuid": "b2b42a89-9de4-4cfa-9dc7-84170d39f757" }, { "type": "route", "uuid": "f4f162ce-21f4-4523-9eea-a751b72a0b04" }, { "type": "route", "uuid": "1b29703c-5152-4d8d-903c-93499f9be26a" }, { "type": "route", "uuid": "5e4f5db3-82d5-47ee-bf05-54fca3190447" }, { "type": "route", "uuid": "c521a575-f2d8-4c73-8d16-a7bb2515d804" }, { "type": "route", "uuid": "44ed9d81-6809-4e54-9569-b28a8eff38b9" }, { "type": "route", "uuid": "db771aa2-dddd-49ab-809d-451dfeb5aab4" }, { "type": "route", "uuid": "c6bab6cf-54d2-4170-bd61-01222261b34d" }, { "type": "route", "uuid": "94a9bdcc-6438-430b-97aa-d0b01efe19ff" }, { "type": "route", "uuid": "68ce98d4-1afc-48b4-8cf0-6bd210584c3b" }, { "type": "route", "uuid": "336aaad4-ebaf-476e-a529-90bb3378d502" }, { "type": "route", "uuid": "2bb54661-11fa-4091-9707-a260614345b4" }, { "type": "route", "uuid": "eaeab1e7-442d-43fc-8d9d-3735e3270fd6" } ] }