public. Retrieve page information
Output:
<page id="{int}" href="{uri}">
<title>{text}</title>
<path>{text}</path>
</page>The page title is the user-friendly display name of the page. The page path is the full database-encoded page title.
The following code example retrieves page information about the home page:
Plug p = Plug.New("http://deki-hayes/@api/deki");
p.At("users", "authenticate").WithCredentials("admin", "password").Get();
p.At("pages", "home", "info").Get(); Sample response:
<page id="29" href="http://deki-hayes/@api/deki/pages/29">
<title>DekiWiki (Hayes)</title>
<path />
</page>