Skip to content

refactor(api): remove the two API routes nothing calls - #227

Merged
ernolf merged 1 commit into
mainfrom
ernolf/refactor/remove-dead-api-routes
Dec 2, 2026
Merged

ernolf merged 1 commit into
mainfrom
ernolf/refactor/remove-dead-api-routes

Conversation

@ernolf

@ernolf ernolf commented Dec 2, 2026

Copy link
Copy Markdown
Owner

Closes #223

  • GET /api/v1/raw-public-url and GET /api/v1/raw-shares/{fileId} are gone, with PublicUrlController and RawShareApiController::listByFileId(). The Files sidebar works per share and calls only GET/POST /api/v1/raw-share/{shareId}, whose answers already carry rawUrl; no commit of the frontend ever called the two.
  • IRootFolder and normalizeShareId() leave RawShareApiController with the method that alone used them.
  • PublicUrlBuilder and the legacy redirect routes stay.

Signed-off-by: ernolf <raphael.gradenwitz@googlemail.com>
@ernolf ernolf self-assigned this Dec 2, 2026
@ernolf ernolf added enhancement New feature or request php Pull requests that update php code labels Dec 2, 2026
@ernolf

ernolf commented Dec 2, 2026

Copy link
Copy Markdown
Owner Author

/backport to stable0.9

@ernolf
ernolf merged commit 4b2cd50 into main Dec 2, 2026
53 checks passed
@github-actions
github-actions Bot deleted the ernolf/refactor/remove-dead-api-routes branch December 2, 2026 06:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request php Pull requests that update php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove the API routes raw-public-url and raw-shares, which nothing calls

1 participant