<?xml version="1.0"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>CKAN: Ticket #1019: Webhooks notification service</title>
    <link>http://localhost/ticket/1019</link>
    <description>&lt;p&gt;
We propose the following push approach using individual packages:
&lt;/p&gt;
&lt;ol&gt;&lt;li&gt;New, updated and deleted packages are pushed to a url endpoint on Wordpress (WPURL). This endpoint will be a configuration option on the CKAN side. A POST or PUT http method will get used. The payload will be a json document of the following form:
&lt;/li&gt;&lt;/ol&gt;&lt;blockquote&gt;
&lt;p&gt;
{
&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;
payload: The entity data as available from the REST API
entity-type: 'Package',
operation-type: 'create'|'update'|'delete' # one of these options
&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;
}
&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;
It will be sent as the body of the request with content-type set to application/json.
&lt;/p&gt;
&lt;ol start="2"&gt;&lt;li&gt;The wordpress side will provide a 200 on success. Any other response will be taken as a failure. On failure, submission will be archived and failure logged and notified to system administrator. Submission can be resent later automatically by sysadmin after review.
&lt;/li&gt;&lt;/ol&gt;&lt;ol start="3"&gt;&lt;li&gt;Pushes will happen continuously and approximately simultaneously with updates (a webhooks type model)
&lt;/li&gt;&lt;/ol&gt;&lt;ol start="4"&gt;&lt;li&gt;[optional] CKAN side will support configuring authorization for basic authentication if applied on WP side.
&lt;/li&gt;&lt;/ol&gt;&lt;ol start="5"&gt;&lt;li&gt;[optional] List queue status (including failures) on ckan adminstrative dashboard.
&lt;/li&gt;&lt;/ol&gt;</description>
    <language>en-us</language>
    <image>
      <title>CKAN</title>
      <url>http://assets.okfn.org/p/ckan/img/ckan_logo_shortname.png</url>
      <link>http://localhost/ticket/1019</link>
    </image>
    <generator>Trac 0.12.3</generator>
    <item>
      
        <dc:creator>pudo</dc:creator>

      <pubDate>Thu, 03 Mar 2011 15:42:10 GMT</pubDate>
      <title>status changed; resolution set</title>
      <link>http://localhost/ticket/1019#comment:1</link>
      <guid isPermaLink="false">http://localhost/ticket/1019#comment:1</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;
                changed from &lt;em&gt;new&lt;/em&gt; to &lt;em&gt;closed&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;resolution&lt;/strong&gt;
                set to &lt;em&gt;fixed&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
fixed in &lt;a class="ext-link" href="https://bitbucket.org/okfn/ckanext-webhooks/changeset/034647931921"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://bitbucket.org/okfn/ckanext-webhooks/changeset/034647931921&lt;/a&gt;
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item>
 </channel>
</rss>