ynput / ayon-backend

Server codebase with API access to AYON
Apache License 2.0
22 stars 17 forks source link

Webactions: Add option to abort action with reason #384

Closed iLLiCiTiT closed 1 month ago

iLLiCiTiT commented 1 month ago

Story

When webaction is triggered and it should launch AYON launcher an event is created to monitor it's status. But in case user did not login in AYON launcher, it is not possible to change the status because ayon api does not have api key to use.

Problems

Avoid having In progress events related to action launch, and add information (reason) to the event why failed.

Proposal

Implement /abort/{token} endpoint where token is the same which is used for /take/{token} used to get the event. So AYON launcher does not have to have valid API key.

TODO