USACE / USACE/cwms-data-api

Consistency: /levels getOne method does not have a time zone parameter

Open
#528 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

The getOne endpoint differs from most other endpoints that have date-time parameters in that it does not specify and optional time zone. This means the time is assumed to be UTC or needs to be provided in the ISO-8601 format.

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 at the /levels getOne endpoint and compare its date-time parameters with those in the other endpoints mentioned in the issue. Done means getOne accepts an optional time zone consistently with those endpoints; the payload does not name a source file or test, so locate the relevant Java entry point and tests first.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.