<?xml version="1.0" encoding="UTF-8"?>
<wiki>
  <body>&lt;h2&gt;Introduction&lt;/h2&gt;
&lt;p&gt;Believe it or not, RuckSack has a RESTful &lt;span class=&quot;caps&quot;&gt;XML&lt;/span&gt; &lt;span class=&quot;caps&quot;&gt;API&lt;/span&gt;.&lt;/p&gt;
&lt;p&gt;The &lt;span class=&quot;caps&quot;&gt;API&lt;/span&gt; is basically a freebie offered by Rails&amp;#8217; RESTful controllers, so naturally it hasn&amp;#8217;t really been formalised yet. Generally speaking, anything you can submit via a form in the interface can also be submitted in an &lt;span class=&quot;caps&quot;&gt;XML&lt;/span&gt; request.&lt;/p&gt;
&lt;p&gt;Objects covered in the &lt;span class=&quot;caps&quot;&gt;REST&lt;/span&gt; &lt;span class=&quot;caps&quot;&gt;API&lt;/span&gt; are as follows. Note that some objects are nested in other objects, notably anything that goes on a Page.&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Journals&lt;/li&gt;
	&lt;li&gt;Status&lt;/li&gt;
	&lt;li&gt;Reminders&lt;/li&gt;
	&lt;li&gt;Users
	&lt;ul&gt;
		&lt;li&gt;Journals&lt;/li&gt;
		&lt;li&gt;Reminders&lt;/li&gt;
		&lt;li&gt;Pages&lt;/li&gt;
		&lt;li&gt;Dashboard&lt;/li&gt;
		&lt;li&gt;Status&lt;/li&gt;
	&lt;/ul&gt;&lt;/li&gt;
	&lt;li&gt;Pages
	&lt;ul&gt;
		&lt;li&gt;Lists
		&lt;ul&gt;
			&lt;li&gt;ListItems&lt;/li&gt;
		&lt;/ul&gt;&lt;/li&gt;
		&lt;li&gt;Notes&lt;/li&gt;
		&lt;li&gt;Separators&lt;/li&gt;
		&lt;li&gt;Emails&lt;/li&gt;
		&lt;li&gt;UploadedFiles&lt;/li&gt;
	&lt;/ul&gt;&lt;/li&gt;
	&lt;li&gt;Session&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;As you might have already noticed, some resources are duplicated within the User resource. This is mainly for convenience &amp;#8211; the non-nested copies default to the current user, while the nested copies default to the user in the user resource.&lt;/p&gt;</body>
  <created-at type="datetime">2008-10-25T11:03:15-07:00</created-at>
  <id type="integer">72264</id>
  <permalink>rest-api</permalink>
  <repository-id type="integer">37011</repository-id>
  <title>REST API</title>
  <updated-at type="datetime">2008-10-25T11:03:15-07:00</updated-at>
  <user-id type="integer">10850</user-id>
</wiki>
