{ "uuid": "d11ea357-5a42-4bf9-a550-d593aefa9e0a", "lastMigration": 29, "name": "My Business Notifications API", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "7b62a550-7b47-4de1-b853-3d043de8f14a", "documentation": "Returns the pubsub notification settings for the account.", "method": "get", "endpoint": "v1/:name", "responses": [ { "uuid": "f407d6ed-79b7-40c2-8543-56e191af0a73", "body": "{\n \"name\": \"\",\n \"notificationTypes\": [\n \"{{oneOf (array 'NOTIFICATION_TYPE_UNSPECIFIED' 'GOOGLE_UPDATE' 'NEW_REVIEW' 'UPDATED_REVIEW' 'NEW_CUSTOMER_MEDIA' 'NEW_QUESTION' 'UPDATED_QUESTION' 'NEW_ANSWER' 'UPDATED_ANSWER' 'DUPLICATE_LOCATION' 'LOSS_OF_VOICE_OF_MERCHANT' 'VOICE_OF_MERCHANT_UPDATED')}}\"\n ],\n \"pubsubTopic\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "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": "1fca61a5-aeb0-431f-821b-0b9523a6ee50", "documentation": "Sets the pubsub notification setting for the account informing Google which topic to send pubsub notifications for. Use the notification_types field within notification_setting to manipulate the events an account wants to subscribe to. An account will only have one notification setting resource, and only one pubsub topic can be set. To delete the setting, update with an empty notification_types", "method": "patch", "endpoint": "v1/:name", "responses": [ { "uuid": "4d84595c-95a2-4cf9-a99b-8900d30f4550", "body": "{\n \"name\": \"\",\n \"notificationTypes\": [\n \"{{oneOf (array 'NOTIFICATION_TYPE_UNSPECIFIED' 'GOOGLE_UPDATE' 'NEW_REVIEW' 'UPDATED_REVIEW' 'NEW_CUSTOMER_MEDIA' 'NEW_QUESTION' 'UPDATED_QUESTION' 'NEW_ANSWER' 'UPDATED_ANSWER' 'DUPLICATE_LOCATION' 'LOSS_OF_VOICE_OF_MERCHANT' 'VOICE_OF_MERCHANT_UPDATED')}}\"\n ],\n \"pubsubTopic\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "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": "7b62a550-7b47-4de1-b853-3d043de8f14a" }, { "type": "route", "uuid": "1fca61a5-aeb0-431f-821b-0b9523a6ee50" } ] }