internal. Update a service
| Name | Type | Description |
| id | int | identifies a service by ID |
| Name | Type | Description |
| authenticate | bool? | Force authentication for request (default: false) |
| Name | Value | Description |
| BadRequest | 400 | Invalid input parameter or request body |
| Forbidden | 403 | MindTouch API key or Administrator access is required. |
| NotFound | 404 | Requested service could not be found |
| Ok | 200 | The request completed successfully |
Input:
<service>
<sid>{text}</sid>
<uri>{uri}</uri>
<type>{auth/ext}</type>
<description>{text}</description>
<status>{enabled/disabled}</status>
<init>{native/remote}</init>
<config>
<value @key={text}>{text}</value>
<value @key={test}>{text}</value>
</config>
<preferences>
<value @key={text}>{text}</value>
<value @key={test}>{text}</value>
</preferences>
</service>
Output:
<service id="{int}" href="{uri}">
<sid>{sid}</sid>
<uri>{uri}</uri>
<type>{auth|ext}</type>
<description>{text}</description>
<date.modified>{date}</date.modified>
<status>{enabled|disabled}</status>
<init>{local/remote}</init>
<lasterror>{text}</lasterror>
<config>
<value key="{text}">{text}</value>
...
</config>
<preferences>
<value key="{text}">{text}</value>
...
</preferences>
</service>
This feature allows modification of an existing service. Refer to POST: site/services for details about the input format.
| Images 0 | ||
|---|---|---|
| No images to display in the gallery. |
Copyright © 2011 MindTouch, Inc. Powered by