Skip to content

EAM API: Support Callbacks for POST /appinstance #370

@travishepworth

Description

@travishepworth

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementSuggesting ideas for new API features or questions on directions for API evolution

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions