mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
- moved all REST api webscripts for blog, forum and comments to /api
- typo fix in resource bundle git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9976 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
<webscript>
|
||||
<shortname>Blog</shortname>
|
||||
<description>Get the blog information</description>
|
||||
<url>/blog/site/{site}/{container}/{path}</url>
|
||||
<url>/blog/site/{site}/{container}</url>
|
||||
<url>/blog/node/{store_type}/{store_id}/{id}</url>
|
||||
<url>/api/blog/site/{site}/{container}/{path}</url>
|
||||
<url>/api/blog/site/{site}/{container}</url>
|
||||
<url>/api/blog/node/{store_type}/{store_id}/{id}</url>
|
||||
<format default="json"/>
|
||||
<authentication>user</authentication>
|
||||
<transaction>required</transaction>
|
||||
|
@@ -1,9 +1,9 @@
|
||||
<webscript>
|
||||
<shortname>Blog</shortname>
|
||||
<description>Updates a blog</description>
|
||||
<url>/blog/site/{site}/{container}/{path}</url>
|
||||
<url>/blog/site/{site}/{container}</url>
|
||||
<url>/blog/node/{store_type}/{store_id}/{id}</url>
|
||||
<url>/api/blog/site/{site}/{container}/{path}</url>
|
||||
<url>/api/blog/site/{site}/{container}</url>
|
||||
<url>/api/blog/node/{store_type}/{store_id}/{id}</url>
|
||||
<format default="json"/>
|
||||
<authentication>user</authentication>
|
||||
<transaction>required</transaction>
|
||||
|
@@ -1,8 +1,8 @@
|
||||
<webscript>
|
||||
<shortname>Blog post publishing</shortname>
|
||||
<description>Performs external blog publishing functions on a blog post</description>
|
||||
<url>/blog/post/site/{site}/{container}/{path}/publishing</url>
|
||||
<url>/blog/post/node/{store_type}/{store_id}/{id}/publishing</url>
|
||||
<url>/api/blog/post/site/{site}/{container}/{path}/publishing</url>
|
||||
<url>/api/blog/post/node/{store_type}/{store_id}/{id}/publishing</url>
|
||||
<format default="json"/>
|
||||
<authentication>user</authentication>
|
||||
<transaction>required</transaction>
|
||||
|
@@ -1,8 +1,8 @@
|
||||
<webscript>
|
||||
<shortname>Blog post</shortname>
|
||||
<description>Delete a blog post</description>
|
||||
<url>/blog/post/site/{site}/{container}/{path}</url>
|
||||
<url>/blog/post/node/{store_type}/{store_id}/{id}</url>
|
||||
<url>/api/blog/post/site/{site}/{container}/{path}</url>
|
||||
<url>/api/blog/post/node/{store_type}/{store_id}/{id}</url>
|
||||
<format default="json"/>
|
||||
<authentication>user</authentication>
|
||||
<transaction>required</transaction>
|
||||
|
@@ -1,8 +1,8 @@
|
||||
<webscript>
|
||||
<shortname>Blogs</shortname>
|
||||
<description>Get all blogs</description>
|
||||
<url>/blog/post/site/{site}/{container}/{path}</url>
|
||||
<url>/blog/post/node/{store_type}/{store_id}/{id}</url>
|
||||
<url>/api/blog/post/site/{site}/{container}/{path}</url>
|
||||
<url>/api/blog/post/node/{store_type}/{store_id}/{id}</url>
|
||||
<format default="json"/>
|
||||
<authentication>user</authentication>
|
||||
<transaction>required</transaction>
|
||||
|
@@ -1,8 +1,8 @@
|
||||
<webscript>
|
||||
<shortname>Blog post</shortname>
|
||||
<description>Updates a blog post</description>
|
||||
<url>/blog/post/site/{site}/{container}/{path}</url>
|
||||
<url>/blog/post/node/{store_type}/{store_id}/{id}</url>
|
||||
<url>/api/blog/post/site/{site}/{container}/{path}</url>
|
||||
<url>/api/blog/post/node/{store_type}/{store_id}/{id}</url>
|
||||
<format default="json"/>
|
||||
<authentication>user</authentication>
|
||||
<transaction>required</transaction>
|
||||
|
@@ -1,9 +1,9 @@
|
||||
<webscript>
|
||||
<shortname>Blog posts</shortname>
|
||||
<description>Get all posts for a blog</description>
|
||||
<url>/blog/site/{site}/{container}/{path}/posts/mydrafts</url>
|
||||
<url>/blog/site/{site}/{container}/posts/mydrafts</url>
|
||||
<url>/blog/node/{store_type}/{store_id}/{id}/posts/mydrafts</url>
|
||||
<url>/api/blog/site/{site}/{container}/{path}/posts/mydrafts</url>
|
||||
<url>/api/blog/site/{site}/{container}/posts/mydrafts</url>
|
||||
<url>/api/blog/node/{store_type}/{store_id}/{id}/posts/mydrafts</url>
|
||||
<format default="json"/>
|
||||
<authentication>user</authentication>
|
||||
<transaction>required</transaction>
|
||||
|
@@ -1,9 +1,9 @@
|
||||
<webscript>
|
||||
<shortname>Blog posts</shortname>
|
||||
<description>Get all posts for a blog</description>
|
||||
<url>/blog/site/{site}/{container}/{path}/posts/mypublished</url>
|
||||
<url>/blog/site/{site}/{container}/posts/mypublished</url>
|
||||
<url>/blog/node/{store_type}/{store_id}/{id}/posts/mypublished</url>
|
||||
<url>/api/blog/site/{site}/{container}/{path}/posts/mypublished</url>
|
||||
<url>/api/blog/site/{site}/{container}/posts/mypublished</url>
|
||||
<url>/api/blog/node/{store_type}/{store_id}/{id}/posts/mypublished</url>
|
||||
<format default="json"/>
|
||||
<authentication>user</authentication>
|
||||
<transaction>required</transaction>
|
||||
|
@@ -1,9 +1,9 @@
|
||||
<webscript>
|
||||
<shortname>Blog posts</shortname>
|
||||
<description>Get all posts for a blog</description>
|
||||
<url>/blog/site/{site}/{container}/{path}/posts/new?numdays={numdays}</url>
|
||||
<url>/blog/site/{site}/{container}/posts/new?numdays={numdays}</url>
|
||||
<url>/blog/node/{store_type}/{store_id}/{id}/posts/new?numdays={numdays}</url>
|
||||
<url>/api/blog/site/{site}/{container}/{path}/posts/new?numdays={numdays}</url>
|
||||
<url>/api/blog/site/{site}/{container}/posts/new?numdays={numdays}</url>
|
||||
<url>/api/blog/node/{store_type}/{store_id}/{id}/posts/new?numdays={numdays}</url>
|
||||
<format default="json"/>
|
||||
<authentication>user</authentication>
|
||||
<transaction>required</transaction>
|
||||
|
@@ -1,9 +1,9 @@
|
||||
<webscript>
|
||||
<shortname>Blog posts per month</shortname>
|
||||
<description>Get all months for which there are blog posts plus the number of posts in each</description>
|
||||
<url>/blog/site/{site}/{container}/{path}/postspermonth</url>
|
||||
<url>/blog/site/{site}/{container}/postspermonth</url>
|
||||
<url>/blog/node/{store_type}/{store_id}/{id}/postspermonth</url>
|
||||
<url>/api/blog/site/{site}/{container}/{path}/postspermonth</url>
|
||||
<url>/api/blog/site/{site}/{container}/postspermonth</url>
|
||||
<url>/api/blog/node/{store_type}/{store_id}/{id}/postspermonth</url>
|
||||
<format default="json"/>
|
||||
<authentication>user</authentication>
|
||||
<transaction>required</transaction>
|
||||
|
@@ -1,9 +1,9 @@
|
||||
<webscript>
|
||||
<shortname>Blog posts</shortname>
|
||||
<description>Get all posts for a blog</description>
|
||||
<url>/blog/site/{site}/{container}/{path}/posts/publishedext</url>
|
||||
<url>/blog/site/{site}/{container}/posts/publishedext</url>
|
||||
<url>/blog/node/{store_type}/{store_id}/{id}/posts/publishedext</url>
|
||||
<url>/api/blog/site/{site}/{container}/{path}/posts/publishedext</url>
|
||||
<url>/api/blog/site/{site}/{container}/posts/publishedext</url>
|
||||
<url>/api/blog/node/{store_type}/{store_id}/{id}/posts/publishedext</url>
|
||||
<format default="json"/>
|
||||
<authentication>user</authentication>
|
||||
<transaction>required</transaction>
|
||||
|
@@ -1,9 +1,9 @@
|
||||
<webscript>
|
||||
<shortname>Blog posts</shortname>
|
||||
<description>Get all posts for a blog</description>
|
||||
<url>/blog/site/{site}/{container}/{path}/posts</url>
|
||||
<url>/blog/site/{site}/{container}/posts</url>
|
||||
<url>/blog/node/{store_type}/{store_id}/{id}/posts</url>
|
||||
<url>/api/blog/site/{site}/{container}/{path}/posts</url>
|
||||
<url>/api/blog/site/{site}/{container}/posts</url>
|
||||
<url>/api/blog/node/{store_type}/{store_id}/{id}/posts</url>
|
||||
<format default="json"/>
|
||||
<authentication>user</authentication>
|
||||
<transaction>required</transaction>
|
||||
|
@@ -1,9 +1,9 @@
|
||||
<webscript>
|
||||
<shortname>Blog posts</shortname>
|
||||
<description>Creates a new blog post</description>
|
||||
<url>/blog/site/{site}/{container}/{path}/posts</url>
|
||||
<url>/blog/site/{site}/{container}/posts</url>
|
||||
<url>/blog/node/{store_type}/{store_id}/{id}/posts</url>
|
||||
<url>/api/blog/site/{site}/{container}/{path}/posts</url>
|
||||
<url>/api/blog/site/{site}/{container}/posts</url>
|
||||
<url>/api/blog/node/{store_type}/{store_id}/{id}/posts</url>
|
||||
<format default="json"/>
|
||||
<authentication>user</authentication>
|
||||
<transaction>required</transaction>
|
||||
|
@@ -1,7 +1,7 @@
|
||||
<webscript>
|
||||
<shortname>Comment</shortname>
|
||||
<description>Delete a comment</description>
|
||||
<url>/comment/node/{store_type}/{store_id}/{id}</url>
|
||||
<url>/api/comment/node/{store_type}/{store_id}/{id}</url>
|
||||
<format default="json"/>
|
||||
<authentication>user</authentication>
|
||||
<transaction>required</transaction>
|
||||
|
@@ -1,7 +1,7 @@
|
||||
<webscript>
|
||||
<shortname>Comment</shortname>
|
||||
<description>Get the data for a comment</description>
|
||||
<url>/comment/node/{store_type}/{store_id}/{id}</url>
|
||||
<url>/api/comment/node/{store_type}/{store_id}/{id}</url>
|
||||
<format default="json"/>
|
||||
<authentication>user</authentication>
|
||||
<transaction>required</transaction>
|
||||
|
@@ -1,7 +1,7 @@
|
||||
<webscript>
|
||||
<shortname>Comment</shortname>
|
||||
<description>Updates a comment</description>
|
||||
<url>/comment/node/{store_type}/{store_id}/{id}</url>
|
||||
<url>/api/comment/node/{store_type}/{store_id}/{id}</url>
|
||||
<format default="json"/>
|
||||
<authentication>user</authentication>
|
||||
<transaction>required</transaction>
|
||||
|
@@ -1,7 +1,7 @@
|
||||
<webscript>
|
||||
<shortname>Comments</shortname>
|
||||
<description>Get all comments for a node</description>
|
||||
<url>/node/{store_type}/{store_id}/{id}/comments</url>
|
||||
<url>/api/node/{store_type}/{store_id}/{id}/comments</url>
|
||||
<format default="json"/>
|
||||
<authentication>user</authentication>
|
||||
<transaction>required</transaction>
|
||||
|
@@ -1,7 +1,7 @@
|
||||
<webscript>
|
||||
<shortname>Comments</shortname>
|
||||
<description>Add a new comment to a node</description>
|
||||
<url>/node/{store_type}/{store_id}/{id}/comments</url>
|
||||
<url>/api/node/{store_type}/{store_id}/{id}/comments</url>
|
||||
<format default="json"/>
|
||||
<authentication>user</authentication>
|
||||
<transaction>required</transaction>
|
||||
|
@@ -1,9 +1,9 @@
|
||||
<webscript>
|
||||
<shortname>Forum posts</shortname>
|
||||
<description>Get the new forum posts</description>
|
||||
<url>/forum/site/{site}/{container}/{path}/posts/hot</url>
|
||||
<url>/forum/site/{site}/{container}/posts/hot</url>
|
||||
<url>/forum/node/{store_type}/{store_id}/{id}/posts/hot</url>
|
||||
<url>/api/forum/site/{site}/{container}/{path}/posts/hot</url>
|
||||
<url>/api/forum/site/{site}/{container}/posts/hot</url>
|
||||
<url>/api/forum/node/{store_type}/{store_id}/{id}/posts/hot</url>
|
||||
<format default="json"/>
|
||||
<authentication>user</authentication>
|
||||
<transaction>required</transaction>
|
||||
|
@@ -1,9 +1,9 @@
|
||||
<webscript>
|
||||
<shortname>Forum my posts</shortname>
|
||||
<description>Get the forum posts created by the current user</description>
|
||||
<url>/forum/site/{site}/{container}/{path}/posts/myposts</url>
|
||||
<url>/forum/site/{site}/{container}/posts/myposts</url>
|
||||
<url>/forum/node/{store_type}/{store_id}/{id}/posts/myposts</url>
|
||||
<url>/api/forum/site/{site}/{container}/{path}/posts/myposts</url>
|
||||
<url>/api/forum/site/{site}/{container}/posts/myposts</url>
|
||||
<url>/api/forum/node/{store_type}/{store_id}/{id}/posts/myposts</url>
|
||||
<format default="json"/>
|
||||
<authentication>user</authentication>
|
||||
<transaction>required</transaction>
|
||||
|
@@ -1,9 +1,9 @@
|
||||
<webscript>
|
||||
<shortname>Forum posts</shortname>
|
||||
<description>Get the new forum posts</description>
|
||||
<url>/forum/site/{site}/{container}/{path}/posts/new?numdays={numdays}</url>
|
||||
<url>/forum/site/{site}/{container}/posts/new?numdays={numdays}</url>
|
||||
<url>/forum/node/{store_type}/{store_id}/{id}/posts/new?numdays={numdays}</url>
|
||||
<url>/api/forum/site/{site}/{container}/{path}/posts/new?numdays={numdays}</url>
|
||||
<url>/api/forum/site/{site}/{container}/posts/new?numdays={numdays}</url>
|
||||
<url>/api/forum/node/{store_type}/{store_id}/{id}/posts/new?numdays={numdays}</url>
|
||||
<format default="json"/>
|
||||
<authentication>user</authentication>
|
||||
<transaction>required</transaction>
|
||||
|
@@ -1,9 +1,9 @@
|
||||
<webscript>
|
||||
<shortname>Forum posts</shortname>
|
||||
<description>Get the forum posts</description>
|
||||
<url>/forum/site/{site}/{container}/{path}/posts</url>
|
||||
<url>/forum/site/{site}/{container}/posts</url>
|
||||
<url>/forum/node/{store_type}/{store_id}/{id}/posts</url>
|
||||
<url>/api/forum/site/{site}/{container}/{path}/posts</url>
|
||||
<url>/api/forum/site/{site}/{container}/posts</url>
|
||||
<url>/api/forum/node/{store_type}/{store_id}/{id}/posts</url>
|
||||
<format default="json"/>
|
||||
<authentication>user</authentication>
|
||||
<transaction>required</transaction>
|
||||
|
@@ -1,9 +1,9 @@
|
||||
<webscript>
|
||||
<shortname>Forum posts</shortname>
|
||||
<description>Adds a post to a forum</description>
|
||||
<url>/forum/site/{site}/{container}/{path}/posts</url>
|
||||
<url>/forum/site/{site}/{container}/posts</url>
|
||||
<url>/forum/node/{store_type}/{store_id}/{id}/posts</url>
|
||||
<url>/api/forum/site/{site}/{container}/{path}/posts</url>
|
||||
<url>/api/forum/site/{site}/{container}/posts</url>
|
||||
<url>/api/forum/node/{store_type}/{store_id}/{id}/posts</url>
|
||||
<format default="json"/>
|
||||
<authentication>user</authentication>
|
||||
<transaction>required</transaction>
|
||||
|
@@ -1,8 +1,8 @@
|
||||
<webscript>
|
||||
<shortname>Forum post replies</shortname>
|
||||
<description>Get the forum posts</description>
|
||||
<url>/forum/post/site/{site}/{container}/{path}/replies</url>
|
||||
<url>/forum/post/node/{store_type}/{store_id}/{id}/replies</url>
|
||||
<url>/api/forum/post/site/{site}/{container}/{path}/replies</url>
|
||||
<url>/api/forum/post/node/{store_type}/{store_id}/{id}/replies</url>
|
||||
<format default="json"/>
|
||||
<authentication>user</authentication>
|
||||
<transaction>required</transaction>
|
||||
|
@@ -1,7 +1,7 @@
|
||||
<webscript>
|
||||
<shortname>Forum post replies</shortname>
|
||||
<description>Adds a reply to a post</description>
|
||||
<url>/forum/post/node/{store_type}/{store_id}/{id}/replies</url>
|
||||
<url>/api/forum/post/node/{store_type}/{store_id}/{id}/replies</url>
|
||||
<format default="json"/>
|
||||
<authentication>user</authentication>
|
||||
<transaction>required</transaction>
|
||||
|
@@ -1,8 +1,8 @@
|
||||
<webscript>
|
||||
<shortname>Topic</shortname>
|
||||
<description>Delete a topic</description>
|
||||
<url>/forum/post/site/{site}/{container}/{path}</url>
|
||||
<url>/forum/post/node/{store_type}/{store_id}/{id}</url>
|
||||
<url>/api/forum/post/site/{site}/{container}/{path}</url>
|
||||
<url>/api/forum/post/node/{store_type}/{store_id}/{id}</url>
|
||||
<format default="json"/>
|
||||
<authentication>user</authentication>
|
||||
<transaction>required</transaction>
|
||||
|
@@ -1,8 +1,8 @@
|
||||
<webscript>
|
||||
<shortname>Topic</shortname>
|
||||
<description>Get the details for a topic</description>
|
||||
<url>/forum/post/site/{site}/{container}/{path}</url>
|
||||
<url>/forum/post/node/{store_type}/{store_id}/{id}</url>
|
||||
<url>/api/forum/post/site/{site}/{container}/{path}</url>
|
||||
<url>/api/forum/post/node/{store_type}/{store_id}/{id}</url>
|
||||
<format default="json"/>
|
||||
<authentication>user</authentication>
|
||||
<transaction>required</transaction>
|
||||
|
@@ -1,8 +1,8 @@
|
||||
<webscript>
|
||||
<shortname>Topic</shortname>
|
||||
<description>Update a topic</description>
|
||||
<url>/forum/post/site/{site}/{container}/{path}</url>
|
||||
<url>/forum/post/node/{store_type}/{store_id}/{id}</url>
|
||||
<url>/api/forum/post/site/{site}/{container}/{path}</url>
|
||||
<url>/api/forum/post/node/{store_type}/{store_id}/{id}</url>
|
||||
<format default="json"/>
|
||||
<authentication>user</authentication>
|
||||
<transaction>required</transaction>
|
||||
|
Reference in New Issue
Block a user