Overview
internal. re-index a page and it's attributes
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 | Deki Wiki API key or Administrator access is required. |
| NotFound | 404 | Requested page could not be found |
| Ok | 200 | The request completed successfully |
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();