We are trying to integrate the Asynchronous Processing API and we have a question. Our service downloads historical satellite images from Sentinel, but it needs to stay listening for when a new image is available on Sentinel to index it.
The problem is that every day we have to query Sentinelhub for each AOI to check if a new image has been indexed, which results in 7000 requests to Sentinelhub.
My question is whether there is any type of “callback” integration where you can notify our server when there is a new result for a given task.
Also, if I create a task in Sentinelhub with the following parameter:
“data” : [ {
“dataFilter” : {
“timeRange” : {
“from” : “2022-06-20T00:00:00Z”,
“to” : “2022-06-30T23:59:59Z”
}
},
does the “to” parameter in the timeRange consider future dates? In other words, if I specify a date in the future and an image is indexed, will it be automatically uploaded to the S3 repository or do I need to create another query?
Thank you very much!