Git Product home page Git Product logo

Comments (5)

Misterblue avatar Misterblue commented on August 26, 2024

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.

Misterblue avatar Misterblue commented on August 26, 2024

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.

digisomni avatar digisomni commented on August 26, 2024

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.

digisomni avatar digisomni commented on August 26, 2024

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.

Misterblue avatar Misterblue commented on August 26, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.