Skip to content

Add capability for async response behaviour. #37

@bigludo7

Description

@bigludo7

Problem description
The standard behavior of the API is synchronous, although for large area requests the API may behave asynchronously

Possible evolution
An API invoquer can enforce asynchronous behavior by providing a callback URL (sink) is in the request, in this case the API sends a callback to the callback URL provided with the result of the request.
Additionally response code 202 should be added.

Alternative solution

Additional context
This is a pattern already provided in Population Density Data API and make sense to replicate it.
It means that we add in the request sink attribute & sinkCredential object.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions