2.1.4 • Published 6 years ago
tcs-endpoints v2.1.4
TCS endpoints :japanese_castle:
The Chat Shop external endpoints
Development :computer:
$ git clone git@github.com:thechatshop/tcs-endpoints.git
$ cd tcs-endpoints
$ yarn installAvailable endpoints
https://webhooks.chatservice.co/api/botengine/irish-postcode-validationhttps://webhooks.chatservice.co/api/botengine/postcode-validationhttps://webhooks.chatservice.co/api/botenginehttps://webhooks.chatservice.co/api/chat-fuel/postcodehttps://webhooks.chatservice.co/api/cron/dailyhttps://webhooks.chatservice.co/api/cron/hourlyhttps://webhooks.chatservice.co/api/escalations/createdhttps://webhooks.chatservice.co/api/livechathttps://webhooks.chatservice.co/api/mx1-sftphttps://webhooks.chatservice.co/api/trending-jobs/escalatehttps://webhooks.chatservice.co/api/convert?target=https://some-endoint.comhttps://webhooks.chatservice.co/api/mailgun/failurehttps://webhooks.chatservice.co/api/ses-crmhttps://webhooks.chatservice.co/api/ses-crm-staging
All endpoints require to pass a secret query param. Ask admins for the value.
For example POST: https://webhooks.chatservice.co/api/mailgun/failure?secret=xxxxxxxxxxxx
Testing :bomb:
$ yarn test # add -- --watch to monitor for changesDeploy :ship:
This app will automatically get published under @thechatshop/your-module-name on npm (when new code is on master and a new tag exists with vX.X.X format)
:rotating_light: Check the config.yml for more
Here is an example:
git checkout master
# Will generate a tag as well
npm version patch #or major, minor, patch
git push --follow-tagsLicense
The Chat Shop proprietary license