Skip to content

Conversation

@benceruleanlu
Copy link
Contributor

@benceruleanlu benceruleanlu commented Apr 26, 2025

Second iteration of the /api/userdata endpoint. Now named /api/v2/userdata

Given an optional path query parameter, walks the specified sub‑directory of a user’s data directory and returns a JSON array of entries. Each entry is an object with:

  • name: file or directory name
  • type: "file" or "directory"
  • path: relative path under the user root
  • size & modified (for files only)

Ref: #7759 (review)

@huchenlei huchenlei added the Core Core team dependency label Apr 27, 2025
@benceruleanlu benceruleanlu changed the title Add /userdata-v2 endpoint Add /api/v2/userdata endpoint Apr 27, 2025
@benceruleanlu benceruleanlu marked this pull request as ready for review April 27, 2025 01:31
@benceruleanlu benceruleanlu marked this pull request as draft April 27, 2025 01:39
@benceruleanlu benceruleanlu marked this pull request as ready for review April 27, 2025 02:34
huchenlei
huchenlei previously approved these changes Apr 27, 2025
@huchenlei huchenlei merged commit 8115a78 into comfyanonymous:master Apr 28, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Core Core team dependency

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants