Skip to content

Allow opportunities resource search to operate asynchronously #77

@nic-planet

Description

@nic-planet

Computing opportunities can take a bit too long to be handled by a synchronous request. In the synchronous request for the sample backend, at least for the Planet API, we in fact encapsulate an asynchronous request and only return once it's finished. Also, if a customer polls results from the async opportunity collection process and only a part of the results have been gathered, it would be good if those results would already be shown, along with information how to get the following ones (basically pagination, but not creating page breaks based on the number of results, but on the time of creation). See https://developers.planet.com/docs/tasking/examples/assured/ for one way to expose this kind of functionality, in particular the "next" field that would display the next set of results (even though unused in the example).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions