-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Assets allow for subdirectories to be created (https://docs.requarks.io/guide/assets#asset-folders), however "wikijs images" is unable to see or upload to these subdirectories.
For example, if I have 20 assets in the root and 1 in a subdirectory, "wikijs images --limit 50" only lists the 20 assets in the root and even says "ℹ 20 asset(s) found".
Trying to upload to an asset subdirectory errors out with a 400 status (the subdirectory has already been created):
❯ wikijs upload ./Cognosdown.png --folder "/test-dir"
✖ Upload failed
✗ Request failed with status code 400Additionally, it may be better to rename the command to "assets" instead of "images" since WikiJS assets can be almost anything (any file type; images, documents, zip, etc). It would also be great, if possible, to create asset subdirectories if they do not exist when uploading to them.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels