generated from NASA-PDS/template-repo-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
Description
Checked for duplicates
Yes - I've already checked
π Describe the bug
When I did a curl of a specific API request several times over several days, the response is not changing even though the underlying database has changed.
π΅οΈ Expected behavior
I expected the response to represent the data in the database within up to 24 hours.
π To Reproduce
Cached response:
$ curl -v -L --get "https://pds.mcp.nasa.gov/api/search/1/products?limit=1000&sort=ops:Harvest_Info.ops:harvest_date_time&q=%28product_class+eq+%22Product_Context%22+and+pds%3AResource.pds%3Atype+ne+%22Information.Science_Portal%22+and+pds%3AResource.pds%3Atype+ne+%22Information.Investigation%22%29&fields=lidvid"
...
{"summary":{"hits":2945,...
Rearranging the query parameters:
$ curl -v -L --get "https://pds.mcp.nasa.gov/api/search/1/products?limit=1000&sort=ops:Harvest_Info.ops:harvest_date_time&q=%28product_class+eq+%22Product_Context%22+and+pds%3AResource.pds%3Atype+ne+%22Information.Science_Portal%22+and+pds%3AResource.pds%3Atype+ne+%22Information.Investigation%22%29&fields=lidvid"
...
{"summary":{"hits":2952,...
π₯ Environment Info
- Version of this software [e.g. vX.Y.Z]
- Operating System: [e.g. MacOSX with Docker Desktop vX.Y]
...
π Version of Software Used
No response
π©Ί Test Data / Additional context
No response
π¦ Related requirements
π¦ #xyz
βοΈ Engineering Details
No response
π Integration & Test
No response
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
π Done
Status
Done