Retrieving multiple versions of a keyword through the KMS API
Posted: Tue Nov 15, 2022 4:08 pm America/New_York
I am wondering if there is a way to view each version of a keyword via the API.
I see that the Concepts route in the API supports a `version` query param (https://wiki.earthdata.nasa.gov/display/ED/KMS+User%27s+Guide#KMSUser'sGuide-2.2ConceptResource). I would expect this to return the properties of the keyword for the provided version, but it seems that setting that query param only modifies the value of `<keywordVersion>` in the response, while the rest of the data stays the same, regardless of which version is specified.
For example, "NASA/JPL/EMIT > Earth Surface Mineral Dust Source Investigation, Jet Propulsion Laboratory, NASA" was updated in version 14.7, but if I request version 14.6 (https://gcmd.earthdata.nasa.gov/kms/concept/2180640a-ec49-4a1a-a063-460fcdb587a6?format=xml&version=14.6), the response body is the same as if I specify 14.7 or don't specify a version.
Am I providing the wrong value to `version` or is this the expected behavior?
Thanks!
Ed
I see that the Concepts route in the API supports a `version` query param (https://wiki.earthdata.nasa.gov/display/ED/KMS+User%27s+Guide#KMSUser'sGuide-2.2ConceptResource). I would expect this to return the properties of the keyword for the provided version, but it seems that setting that query param only modifies the value of `<keywordVersion>` in the response, while the rest of the data stays the same, regardless of which version is specified.
For example, "NASA/JPL/EMIT > Earth Surface Mineral Dust Source Investigation, Jet Propulsion Laboratory, NASA" was updated in version 14.7, but if I request version 14.6 (https://gcmd.earthdata.nasa.gov/kms/concept/2180640a-ec49-4a1a-a063-460fcdb587a6?format=xml&version=14.6), the response body is the same as if I specify 14.7 or don't specify a version.
Am I providing the wrong value to `version` or is this the expected behavior?
Thanks!
Ed