Revision: 1863
Author: [email protected]
Date: Wed Mar  3 07:18:51 2010
Log: Added FORMAT description and fixed wiki layout
http://code.google.com/p/simal/source/detail?r=1863

Modified:
 /wiki/SimalRESTAPI.wiki

=======================================
--- /wiki/SimalRESTAPI.wiki     Wed Mar  3 07:14:54 2010
+++ /wiki/SimalRESTAPI.wiki     Wed Mar  3 07:18:51 2010
@@ -12,16 +12,21 @@
 All REST URLs are of the same form:

 {{{http://foo.com/simal-rest/COMMAND/NAME_VALUE_PAIRS/FORMAT}}}
-
+
Where COMMAND is the command you wish to execute, NAME_VALUE_PAIRS is zero or more parameter names and value pairs and FORMAT is a format code that specifies the format of the response document.

+==Format==
+
+Currently, only {{{json}}} and {{{xml}}} are supported as valid data FORMATs.
+
 ==Project Data==

 ===Add a project===

 To add a project using a DOAP POST to:

-{{{http://foo.com/simal-rest/addProject
+{{{http://foo.com/simal-rest/addProject}}}
+
 The RDF project data should be contained in a parameter called rdf .

 ===Retrieve a Single Project===

--
You received this message because you are subscribed to the Google Groups "Simal 
Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/simal-commits?hl=en.

Reply via email to