Mobile SDK > Disconnected mobile application reference > Mobile Synchronization Web Service (MobileSyncWebService) reference > URL overview > /Resources/[DIRECTORY]/[FILE] URL
 
/Resources/[DIRECTORY]/[FILE] URL
Description
Retrieves shared content and works similarly to the /Projects/PROJECT/Resources URL. The /Resources URL returns only sub-directory and file names for the top-level SharedContent directory. The sub-directory contents, and the actual files, can be retrieved using the appropriate lower level URL.
HTTP responses that contain file data also include a Last-Modified header variable. The client can use the variable to set the file-time when the file is written. The file-time avoids issues with inaccuracies in the client system clock, time-zones, and when the client later sends the time back to the server in the If-Modified-Since header variable.
The SharedContent directory is often very large after installation (for example, 12.8 MB; 4591 files in 827 directories). Similar to the /Projects/PROJECT/Resources URL, the client can retrieve the SharedContent directory structure and only download the required artifacts. For example, an application named SUPERMOBILE might only download the SUPERMOBILE sub-directory.
Get Request
Example URL:
/SPSSMR/MobileSync/Resources
Get Response
Example response:
<Resources>
  <File Name="authenticate.htm" LastModified="2013-04-12T09:01:32Z" />
  <File Name="authfailed.htm" LastModified="2013-04-12T09:01:32Z" />
  <Directory Name="Dojo" LastModified="2013-04-12T09:01:32Z" />
</Resources>
See also
URL overview