Overview

internal. Update and restart all local services

Uri Parameters

None

Query Parameters

None

Return Codes
NameValueDescription
Forbidden403Deki Wiki API key or Administrator access is required.
Ok200The request completed successfully

Message Format

Output:

<services>
    <service id="{int}" href="{uri}" /> 
    ...
</services>

Implementation Notes

Refer here for more information about Dream services.

Code Samples

The following code example resets all services:

Plug p = Plug.New("http://deki-hayes/@api/deki");
p.At("users", "authenticate").WithCredentials("admin", "password").Get();
p.At("site", "services").Post();

Sample response indicating that two services were reset:

<services>
    <service id="1" href="http://deki-hayes/@api/deki/site/services/1" /> 
    <service id="2" href="http://deki-hayes/@api/deki/site/services/2" /> 
</services>
Tag page
You must login to post a comment.