-
Notifications
You must be signed in to change notification settings - Fork 51
Description
Problem description
The current mechanism for confirming whether an application successfully started after a POST /appinstances request relies on the status field in the response. This bundles the creation and launch phases into a single request, often returning a status of unknown or pending, which provides limited immediate insight.
Possible evolution
Introduce a callbackUrl field in the request body for POST /appinstances and send a callback to the endpoint after the application starts / fails to start utilizing the status enum already defined.
Alternative solution
Poll GET /appinstances until status is confirmed. However, this is less efficient and doesn’t support push-based workflows.
Additional context
A callback mechanism supports push-based automation, aligns with event-driven system design, and reduces client-side complexity for deployment monitoring.