Mailinglist Archive: yast-commit (2114 mails)

< Previous Next >
[yast-commit] <rest-service> master : do not use <> characters in the text
  • From: Ladislav Slezak <lslezak@xxxxxxxxxx>
  • Date: Tue, 22 Sep 2009 16:23:04 +0200
  • Message-id: <E1Mq6Ho-0002Sm-Gg@xxxxxxxxxxxxxxxx>
ref: refs/heads/master
commit bfa934738f3aa1b8a8cfa3ce8ca82dbd1373fb6f
Author: Ladislav Slezak <lslezak@xxxxxxxxxx>
Date: Fri Sep 11 14:34:49 2009 +0200

do not use <> characters in the text
---
plugins/system/restdoc/api.txt | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/plugins/system/restdoc/api.txt b/plugins/system/restdoc/api.txt
index 70c318e..435efdc 100644
--- a/plugins/system/restdoc/api.txt
+++ b/plugins/system/restdoc/api.txt
@@ -36,7 +36,7 @@ GET /system

Get the list of supported system actions. The list contains actions like
<i>reboot</i> or <i>shutdown</i>.

- CURL Example: curl -u <user> http://localhost:8080/system.xml
+ CURL Example: curl -u user http://localhost:8080/system.xml

XmlResult: system

@@ -45,7 +45,7 @@ PUT /system

Trigger a system action. Set active flag to true for the action which should
be started - see the XML example file.

- CURL example: curl -u <user> -X PUT -H 'Content-type: text/xml' -d
@reboot_request.xml http://localhost:8080/system.xml
+ CURL example: curl -u user -X PUT -H 'Content-type: text/xml' -d
@reboot_request.xml http://localhost:8080/system.xml

XmlBody: reboot_request

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages