[Rt-commit] [svn] r822 - in RTx-Atom: . lib/RTx
autrijus at pallas.eruditorum.org
autrijus at pallas.eruditorum.org
Tue May 4 02:11:02 EDT 2004
Author: autrijus
Date: Tue May 4 02:11:01 2004
New Revision: 822
Modified:
RTx-Atom/ (props changed)
RTx-Atom/lib/RTx/Atom.pm
Log:
----------------------------------------------------------------------
r4442 at not: autrijus | 2004-05-04T06:10:28.851608Z
* Use urlEncoded as the POST content type, for WSDL interop.
* Ditch XML Schema in favor of a more tolerant schema language
in Atom.
----------------------------------------------------------------------
Modified: RTx-Atom/lib/RTx/Atom.pm
==============================================================================
--- RTx-Atom/lib/RTx/Atom.pm (original)
+++ RTx-Atom/lib/RTx/Atom.pm Tue May 4 02:11:01 2004
@@ -96,11 +96,14 @@
X-WSSE: UsernameToken Username="guest", ...
200 OK
- ...schema data...
+ <entry>
+ ...
+ <link rel="service.edit" href="#Name" />
+ <link rel="service.edit" href="#EmailAddress" />
+ </entry>
POST /Atom/0.3/Users!add
- ...<Name>autrijus</Name>...
- ...<EmailAddress>autrijus at example.com</EmailAddress>...
+ Name=autrijus&EmailAddress=autrijus at example.com
303 See Other
Location: /Atom/0.3/RT-Users/20
@@ -118,10 +121,21 @@
OPTIONS /Atom/0.3/RT-Groups/1,2,3,5,8,13
200 OK
- ...schema data...
+ <entry>
+ <link rel="service.post" href="/Atom/0.3/RT-Groups/1,2,3,5,8,13!update" title="update" />
+ </entry>
+
+ OPTIONS /Atom/0.3/RT-Groups/1,2,3,5,8,13!update
+
+ 200 OK
+ <entry>
+ <link rel="service.feed" href="#Members" />
+ <link rel="service.post" href="#Members.add" />
+ <link rel="service.post" href="#Members.remove" />
+ </entry>
POST /Atom/0.3/RT-Groups/1,2,3,5,8,13!update
- ...<Members><add href="rt-fsck.com://some-id"/></Members>...
+ Members.add=30
207 Multiple Status
...<status><code>200</code><text>Member added</text>...
More information about the Rt-commit
mailing list