Comments (5)
Would the implementation be a list of URLs that can be added to a Place that cause a POST operation (that contains an informational JSON body)> Would there be multiple lists of URLs (avatar entry, avatar exit, beacon information update, ...)?
from vircadia-metaverse.
The Github implementation is that there is a list of WebHooks which each have an URL, HTTPs cert info, a secret, and the action that invokes it. That is also a possibility.
Is having a secret associated with the hook URL sufficient? There would have to be code to hide it from non Place owners/managers (like the beacon secret).
from vircadia-metaverse.
Would the implementation be a list of URLs that can be added to a Place that cause a POST operation (that contains an informational JSON body)> Would there be multiple lists of URLs (avatar entry, avatar exit, beacon information update, ...)?
In this case, I would reckon we could follow the GitHub model of "creating a webhook" and then we get to fill out the information such as a URL, secret, and then of course the triggers for it. So we can pick which events we want to trigger this webhook. Many webhooks can then be made for a single trigger.
from vircadia-metaverse.
The Github implementation is that there is a list of WebHooks which each have an URL, HTTPs cert info, a secret, and the action that invokes it. That is also a possibility.
Is having a secret associated with the hook URL sufficient? There would have to be code to hide it from non Place owners/managers (like the beacon secret).
If those parameters are sufficient for GH then I suppose they've already considered the extent of what web hooks typically use and need, no?
Though the part about HTTPS cert info, I don't recall seeing that. I will have to look again.
from vircadia-metaverse.
My current thinking is that WebHooks would be a general feature. Maybe add them to Requests where hooks are defined for events and then scatter "Fire(event)" everywhere so there are lots of different actions that can be hooked (account adds friend, domain registered, account goes inactive, ...). There are a bunch of permission questions but that would be a general resource where anyone could create a Watcher for all sorts of different things.
from vircadia-metaverse.
Related Issues (20)
- Trying to modify a path on an existing place via the dashboard results in an error. HOT 4
- Document 'token' API with TSDoc. HOT 2
- Add password recovery function. HOT 1
- Place domain owners and managers should be able to change Place name
- Place names should have a limited character set (no spaces, ...)
- package.json does not specify required npm and node versions
- Add config for prohibited characters in username.
- Using the "addressing" feature without being published, and default domain placenames.
- I can't connect to my vircadia-metaverse HOT 5
- RFC: Inventory Use Cases and Draft API HOT 2
- installation with docker not connect in dashboard locally HOT 2
- i need change all 127.0.0.1 to local ip 192.168.0.15
- ENV
- Limit number of characters in names of entities
- Admin can't delete badly formed Places
- Places api: domain data keeps returning "active" = true, even after they get shut down. HOT 7
- Domain "active" flag doesn't go false when domain stops heartbeating HOT 2
- Non connected users appear to be counted 2 times... HOT 1
- Moved the question to vircadia. Is there any way to delete this item?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vircadia-metaverse.