MindTouch Developer Center > MindTouch Deki > API Reference > POST:pages/{pageid}/index

Overview

internal. re-index a page and it's attributes

Uri Parameters
NameTypeDescription
pageidstringeither an integer page ID, "home", or "=" followed by a double uri-encoded page title
Query Parameters
NameTypeDescription
redirectsint?If zero, do not follow page redirects.
Return Codes
NameValueDescription
BadRequest400Invalid input parameter or request body
Forbidden403Deki Wiki API key or Administrator access is required.
NotFound404Requested page could not be found
Ok200The request completed successfully

Message Format

None

Implementation Notes

Use GET:site/search to search the index.

Allow several minutes for search index changes to take effect. 

Code Samples

The following code example re-indexes the home page:

Plug p = Plug.New("http://deki-hayes/@api/deki");
p.At("users", "authenticate").WithCredentials("admin", "password").Get();
p.At("pages", "home", "index").Post();
Tag page
You must login to post a comment.