Comments
-
Ok, I am thinking that to get around it, I would have to create a separate template id for each path and then limit search to that template ID via "template_filter": "id_here". BUT then I might run into "too_many_templates" error. How many is too many? What's that number?
-
@"Greg-DB" Is there a way to limit search to a particular path of items?
-
I tried wrapping options in another array - still get: "options: expected object, got array" $options = array( array( ... ) );
-
If I use "search" - what would I put for "query"? I don't know the file name - I only know the extension so I'll put that under options =>file_extensions But query is required...
-
@"Greg-DB" I can list contents of a folder with an open path but I can't download a file with just the folder name in the path, correct? If I try that, I get errors... I am trying to stay away form list -> then download, because I'd have to make 2 trips to DB - performance-wise that would not be ideal.
-
Ok, that's what I thought. The description language implies that the property would be added if it doesn't exist - the way I read it.
-
OMG it worked. I am so happy! Thanks a lot!
-
I've been struggling getting my properties to show. I created a template fine, assigned a property to an item, and now I want to view a folder list with items + see their properties. I get this error: "Error in call to API function "files/list_folder": request body: include_property_groups.filter_some: expected list, got…
-
I created a template in my app and got a response with a template id. I can also make a call in my app "get_for_user" and view the schema for the new template. BUT when I go to your API explorer, I get nothing back templates/list_for_user: "template_ids": [] Also, get_for_user: { "error_summary": "restricted_content/..",…
-
@"Greg-DB" Ah, ok, so the template is required. I guess I'll have to set that. My end goal is to assign a custom meta data to a file/folder. It sounds like I'll need to set template and then deal with that property.
-
Where before I was getting en error property_groups: expected list, got string now with this change: $meta = array( array("cat", "dog") ); $fields = array( "path" => "/ba.txt", "autorename" => false, "mode" => "overwrite", "mute" => false, "strict_conflict" => false, "property_groups" => $meta ); I am getting:…
-
@"Здравко" I am trying to but I get that error 400 - it's asking for template_id. What template is it referring to?
-
Thanks, I am a newbie, wondering if you could help: From the explorer page, I get this error ... "Dropbox-API-Arg": property_groups.template_id: '' must be at least 1 characters, got 0 Is the template required? All I am trying to do is save a custom metadata snippet with the file. I tried removing that first json_encode…
-
Yes, that worked! Thanks,