Overview
internal. re-index an attachment
Uri Parameters
| Name | Type | Description |
| fileid | int | identifies a file by ID |
Return Codes
| Name | Value | Description |
| Forbidden | 403 | Deki Wiki API key or Administrator access is required. |
| Ok | 200 | 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 file with ID 456:
Plug p = Plug.New("http://deki-hayes/@api/deki");
p.At("users", "authenticate").WithCredentials("admin", "password").Get();
p.At("files", "456", "index").Post();