internal. re-index an attachment
| Name | Type | Description |
| fileid | int | identifies a file by ID |
| Name | Type | Description |
| authenticate | bool? | Force authentication for request (default: false) |
| Name | Value | Description |
| Forbidden | 403 | MindTouch Deki API key or Administrator access is required. |
| Ok | 200 | Request completed successfully |
None
Use GET:site/search to search the index.
Allow several minutes for search index changes to take effect.
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();