-
Notifications
You must be signed in to change notification settings - Fork 18
Provide information about Modifier to Metadata #16
Comments
https://www.dropbox.com/developers/core/docs#metadata Heads up: The following fields relating to shared folders are in production beta. Please complete this form for access. ... modifier |
Thanks, I'll take a look at adding this to the existing GetMetadata function with an additional flag. Do you know if it errors without permission or just doesn't return the modifier details? |
No idea, actually, Damian. I was busy crafting prototype for demo purposes, and thus didn't check that. Sent from my Windows Phone From: Damian Karzonmailto:notifications@github.com Thanks, I'll take a look at adding this to the existing GetMetadata function with an additional flag. Do you know if it errors without permission or just doesn't return the modifier details? — |
Since July 2014, Dropbox Core API supports Modifier data for files in personal accounts. This is available only to those apps that requested permission for that, but this is a very, very useful feature.
For now, I used the following approach:
private async Task GetMetadataEx(string relativePath)
{
string webFilePath = relativePath.Replace("", "/");
extended metadata class:
{
[JsonProperty("modifier")]
public Modifier Modifier
{
get;
set;
}
} // class
public class Modifier
{
[JsonProperty("display_name")]
public string DisplayName { get; set; }
[JsonProperty("uid")]
public string Uid { get; set; }
} // class
The text was updated successfully, but these errors were encountered: