public. Retrieve list of page aliases
Output:
<aliases count="{int}" href="{uri}">
<page id="{int}" href="{uri}">
<title>{text}</title>
<path>{text}</path>
</page>
...
</aliases>An alias is a page that redirects to a given page. The system automatically creates an alias when a page is moved or renamed.
The following code example retrieves the aliases for the page "Page Title":
Plug p = Plug.New("http://deki-hayes/@api/deki");
p.At("users", "authenticate").WithCredentials("admin", "password").Get();
DreamMessage msg = p.At("pages", "=Page_Title", "aliases").Get(); Sample response indicating that the page "Page Title 1" is an alias to "Page Title":
<aliases count="1" href="http://deki-hayes/@api/deki/pages/202/aliases">
<page id="207" href="http://deki-hayes/@api/deki/pages/207">
<title>Page Title 1</title>
<path>Page_Title_1</path>
</page>
</aliases>