<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: What is the proper way to get &amp;quot;server_modified&amp;quot; date from DBFILESMetadata? in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/What-is-the-proper-way-to-get-quot-server-modified-quot-date/m-p/435751#M22997</link>
    <description>&lt;P&gt;You can access the server_modified property on a&amp;nbsp;DBFILESFileMetadata (its not available on&amp;nbsp;DBFILESMetadata itself) like this:&lt;/P&gt;
&lt;PRE&gt;[[client.filesRoutes getMetadata:path] setResponseBlock:^(DBFILESMetadata * _Nullable result, DBFILESGetMetadataError * _Nullable routeError, DBRequestError * _Nullable networkError) {
    if (result) {
        if ([result isKindOfClass:[DBFILESFileMetadata class]]) {
            DBFILESFileMetadata *fileMetadata = (DBFILESFileMetadata *)result;
            NSLog(@"This is a file at path: %@ with server modified time: %@\n", fileMetadata.pathDisplay, fileMetadata.serverModified);
        } else {
            NSLog(@"Not a file.");  // folder (or deleted, if setting includeDeleted:YES)
        }
    } else {
        // error handling
    }
}];&lt;/PRE&gt;</description>
    <pubDate>Wed, 08 Jul 2020 15:10:28 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2020-07-08T15:10:28Z</dc:date>
    <item>
      <title>What is the proper way to get "server_modified" date from DBFILESMetadata?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/What-is-the-proper-way-to-get-quot-server-modified-quot-date/m-p/435634#M22993</link>
      <description>&lt;P&gt;What is the proper way to get "server_modified" date from DBFILESMetadata in Objective-C API? There is no corresponding property in the current specification, but it seems that it exists in the description property in the form of the following text.&lt;BR /&gt;{&lt;BR /&gt;"client_modified" = "2020-07-08T00:10:50Z";&lt;BR /&gt;.....&lt;BR /&gt;"server_modified" = "2020-07-08T00:10:50Z";&lt;BR /&gt;.....&lt;BR /&gt;size = 943;&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;Is it OK to assume that the format in this description property does not change?&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jul 2020 15:21:09 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/What-is-the-proper-way-to-get-quot-server-modified-quot-date/m-p/435634#M22993</guid>
      <dc:creator>Nue2</dc:creator>
      <dc:date>2020-07-08T15:21:09Z</dc:date>
    </item>
    <item>
      <title>Re: What is the proper way to get "server_modified" date from DBFILESMetadata?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/What-is-the-proper-way-to-get-quot-server-modified-quot-date/m-p/435751#M22997</link>
      <description>&lt;P&gt;You can access the server_modified property on a&amp;nbsp;DBFILESFileMetadata (its not available on&amp;nbsp;DBFILESMetadata itself) like this:&lt;/P&gt;
&lt;PRE&gt;[[client.filesRoutes getMetadata:path] setResponseBlock:^(DBFILESMetadata * _Nullable result, DBFILESGetMetadataError * _Nullable routeError, DBRequestError * _Nullable networkError) {
    if (result) {
        if ([result isKindOfClass:[DBFILESFileMetadata class]]) {
            DBFILESFileMetadata *fileMetadata = (DBFILESFileMetadata *)result;
            NSLog(@"This is a file at path: %@ with server modified time: %@\n", fileMetadata.pathDisplay, fileMetadata.serverModified);
        } else {
            NSLog(@"Not a file.");  // folder (or deleted, if setting includeDeleted:YES)
        }
    } else {
        // error handling
    }
}];&lt;/PRE&gt;</description>
      <pubDate>Wed, 08 Jul 2020 15:10:28 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/What-is-the-proper-way-to-get-quot-server-modified-quot-date/m-p/435751#M22997</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-07-08T15:10:28Z</dc:date>
    </item>
  </channel>
</rss>

