Skip to content

Document documentId support for upload file endpoints - #3540

Merged
pwizla merged 2 commits into
mainfrom
cms/document-upload-file-documentid-lookup
Oct 7, 2026
Merged

pwizla merged 2 commits into
mainfrom
cms/document-upload-file-documentid-lookup

Conversation

@pwizla

@pwizla pwizla commented Oct 2, 2026 •

Copy link
Copy Markdown
Collaborator

This PR documents that the upload content API file endpoints accept a file's documentId as an alternative to its numeric id. It adds an "Identify a file by id or documentId" section to the Upload files REST API page, covering GET /api/upload/files/:id, DELETE /api/upload/files/:id, and POST /api/upload?id=x.

Documents #27834

Direct preview link 👉 here
⚠️ The branch slug for this preview URL is 42 characters long (over the 35-character limit), so the URL above is likely truncated and incorrect. It must be fixed with /inki:pr-fix once Vercel has finished building the preview.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@pwizla pwizla added flag: merge pending release Waiting for the related product PR to be merged before merging this documentation PR auto-doc-healing Automatically generated documentation PR labels Oct 2, 2026
@pwizla pwizla self-assigned this Oct 2, 2026
@strapi-cla

strapi-cla commented Oct 2, 2026 •

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ pwizla
❌ github-actions[bot]
You have signed the CLA already but the status is still pending? Let us recheck it.

@vercel

vercel Bot commented Oct 2, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
documentation Ready Ready Preview Oct 6, 2026 3:34pm UTC

Request Review

@pwizla pwizla added the automerge: approved by piwi Maintainer vouched for this PR: skip the mechanical eligibility checks and merge it label Oct 6, 2026
@pwizla
pwizla marked this pull request as ready for review October 7, 2026 13:48
@pwizla pwizla removed the flag: merge pending release Waiting for the related product PR to be merged before merging this documentation PR label Oct 7, 2026
@pwizla
pwizla merged commit 8ca80ed into main Oct 7, 2026
6 of 10 checks passed
@pwizla
pwizla deleted the cms/document-upload-file-documentid-lookup branch October 7, 2026 13:49

This branch was successfully deployed

1 active deployment
Preview — e8e4f2bb Deployed Oct 6, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-doc-healing Automatically generated documentation PR automerge: approved by piwi Maintainer vouched for this PR: skip the mechanical eligibility checks and merge it internal PRs created by the Strapi core team pr: chore source: CMS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants