Skip to content

Hook for the CDA Recent Endpoint #263

Description

@krowvin

Feature Proposal

CDA offers a "/timeseries/recent" endpoint. Can we update the useCDALatest hook and/or make a new hook to use this?

Spoke with GWW committee before on the extents and if there are issues with the GoldenGate sync between our local DB and the national. Would the times in the recent be up-to-date?

Does the date-time/value show the actual latest value

And the start-date/end-date are just our metadata and it's OK if that's out of sync for what we need.

Related Context or Links

curl -X 'GET' \
  'https://cwms-data.usace.army.mil/cwms-data/timeseries/recent?office=SWT&ts-ids=KEYS.%25-Humidity.Ave.~1Day.1Day.Ccp-Rev' \
  -H 'accept: application/json' \
  -H 'Cache-Control: no-cache, no-store, max-age=0' \
  -H 'Pragma: no-cache'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestmediumMedium Priority

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions