Skip to content

Watcher 2.0 with WebHooks API #16

Closed
pan261 opened this issue Jan 19, 2022 · 3 comments · Fixed by #22
Closed

Watcher 2.0 with WebHooks API #16

pan261 opened this issue Jan 19, 2022 · 3 comments · Fixed by #22
Assignees
Labels
feature New feature or request

Comments

@pan261
Copy link
Contributor

pan261 commented Jan 19, 2022

https://forge.autodesk.com/en/docs/webhooks/v1/developers_guide/overview/

@pan261
Copy link
Contributor Author

pan261 commented Jan 20, 2022

Need to use ngrok or some other tool to make local port accessible through web.

Every time ngrok is started, a new hostname is assigned, and this needs to be changed in the config, rebuild docker containers

Newest commit on branch #16-watcher2.0 adds command npm run docker:build that should do this automatically

@pan261
Copy link
Contributor Author

pan261 commented Jan 20, 2022

Webhook responses are IncomingMessage types in NodeJS, must be parsed as so.
Webhooks should only need to created once, and updates should be made when access tokens expire.

@will1742 will1742 added the feature New feature or request label Jan 20, 2022
@pan261
Copy link
Contributor Author

pan261 commented Jan 20, 2022

Webhooks IncomingMessage response does not come with object storage location, downloader should be refactored to get the object storage location from the object ID

@pan261 pan261 mentioned this issue Jan 28, 2022
pan261 added a commit that referenced this issue Jan 29, 2022
Sign in to join this conversation on GitHub.
Labels
feature New feature or request
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants