public. Perform changes on multiple page properties
| Name | Type | Description |
| pageid | string | either an integer page ID, "home", or "=" followed by a double uri-encoded page title |
| 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 page 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: pages/{pageid}/properties/{key} instead. Properties are deleted if no contents node is provided. An etag is not required for deleting properties. Note that the language element is accepted for backwards compatibility.
<properties>
<property name="{text}" etag="{text}">
<contents type="{text}">{text}</contents>
<change-description>{text}</change-description>
</property>
<property name="{text}"/>
<language>{language}</language>
</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