\r
json:\r
```\r
-{\r
-"error": "Specific error message",\r
-"request": "API path requested",\r
-"code": "HTTP error code"\r
-}\r
+ {\r
+ "error": "Specific error message",\r
+ "request": "API path requested",\r
+ "code": "HTTP error code"\r
+ }\r
```\r
\r
xml:\r
```\r
-<status>\r
-<error>Specific error message</error>\r
-<request>API path requested</request>\r
-<code>HTTP error code</code>\r
-</status>\r
+ <status>\r
+ <error>Specific error message</error>\r
+ <request>API path requested</request>\r
+ <code>HTTP error code</code>\r
+ </status>\r
```\r
\r
---\r
\r
json\r
```\r
-{\r
-"id": "photo id"\r
-"created": "date(YYYY-MM-GG HH:MM:SS)",\r
-"edited": "date(YYYY-MM-GG HH:MM:SS)",\r
-"title": "photo title",\r
-"desc": "photo description",\r
-"album": "album name",\r
-"filename": "original file name",\r
-"type": "mime type",\r
-"height": "number",\r
-"width": "number",\r
-"profile": "1 if is profile photo",\r
-"link": {\r
-"<scale>": "url to image"\r
-...\r
-},\r
-// if 'scale' is set\r
-"datasize": "size in byte",\r
-"data": "base64 encoded image data"\r
-}\r
+ {\r
+ "id": "photo id"\r
+ "created": "date(YYYY-MM-GG HH:MM:SS)",\r
+ "edited": "date(YYYY-MM-GG HH:MM:SS)",\r
+ "title": "photo title",\r
+ "desc": "photo description",\r
+ "album": "album name",\r
+ "filename": "original file name",\r
+ "type": "mime type",\r
+ "height": "number",\r
+ "width": "number",\r
+ "profile": "1 if is profile photo",\r
+ "link": {\r
+ "<scale>": "url to image"\r
+ ...\r
+ },\r
+ // if 'scale' is set\r
+ "datasize": "size in byte",\r
+ "data": "base64 encoded image data"\r
+ }\r
```\r
\r
xml\r
```\r
-<photo>\r
-<id>photo id</id>\r
-<created>date(YYYY-MM-GG HH:MM:SS)</created>\r
-<edited>date(YYYY-MM-GG HH:MM:SS)</edited>\r
-<title>photo title</title>\r
-<desc>photo description</desc>\r
-<album>album name</album>\r
-<filename>original file name</filename>\r
-<type>mime type</type>\r
-<height>number</height>\r
-<width>number</width>\r
-<profile>1 if is profile photo</profile>\r
-<links type="array">\r
-<link type="mime type" scale="scale number" href="image url"/>\r
-...\r
-</links>\r
-</photo>\r
+ <photo>\r
+ <id>photo id</id>\r
+ <created>date(YYYY-MM-GG HH:MM:SS)</created>\r
+ <edited>date(YYYY-MM-GG HH:MM:SS)</edited>\r
+ <title>photo title</title>\r
+ <desc>photo description</desc>\r
+ <album>album name</album>\r
+ <filename>original file name</filename>\r
+ <type>mime type</type>\r
+ <height>number</height>\r
+ <width>number</width>\r
+ <profile>1 if is profile photo</profile>\r
+ <links type="array">\r
+ <link type="mime type" scale="scale number" href="image url"/>\r
+ ...\r
+ </links>\r
+ </photo>\r
```\r
\r
---\r
\r
json\r
```\r
-[\r
-{\r
-id: "resource_id",\r
-album: "album name",\r
-filename: "original file name",\r
-type: "image mime type",\r
-thumb: "url to thumb sized image"\r
-},\r
-...\r
-]\r
+ [\r
+ {\r
+ id: "resource_id",\r
+ album: "album name",\r
+ filename: "original file name",\r
+ type: "image mime type",\r
+ thumb: "url to thumb sized image"\r
+ },\r
+ ...\r
+ ]\r
```\r
\r
xml\r
```\r
-<photos type="array">\r
-<photo id="resource_id"\r
-album="album name"\r
-filename="original file name"\r
-type="image mime type">\r
-"url to thumb sized image"\r
-</photo>\r
-...\r
-</photos>\r
+ <photos type="array">\r
+ <photo id="resource_id"\r
+ album="album name"\r
+ filename="original file name"\r
+ type="image mime type">\r
+ "url to thumb sized image"\r
+ </photo>\r
+ ...\r
+ </photos>\r
```\r
\r
\r