USACE / USACE/cwms-data-api

get timeseries group/location group for CWMS owned only return single district data

Open
#925 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
28
Forks
25
Avg merge
4d 22h
Merged PRs (30d)
20

Description

can we update the get timeseries/location group endpoint to only return data for a single district if the district office is entered in the office field. Similar to the update that was just made for the patch function.

Enter the group ID and category ID and if the group/category is CWMS owned you could enter a district as the office and it will just return the district data. If you enter CWMS it will return all offices data.

Not sure if that could work or if the function would need both CWMS and the district office.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the get timeseries/location group endpoint and compare its office-handling behavior with the recent patch function update. Verify the group ID and category ID cases for CWMS-owned groups: a district office should return only that district's data, while CWMS should return data for all offices.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.