Skip to content

[Backend] -- Add Standardized “Retry-After” and “After” Semantics for Async Operations #1125

Description

@Devsol-01

Description:
When endpoints return async semantics (e.g., 202 Accepted), clients need a consistent way to know when to poll again. Implement standardized response fields:

  • retryAfterSeconds
  • operationId
  • statusEndpoint

Ensure these semantics are consistent across:

  • exports
  • background processing
  • webhook-triggered jobs

Acceptance Criteria:

  • Standard response schema implemented.
  • At least 2 async endpoints migrated.
  • Tests validate schema and values.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BackendbackendStellar WaveIssues in the Stellar wave program

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions