question

Mahdouch avatar image
Mahdouch asked

How to handle spaces in filter values?

Is there a specific format for handling spaces in node names. For example, the following filter nodes/ /children?filters=kind:FOLDER AND name:My Folder doesn't return the expected folder. if I change it to name:My* then it returns a result, but I would prefer a more deterministic direct lookup approach. I've tried urlencoding the filter, putting it between parenthesis but that it didn't work. This should be documented in the filter section. The documentation is a bit scarce in my opinion.
amazon drive
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Sean Callahan avatar image
Sean Callahan answered
Thank you for your post. For file names with spaces, you will have to escape it. Example: For filename, "test Photo”, in the request: {"filters": "name:test\ Photo”}
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.