influxdata / influxdata/openapi
Remove `/api/v2/me/password`
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 18
- Forks
- 9
- PR merge metrics
- No merged PRs in 30d
Description
`/api/v2/me/password` does not work at all. It's just implemented in a way such that it could never work correctly. I think we should actually eliminate this route from the API spec as `/api/v2/users/{userID}/password` is the correct endpoint to use for this, and is what the CLI uses. I don't think these endpoints are used on cloud for user management currently unless @glinton knows otherwise?
_Originally posted by @wbaker85 in https://github.com/influxdata/openapi/issues/249#issuecomment-998176182_
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the OpenAPI specification entry for `/api/v2/me/password` and compare it with the documented `/api/v2/users/{userID}/password` endpoint. Remove the obsolete route from the specification and verify that the user-specific password endpoint remains available and the removed route is no longer listed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- openapi
- Domain
- api
- Issue type
- Refactor
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100