Updated the publishing-events-query.post.desc.xml.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@28731 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
N Smith
2011-06-30 15:17:08 +00:00
parent 1bceeec28e
commit 66ef19a6da

View File

@@ -1,12 +1,17 @@
<webscript> <webscript>
<shortname>Query Publishing Events</shortname> <shortname>Query Publishing Events</shortname>
<description>Queries for Publishing Events on an Environment.</description> <description>Queries for Publishing Events on an Environment.</description>
<url>/api/publishing/{environment_id}/events/query</url> <url>/api/publishing/{site_id}/{environment_id}/events/query</url>
<url>/api/publishing/{site_id}/events/query</url>
<format default="json"/> <format default="json"/>
<authentication>user</authentication> <authentication>user</authentication>
<transaction>required</transaction> <transaction>required</transaction>
<lifecycle>public_api</lifecycle> <lifecycle>public_api</lifecycle>
<args> <args>
<arg>
<shortname>site_id</shortname>
<description>The id of the site to query.</description>
</arg>
<arg> <arg>
<shortname>environment_id</shortname> <shortname>environment_id</shortname>
<description>The id of the environment to query.</description> <description>The id of the environment to query.</description>
@@ -38,7 +43,6 @@
"url": string, "url": string,
"status": string, "status": string,
"comment": string, "comment": string,
"version": string,
"scheduledTime": "scheduledTime":
{ {
"dateTime": string, "dateTime": string,
@@ -51,8 +55,24 @@
"dateTime": string, "dateTime": string,
"format": string "format": string
}, },
"publishNodes": [string, ... ], "publishNodes":
"unpublishNodes": [string, ... ], [
{
"nodeRef": string,
"name": string,
"version": string
},
...
],
"unpublishNodes":
[
{
"nodeRef": string,
"name": string,
"version": string
},
...
]
"channel": "channel":
{ {
"url": string, "url": string,