To find recently deleted collections from the provider “GCMDTEST” invoke the following cURL.
For information about creating a token: Creating a Token
This also supports usage of date parameters: https://api.echo.nasa.gov/catalog-rest/ingest-docs/resource_deleted_collections_deleted_collections.html
curl -H "Echo-Token: <token here>" https://testbed.echo.nasa.gov/catalog-rest/providers/GCMDTEST/deleted_collections |
Sample Response:
<?xml version="1.0" encoding="UTF-8"?> <DeletedCollections type="array"> <DeletedCollection> <dataset-id>AAA Agricultural Dataset </dataset-id> <deleted-at type="datetime">2014-01-27T20:28:57Z</deleted-at> <echo-collection-id>C1000000000-OPS_ECHO10</echo-collection-id> <id type="integer">10000</id> <provider-id>OPS_ECHO10</provider-id> </DeletedCollection> </DeletedCollections> |