docs(DEVPL-4374): folderId on List Assets endpoint#9
Draft
CoLaOnline wants to merge 1 commit intomainfrom
Draft
Conversation
Adds the new optional folderId query parameter to the list-assets operation and documents the corresponding folderId field on each asset in the response (nullable string, ObjectId format). When folderId is supplied, results are filtered to assets within the folder and all of its descendant folders, with pagination.total reflecting the filtered count. See https://webflow.atlassian.net/browse/DEVPL-4374 and webflow/webflow#106195. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
JIRA: https://webflow.atlassian.net/browse/DEVPL-4374
Monorepo PR: https://github.com/webflow/webflow/pull/106195
Summary
Documents the new
folderIdquery parameter andfolderIdresponse field for thelist-assetsoperation.When
folderIdis provided, the endpoint returns assets within that folder and all of its descendant folders, withpagination.totalreflecting the filtered count. Each asset in the response includes afolderIdfield (nullable string, ObjectId format) indicating which folder the asset belongs to (ornullif it isn't in any folder).Notes
list-assets. The runtime change keepsfolderIdstrictly on the list-assets surface;get-asset,patch-asset, and upload responses are unchanged. Adding folder context there would need a separate, deliberate spec change.assets:readcontinues to govern access).folderIdis unchanged from today).🤖 Generated with Claude Code