Upload-urls route has no CLI caller after #2659

Open
#2,661 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
42/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Active
Tech stack
typescript
Domain
api, cli, documentation

Research direction

Start by tracing the upload-urls route in backend/src/routes/datasets/upload.ts and checking the listed tests and docs/src/content/docs/platform/api.md entry. Determine whether the website, scripts, or other tools outside this repository call the route; the issue does not identify those callers. If none do, remove the route, its tests, and the docs entry; otherwise document the caller.

Written by the indexing model from the issue text.

Description

POST /datasets/:id/upload-urls (backend/src/routes/datasets/upload.ts, ~line 1026) has no CLI caller since PR #2659 removed the unused requestUploadUrls client. Its only callers are tests (test/iam-removal.test.ts, test/datasets-route-inventory.unit.test.ts, backend upload-gate tests), and docs/src/content/docs/platform/api.md (~line 54) still lists it as a public route.

  • Decide whether any caller outside this repo (the website, scripts, other tools) uses the route.
  • If none: remove the route, its tests and the docs entry; otherwise document who calls it.

Found during the review of #2659 (refs #921).

Dominant language
TypeScript
Stars
0
Forks
1
Avg merge
4h 48m
Merged PRs (30d)
468

Getting set up

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.

More from nemarOrg/nemar-cli

All issues in nemarOrg/nemar-cli

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.