Skip to content

Instantly share code, notes, and snippets.

@mauricio
Created June 12, 2012 19:58
Show Gist options
  • Select an option

  • Save mauricio/2919775 to your computer and use it in GitHub Desktop.

Select an option

Save mauricio/2919775 to your computer and use it in GitHub Desktop.
File entries call output.
<?xml version="1.0" encoding="UTF-8"?>
<results>
<folders>
<folder>
<class-name>folder</class-name>
<folder-type>home</folder-type>
<id>1983</id>
<name>Inbox</name>
<parent-folder>
<class-name>folder</class-name>
<folder-type>regular</folder-type>
<id>1982</id>
<name>Folders</name>
</parent-folder>
</folder>
<folder>
<class-name>folder</class-name>
<folder-type>regular</folder-type>
<id>1984</id>
<name>sample-root-folder</name>
<parent-folder>
<class-name>folder</class-name>
<folder-type>regular</folder-type>
<id>1982</id>
<name>Folders</name>
</parent-folder>
</folder>
</folders>
<documents>
<document>
<class-name>document</class-name>
<content-type>application/pdf</content-type>
<created-at>1969-12-31T21:00:00-03:00</created-at>
<download>http://test.host/ze/api/documents/1985/download</download>
<favorite>false</favorite>
<id>1985</id>
<name>my-docuemnt-1-1339531049.pdf</name>
<original>http://test.host/ze/api/documents/1985/original</original>
<page-count>1</page-count>
<size>3030</size>
<status>READY_FOR_USER</status>
<updated-at>1969-12-31T21:00:00-03:00</updated-at>
<view-count>100</view-count>
<viewable>false</viewable>
<folder>
<class-name>folder</class-name>
<folder-type>regular</folder-type>
<id>1984</id>
<name>sample-root-folder</name>
<parent-folder>
<class-name>folder</class-name>
<folder-type>regular</folder-type>
<id>1982</id>
<name>Folders</name>
</parent-folder>
</folder>
<labels/>
<cover>
<class-name>cover</class-name>
<display>images/icons/image-non-viewable.png</display>
<thumbnail>images/icons/64/generic.png</thumbnail>
<snippet_full>images/icons/snippet-non-viewable.png</snippet_full>
</cover>
</document>
</documents>
</results>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment