update rest api docu

This commit is contained in:
Sebastian Sdorra
2010-09-04 16:55:13 +02:00
parent 215060a6a5
commit 4b1e491e85
3 changed files with 260 additions and 23 deletions

View File

@@ -46,7 +46,7 @@
<pre>
GET /api/rest/groups.json
[
{ groups: [
{
name: 'group1',
members: [
@@ -59,7 +59,7 @@ GET /api/rest/groups.json
'peter', 'klaus', 'hans'
]
}
]
]}
</pre>
<a name="get"></a>
@@ -175,7 +175,7 @@ POST /api/rest/groups.json
<h3>JSON Example</h3>
<pre>
PUT /api/rest/groups.json
PUT /api/rest/groups/group3.json
{
name: 'group3',