Overview
public. Retrieves page properties.
Uri Parameters
| Name | Type | Description |
| pageid | string | either an integer page ID, "home", or "=" followed by a double uri-encoded page title |
Query Parameters
| Name | Type | Description |
| redirects | int? | If zero, do not follow page redirects. |
Return Codes
| Name | Value | Description |
| BadRequest | 400 | Invalid input parameter or request body |
| Forbidden | 403 | Update access to the page is required |
| NotFound | 404 | Requested page could not be found |
| Ok | 200 | The request completed successfully |
Message Format
Output:
<properties href="{uri}">
<language>{language}</language>
</properties>
Implementation Notes
Currently, this feature only supports the page language property.
Use PUT:pages/{pageid}/properties to set the page properties.
Code Samples
The following code example retrieves the home page language:
Plug p = Plug.New("http://deki-hayes/@api/deki");
p.At("pages", "home", "properties").Get();
Sample response indicating that the home page language is German:
<properties href="http://deki-hayes/@api/deki/pages/29/properties">
<language>de</language>
</properties>