public. Perform changes on multiple attachment properties
| Name | Type | Description |
| fileid | int | identifies a file by ID |
| Name | Type | Description |
| authenticate | bool? | Force authentication for request (default: false) |
| redirects | int? | If zero, do not follow page redirects. |
| Name | Value | Description |
| BadRequest | 400 | Invalid input parameter or request body |
| Forbidden | 403 | UPDATE access is required |
| NotFound | 404 | Requested file could not be found |
| Ok | 200 | The request completed successfully |
Input is a list of property xml blocks. Only text values are allowed to be modified via this feature. To modify a non-text property value, use PUT: files/{fileid}/properties/{key} instead. Properties are deleted if no contents node is provided. An etag is not required for deleting properties.
<properties>
<property name="{text}" etag="{text}">
<contents type="{text}">{text}</contents>
<change-description>{text}</change-description>
</property>
<property name="{text}"/>
</properties>
Response is a list of the standard property xml blocks as well as any error blocks.
<properties count="{int}" href="{uri}">
<property name="{text}" href="{uri}" etag="{text}">
<contents type="{text}" href="{uri}">{text}</contents>
<date.modified>{date}</date.modified>
<user.modified id="{int}" href="{uri}">
<nick>{text}</nick>
<username>{text}</username>
</user.modified>
<change-description>{text}</change-description>
</property>
<property name="{text}">
<status code="{int}">
<error>
<status>{int}</status>
<title>{text}</title>
<message>{text}</message>
<uri>{uri}</uri>
</error>
</status>
</property>
</properties>
| Images 0 | ||
|---|---|---|
| No images to display in the gallery. |
Copyright © 2011 MindTouch, Inc. Powered by