public. Retrieve information for all attached files
None
| Name | Type | Description |
| authenticate | bool? | Force authentication for request (default: false) |
| numfiles | int? | Number of files to retrieve. 'ALL' for no limit. Default: 100 |
| skip | int? | Number of files to skip. Default: 0 |
| Name | Value | Description |
| BadRequest | 400 | Invalid input parameter or request body |
| Forbidden | 403 | Read access to the page sis required |
| Ok | 200 | The request completed successfully |
Output:
<files count="{int}">
<file id="{int}" href="{uri}">
<filename>{text}</filename>
<description>{text}</description>
<contents type="mimetype" size="{int}" width="{int}" height="{int}" href="{uri}" />
<contents.preview rel="thumb" type="{mimetype}" maxwidth="{int}" maxheight="{int}" href="{uri}" />
<contents.preview rel="webview" type="{mimetype}" maxwidth="{int}" maxheight="{int}" href="{uri}" />
<date.created>{date}</date.created>
<user.createdby id="{int}" href="{uri}">
<nick>{text}</nick>
<username>{text}</username>
<email>{text}</email>
</user.createdby>
<revisions count="{int}" href="{uri}" />
</file>
...
</files>
The contents.preview element only exists if a file preview is available. Preview generation requires the file to be an image and fall within a certain size.
Files in the archive are not included in the output.
| Images 0 | ||
|---|---|---|
| No images to display in the gallery. |
Copyright © 2011 MindTouch, Inc. Powered by