Stable recursive inventory export and Drive-wide CLI search
Please add supported CLI and SDK operations for recursive inventory and search.
Requested CLI examples:
proton-drive filesystem inventory "/shared-with-me/Audit Scope" \
--recursive \
--json \
--include id,parentid,path,type,size,createdat,modifiedat,mimetype,revision_id
proton-drive filesystem search "invoice" \
--scope "/shared-with-me/Audit Scope" \
--recursive \
--type file \
--json
Requirements:
- recursive traversal handled by the CLI/SDK;
- stable, documented JSON schema;
- support for shared folders;
- item ID and revision ID;
- canonical relative and absolute paths;
- file size, item type, MIME type, creation and modification timestamps;
- pagination and rate-limit-safe behavior;
- search by filename and path;
- optional filters for type, date, size, and folder scope;
- clear behavior for case sensitivity and duplicate filenames.
Use case:
Maintain an integrity inventory, compare metadata against a local directory, and allow fast command-line search without downloading file contents.