Dear APEx Team,
In relation with the ESA funded project EO4Resilience, we have to deliver a representative dataset to the ESA PRR as per our project’s contractual requirements. We have successfully ingested a set of STAC Items and their associated COG assets using the reg-api-client script with our data provider credentials.
However, we now need to make some corrections to the STAC Item JSON metadata of already-ingested items, and before proceeding we would like to get clarification on the following points:
- Is it possible to modify STAC Item JSON metadata without re-uploading the COG assets?
Looking at the Registration API Swagger UI (/reg-api/docs), we can only see POST and DELETE endpoints and no PUT or PATCH. Does this mean that direct metadata-only updates are not supported? Or is there an alternative mechanism we are not aware of?
- Is the recommended procedure for metadata updates a DELETE + re-ingest workflow?
If no update endpoint is available, we assume the correct approach is to delete the existing item and re-register it with the corrected JSON. Could you confirm this is the intended procedure and whether there are any caveats to be aware of (e.g. rate limits, timing between delete and re-ingest)?
- Does DELETE remove the COG files from S3 or only the STAC catalogue entry?
This is our main concern. If DELETE also removes the physical assets from the PRR S3 bucket, we would need to re-upload the full COGs, which is time-consuming. If instead only the catalogue registration is removed and the files persist on S3, what is the correct way to re-register the item pointing to the existing S3 location rather than triggering a new asset upload?
Any clarification or pointers to documentation would be greatly appreciated. Thank you in advance for your support!
Best regards,