Obsolete Pages{{Obsolete}}
The official documentation is at: http://docs.alfresco.com
Back to Alfresco Labs 3.
Welcome to the reference documentation for the Alfresco Repository Public RESTful API - Labs v3.0.0 (Stable 1526).
This document was generated on 31-Mar-2009 13:56:32 via the Alfresco Repository URI...
http://<host>:<port>/alfresco/service/index/all.mediawiki?url=/api&desc=Public
This section provides reference information for each Web Script, organized by Web Script Package.
Documentation for each Web Script includes:
Javascript Debugger.
GET /alfresco/service/api/javascript/debugger
Requirements:
Definition:
Javascript Debugger Maintenance.
POST /alfresco/service/api/javascript/debugger?active={active?}
Requirements:
Definition:
Execute a series of tests against a CMIS server.
Inputs:
String url: CMIS service url of the repository to test
String user: username/password for authentication (HTTP BASIC Authentication)
String args: Enum url, headers or both - dictates how arguments are passed to services (Default: url)
boolean validate: true => validate repository responses against CMIS XSDs
boolean trace: true => trace request and response bodies String tests: names of tests to execute (use * in test name to represent wildcard) (Default: *)
.
POST /alfresco/service/api/cmis/test?url={serviceUrl}&user={user?}&args={args?}&validate={validate?}...
Requirements:
Definition:
Login and establish a ticket.
Input
GET /alfresco/service/api/login?u={username}&pw={password?}
Requirements:
Definition:
Example:
{
'username' : 'myuser',
'password' : 'mypassword'
}
@POST
@Consumes('application/x-www-form-urlencoded')
@Produces('application/json')
@Path('/login')
public String doLogin(MultivaluedMap<String, String> getParams) throws HttpException, IOException {
HttpClientParams params = createClientParams(getParams);
HttpClient client = buildClient(params.getParameter('username'), params.getParameter('password'));
//replace the host name and port with the your host and port.
PostMethod method = new PostMethod('http://<hostname>:<port>/alfresco/service/api/login');
String input = '{ \'username\' : \'' + params.getParameter('username') +'\', \'password\' : \'' + params.getParameter('password') +'\' }';
method.setRequestEntity(new StringRequestEntity(input,'application/json', null));
int statusCode = client.executeMethod(method);
if (statusCode != HttpStatus.SC_OK) {
System.err.println('Method failed: ' + method.getStatusLine());
}
return method.getResponseBodyAsString();
}
Login and establish a ticket.
Input
JSON Data Object.
POST /alfresco/service/api/login
Requirements:
Definition:
Sample post data:
{
'username' : 'admin',
'password' : 'mypassword'
}
Logout, Delete Login Ticket.
After the user has logged out the ticket is no longer valid and subsequent attempts to use it will fail.
DELETE /alfresco/service/api/login/ticket/{ticket}
Requirements:
Definition:
Notes:
GET /alfresco/service/api/login/ticket/{ticket}
Requirements:
Definition:
This service is used to retrieve information about the CMIS repository and the capabilities it supports.
Outputs:
ID repositoryId: Repository Id (same as input)
String repositoryName: Repository name
URI repositoryURI: URI for this repository
String repositoryDescription: Description of this repository
ID rootFolderId: Root folder Id
String vendorName: Repository vendor name
String productName: Repository product name
String productVersion: Product Version Information
String cmisVersionsSupported: Version of CMIS standard supported.
XML repositorySpecificInformation: Repository-specific information
Capabilities:
boolean capabilityMultifiling
boolean capabilitiyUnfiling
Boolean capabilityVersionSpecificFiling
Boolean capabilityPWCUpdatable
Boolean capabilityAllVersionsSearchable
Boolean capabilityPWCSearchable
Enum capabilityJoin: nojoin, inneronly, innerAndouter
Enum capabilityFulltext: nofulltext, fulltextonly, fulltextandstructured
<Array> relatedRepositories.
GET /alfresco/service/api/repository
GET /alfresco/service/api/cmis
Requirements:
Definition:
Get the activity type template.
GET /alfresco/service/api/activities/template/{path}
GET /alfresco/service/api/activities/template/{path}?format=text
Requirements:
Definition:
Get a collection of the template paths.
GET /alfresco/service/api/activities/templates
GET /alfresco/service/api/activities/templates?format=json
GET /alfresco/service/api/activities/templates/{path}
GET /alfresco/service/api/activities/templates/{path}?format=json
Requirements:
Definition:
Allow currently logged in user to get feed for specified site (if private site then user must be a member or an admin user).
GET /alfresco/service/api/activities/feed/site/{siteId}
GET /alfresco/service/api/activities/feed/site/{siteId}?format=atomfeed
GET /alfresco/service/api/activities/feed/site/{siteId}?format=json
GET /alfresco/service/api/activities/feed/site/{siteId}?format=rss
Requirements:
Definition:
Allow admin to get feed for a specified user.
GET /alfresco/service/api/activities/feed/user/{userId}
GET /alfresco/service/api/activities/feed/user/{userId}?format=atomfeed
GET /alfresco/service/api/activities/feed/user/{userId}?format=json
GET /alfresco/service/api/activities/feed/user/{userId}?format=rss
GET /alfresco/service/api/activities/feed/user/{userId}?s={siteId}
GET /alfresco/service/api/activities/feed/user/{userId}?s={siteId}&format=atomfeed
GET /alfresco/service/api/activities/feed/user/{userId}?s={siteId}&format=json
GET /alfresco/service/api/activities/feed/user/{userId}?s={siteId}&format=rss
Requirements:
Definition:
Allow currently logged in user to get their feed.
GET /alfresco/service/api/activities/feed/user
GET /alfresco/service/api/activities/feed/user?format=atomfeed
GET /alfresco/service/api/activities/feed/user?format=json
GET /alfresco/service/api/activities/feed/user?format=rss
GET /alfresco/service/api/activities/feed/user?s={siteId}
GET /alfresco/service/api/activities/feed/user?s={siteId}&format=atomfeed
GET /alfresco/service/api/activities/feed/user?s={siteId}&format=json
GET /alfresco/service/api/activities/feed/user?s={siteId}&format=rss
Requirements:
Definition:
Unset activity feed control (opt-out) for currently logged in user.
DELETE /alfresco/service/api/activities/feed/control?s={siteId}&a={appToolId}
DELETE /alfresco/service/api/activities/feed/control?s={siteId}&a={appToolId}&format=json
Requirements:
Definition:
Set activity feed control (opt-out) for currently logged in user.
POST /alfresco/service/api/activities/feed/control
POST /alfresco/service/api/activities/feed/control?format=json
Requirements:
Definition:
Get the activity feed controls (opt-outs) for currently logged in user.
GET /alfresco/service/api/activities/feed/controls
GET /alfresco/service/api/activities/feed/controls?format=json
Requirements:
Definition:
Get the blog information.
GET /alfresco/service/api/blog/site/{site}/{container}/{path}
GET /alfresco/service/api/blog/site/{site}/{container}
GET /alfresco/service/api/blog/node/{store_type}/{store_id}/{id}
Requirements:
Definition:
Updates a blog.
PUT /alfresco/service/api/blog/site/{site}/{container}/{path}
PUT /alfresco/service/api/blog/site/{site}/{container}
PUT /alfresco/service/api/blog/node/{store_type}/{store_id}/{id}
Requirements:
Definition:
Performs external blog publishing functions on a blog post.
POST /alfresco/service/api/blog/post/site/{site}/{container}/{path}/publishing
POST /alfresco/service/api/blog/post/node/{store_type}/{store_id}/{id}/publishing
Requirements:
Definition:
Delete a blog post.
DELETE /alfresco/service/api/blog/post/site/{site}/{container}/{path}
DELETE /alfresco/service/api/blog/post/node/{store_type}/{store_id}/{id}
Requirements:
Definition:
Get all blogs.
GET /alfresco/service/api/blog/post/site/{site}/{container}/{path}
GET /alfresco/service/api/blog/post/node/{store_type}/{store_id}/{id}
Requirements:
Definition:
Updates a blog post.
PUT /alfresco/service/api/blog/post/site/{site}/{container}/{path}
PUT /alfresco/service/api/blog/post/node/{store_type}/{store_id}/{id}
Requirements:
Definition:
Get all posts for a blog.
GET /alfresco/service/api/blog/site/{site}/{container}/{path}/posts/mydrafts
GET /alfresco/service/api/blog/site/{site}/{container}/posts/mydrafts
GET /alfresco/service/api/blog/node/{store_type}/{store_id}/{id}/posts/mydrafts
Requirements:
Definition:
Get all posts for a blog.
GET /alfresco/service/api/blog/site/{site}/{container}/{path}/posts/mypublished
GET /alfresco/service/api/blog/site/{site}/{container}/posts/mypublished
GET /alfresco/service/api/blog/node/{store_type}/{store_id}/{id}/posts/mypublished
Requirements:
Definition:
Get all posts for a blog.
GET /alfresco/service/api/blog/site/{site}/{container}/{path}/posts/new?numdays={numdays}
GET /alfresco/service/api/blog/site/{site}/{container}/posts/new?numdays={numdays}
GET /alfresco/service/api/blog/node/{store_type}/{store_id}/{id}/posts/new?numdays={numdays}
Requirements:
Definition:
Get all months for which there are blog posts plus the number of posts in each.
GET /alfresco/service/api/blog/site/{site}/{container}/{path}/postspermonth
GET /alfresco/service/api/blog/site/{site}/{container}/postspermonth
GET /alfresco/service/api/blog/node/{store_type}/{store_id}/{id}/postspermonth
Requirements:
Definition:
Get all posts for a blog.
GET /alfresco/service/api/blog/site/{site}/{container}/{path}/posts/publishedext
GET /alfresco/service/api/blog/site/{site}/{container}/posts/publishedext
GET /alfresco/service/api/blog/node/{store_type}/{store_id}/{id}/posts/publishedext
Requirements:
Definition:
Get all posts for a blog.
GET /alfresco/service/api/blog/site/{site}/{container}/{path}/posts
GET /alfresco/service/api/blog/site/{site}/{container}/posts
GET /alfresco/service/api/blog/node/{store_type}/{store_id}/{id}/posts
Requirements:
Definition:
Creates a new blog post.
POST /alfresco/service/api/blog/site/{site}/{container}/{path}/posts
POST /alfresco/service/api/blog/site/{site}/{container}/posts
POST /alfresco/service/api/blog/node/{store_type}/{store_id}/{id}/posts
Requirements:
Definition:
Delete a comment.
DELETE /alfresco/service/api/comment/node/{store_type}/{store_id}/{id}
Requirements:
Definition:
Get the data for a comment.
GET /alfresco/service/api/comment/node/{store_type}/{store_id}/{id}
Requirements:
Definition:
Updates a comment.
PUT /alfresco/service/api/comment/node/{store_type}/{store_id}/{id}
Requirements:
Definition:
Get all comments for a node.
GET /alfresco/service/api/node/{store_type}/{store_id}/{id}/comments
Requirements:
Definition:
Add a new comment to a node.
POST /alfresco/service/api/node/{store_type}/{store_id}/{id}/comments
Requirements:
Definition:
Get the collection of association definitions.
GET /alfresco/service/api/classes/{classname}/association/{assocname}
Requirements:
Definition:
Get the collection of association definitions for a given classname.
GET /alfresco/service/api/classes/{classname}/associations?af={associationFilter?}&nsp={namespacePre...
Requirements:
Definition:
NOTE: removed in V3.3.
Get the collection of child association definitions.
GET /alfresco/service/api/classes/{classname}/childassociation/{assocname}
Requirements:
Definition:
NOTE: removed in V3.3.
Get the collection of child association definitions for a given classname.
GET /alfresco/service/api/classes/{classname}/childassociations
Requirements:
Definition:
Get the collection of class definitions - parameters classfilter , namespaceprefix and name.
GET /alfresco/service/api/classes?cf={classFilter?}&nsp={namespacePrefix?}&n={name?}
Requirements:
Definition:
Get the collection of class definitions for a given classname.
GET /alfresco/service/api/classes/{className}
Requirements:
Definition:
Get the collection of property definitions.
GET /alfresco/service/api/classes/{classname}/properties?nsp={namespacePrefix?}&n={name?}
Requirements:
Definition:
Get the collection of property definitions for a given classname and property name.
GET /alfresco/service/api/classes/{classname}/property/{propname}
Requirements:
Definition:
Get the collection of sub classes definitions - parameters r=> recursive, classfilter , namespaceprefix and name.
GET /alfresco/service/api/classes/{classname}/subclasses?r={recursive?}&nsp={namespacePrefix?}&n={na...
Requirements:
Definition:
Get the new forum posts.
GET /alfresco/service/api/forum/site/{site}/{container}/{path}/posts/hot
GET /alfresco/service/api/forum/site/{site}/{container}/posts/hot
GET /alfresco/service/api/forum/node/{store_type}/{store_id}/{id}/posts/hot
Requirements:
Definition:
Get the forum posts created by the current user.
GET /alfresco/service/api/forum/site/{site}/{container}/{path}/posts/myposts
GET /alfresco/service/api/forum/site/{site}/{container}/posts/myposts
GET /alfresco/service/api/forum/node/{store_type}/{store_id}/{id}/posts/myposts
Requirements:
Definition:
Get the new forum posts.
GET /alfresco/service/api/forum/site/{site}/{container}/{path}/posts/new?numdays={numdays}
GET /alfresco/service/api/forum/site/{site}/{container}/posts/new?numdays={numdays}
GET /alfresco/service/api/forum/node/{store_type}/{store_id}/{id}/posts/new?numdays={numdays}
Requirements:
Definition:
Get the forum posts.
GET /alfresco/service/api/forum/site/{site}/{container}/{path}/posts
GET /alfresco/service/api/forum/site/{site}/{container}/posts
GET /alfresco/service/api/forum/node/{store_type}/{store_id}/{id}/posts
Requirements:
Definition:
Adds a post to a forum.
POST /alfresco/service/api/forum/site/{site}/{container}/{path}/posts
POST /alfresco/service/api/forum/site/{site}/{container}/posts
POST /alfresco/service/api/forum/node/{store_type}/{store_id}/{id}/posts
Requirements:
Definition:
Get the forum posts.
GET /alfresco/service/api/forum/post/site/{site}/{container}/{path}/replies
GET /alfresco/service/api/forum/post/node/{store_type}/{store_id}/{id}/replies
Requirements:
Definition:
Adds a reply to a post.
POST /alfresco/service/api/forum/post/node/{store_type}/{store_id}/{id}/replies
Requirements:
Definition:
Delete a topic.
DELETE /alfresco/service/api/forum/post/site/{site}/{container}/{path}
DELETE /alfresco/service/api/forum/post/node/{store_type}/{store_id}/{id}
Requirements:
Definition:
Get the details for a topic.
GET /alfresco/service/api/forum/post/site/{site}/{container}/{path}
GET /alfresco/service/api/forum/post/node/{store_type}/{store_id}/{id}
Requirements:
Definition:
Update a topic.
PUT /alfresco/service/api/forum/post/site/{site}/{container}/{path}
PUT /alfresco/service/api/forum/post/node/{store_type}/{store_id}/{id}
Requirements:
Definition:
Returns invite information for a given inviteId and inviteTicket. No authentication is required.
GET /alfresco/service/api/invite/{inviteId}/{inviteTicket}
Requirements:
Definition:
Processes Inviter actions ('start' or 'cancel' invite).
GET /alfresco/service/api/invite/start?inviteeFirstName={inviteeFirstName}&inviteeLastName={inviteeL...
GET /alfresco/service/api/invite/cancel?inviteId={inviteId}
Requirements:
Definition:
Accepts an invite.
PUT /alfresco/service/api/invite/{inviteId}/{inviteTicket}/{action}
Requirements:
Definition:
Returns pending invites filtered by Inviter user name, Invitee user name & Site short name.
GET /alfresco/service/api/invites?inviterUserName={inviterUserName?}&inviteeUserName={inviteeUserNam...
GET /alfresco/service/api/invites?inviteId={inviteId}
Requirements:
Definition:
Delete a link.
POST /alfresco/service/api/links/delete/site/{site}/{container}
Requirements:
Definition:
Get all links.
GET /alfresco/service/api/links/site/{site}/{container}
Requirements:
Definition:
post.
POST /alfresco/service/api/links/site/{site}/{container}/posts
Requirements:
Definition:
Updates a link.
PUT /alfresco/service/api/links/site/{site}/{container}/{path}
Requirements:
Definition:
Get all links.
GET /alfresco/service/api/links/link/site/{site}/{container}/{path}
Requirements:
Definition:
Node Metadata Retrieval Service.
GET /alfresco/service/api/metadata
Requirements:
Definition:
Node Metadata Storage Service.
POST /alfresco/service/api/metadata/node/{store_type}/{store_id}/{id}
Requirements:
Definition:
Update the password of a current user - can only be executed for the current user or by an admin to update any user.
POST /alfresco/service/api/person/changepassword/{userName}
Inputs:
Requirements:
Definition:
Get collection of people stored in the repository. This can optionally be filtered according to some given filter query string.
GET /alfresco/service/api/people?filter={filterQuery?}
Requirements:
Definition:
Adds a new person based on the details provided.
POST /alfresco/service/api/people
Requirements:
Definition:
Delete a person.
DELETE /alfresco/service/api/people/{userName}
Requirements:
Definition:
Get the details of a person.
GET /alfresco/service/api/people/{userName}
Requirements:
Definition:
Update the details of a person.
PUT /alfresco/service/api/people/{userName}
Requirements:
Definition:
Get a colleciton of the sites a person has an explicit member to.
GET /alfresco/service/api/people/{userid}/sites?size={pagesize?}&pos={position?}
Requirements:
Definition:
Delete a users preferences.
DELETE /alfresco/service/api/people/{userid}/preferences?pf={preferencefilter?}
Requirements:
Definition:
Get the preferences for a user.
GET /alfresco/service/api/people/{userid}/preferences?pf={preferencefilter?}
Requirements:
Definition:
Set a users preferences.
POST /alfresco/service/api/people/{userid}/preferences
Requirements:
Definition:
Get an action definition given its name.
GET /alfresco/service/api/rules/actiondefs/{actionDefinitionName}
Requirements:
Definition:
Get the collection of action definitions, optionally scoped by node reference or path.
GET /alfresco/service/api/rules/actiondefs
GET /alfresco/service/api/node/{store_type}/{store_id}/{id}/actiondefs
GET /alfresco/service/api/path/{store_type}/{store_id}/{id}/actiondefs
Requirements:
Definition:
Add an Action Queue Item to the Action Queue for execution.
POST /alfresco/service/api/actionqueue
Requirements:
Definition:
Get a condition definition given its name.
GET /alfresco/service/api/rules/conditiondefs/{conditionDefinitionName}
Requirements:
Definition:
Get the collection of condition definitions.
GET /alfresco/service/api/rules/conditiondefs
Requirements:
Definition:
Delete the rule identified by the specified rule node id.
DELETE /alfresco/service/api/rules/{store_type}/{store_id}/{rule_id}
DELETE /alfresco/service/api/node/{store_type}/{store_id}/{id}/rules/{rule_id}
DELETE /alfresco/service/api/path/{store_type}/{store_id}/{id}/rules/{rule_id}
Requirements:
Definition:
Get the rule identified by the specified rule node reference.
GET /alfresco/service/api/rules/{store_type}/{store_id}/{rule_id}
GET /alfresco/service/api/node/{store_type}/{store_id}/{id}/rules/{rule_id}
GET /alfresco/service/api/path/{store_type}/{store_id}/{id}/rules/{rule_id}
Requirements:
Definition:
Update the rule identified by the specified rule node reference.
PUT /alfresco/service/api/rules/{store_type}/{store_id}/{rule_id}
PUT /alfresco/service/api/node/{store_type}/{store_id}/{id}/rules/{rule_id}
PUT /alfresco/service/api/path/{store_type}/{store_id}/{id}/rules/{rule_id}
Requirements:
Definition:
Delete the collection of rules which have been applied to the given rule owning node node.
DELETE /alfresco/service/api/node/{store_type}/{store_id}/{id}/rules
DELETE /alfresco/service/api/path/{store_type}/{store_id}/{id}/rules
DELETE /alfresco/service/api/rules/appliedtonode/{store_type}/{store_id}/{id}
Requirements:
Definition:
Get the collection of rules which have been applied to the given (actionable) node. If the optional 'includeInherited' parameter is not provided, then rules inherited from the given node's parents are included by default. If the optional 'ruleTypeName' parameter is provided, then only rules of that specific given rule type are returned.
GET /alfresco/service/api/node/{store_type}/{store_id}/{id}/rules?includeInherited={includeInherited...
GET /alfresco/service/api/path/{store_type}/{store_id}/{id}/rules?includeInherited={includeInherited...
GET /alfresco/service/api/rules/appliedtonode/{store_type}/{store_id}/{id}?includeInherited={include...
Requirements:
Definition:
Creates a rule in the rule collection associated with the given actionable node.
POST /alfresco/service/api/node/{store_type}/{store_id}/{id}/rules
POST /alfresco/service/api/path/{store_type}/{store_id}/{id}/rules
POST /alfresco/service/api/rules/appliedtonode/{store_type}/{store_id}/{id}
Requirements:
Definition:
Queries the repository for queryable object based on properties or an optional full-text string. Relationship objects are not queryable. Content-streams are not returned as part of query.
Inputs:
String statement: Query statement
(Optional) Bool searchAllVersions: False (Default)
(Optional) Boolean includeAllowableActions: False (default)
(Optional) Enum includeRelationships: none (default), source, target, both
(Optional) int maxItems: 0 = Repository-default number of items (Default)
(Optional) int skipCount: 0 = Start at first position (Default)
Outputs:
Collection objectCollection - this collection represents a result table produced by the query statement. Typically each row of this table corresponds to an object, and each column corresponds to a property or a computed value as specified by the SELECT clause of the query statement. A CMIS SQL 1.0 query without JOIN always produces one object per row.
Bool hasMoreItems
Notes:
If SearchAllVersions is True, and CONTAINS() is used in the query, OperationNotSupported will be thrown if full-text search is not supported or if the repository does not have previous versions in the full-text index.
Returns set of objects from (skipCount, maxItems+skipCount)
If no “maxItems†value is provided, then the Repository will determine an appropriate number of items to return. How the Repository determines this value is repository-specific and opaque to CMIS.
If “includeAllowableActions†is TRUE, the repository will return the allowable actions for the current user for each result object in the output table as an additional multi-valued column containing computed values of type string, provided that each row in the output table indeed corresponds to one object (which is true for a CMIS SQL 1.0 query without JOIN).
If each row in the output table does not correspond to a specific object and “includeAllowableActions†is TRUE, then InvalidArgumentException will be thrown.
It is recommended that “includeAllowableActions†be used with query statements without JOIN, and that the Object ID property or “*†be included in the SELECT list.
'IncludeRelationships' indicates whether relationships are also returned for each returned object. If it is set to 'source' or 'target', relationships for which the returned object is a source, or respectively a target, will also be returned. If it is set to 'both', relationships for which the returned object is either a source or a target will be returned. If it is set to 'none', relationships are not returned.
.
POST /alfresco/service/api/query
Requirements:
Definition:
Delete the details of a site.
DELETE /alfresco/service/api/sites/{shortname}
Requirements:
Definition:
Get the details of a site.
GET /alfresco/service/api/sites/{shortname}
Requirements:
Definition:
Update the details of a site.
PUT /alfresco/service/api/sites/{shortname}
Requirements:
Definition:
Get a colleciton of the sites in the repository. The collection can be filtered by name and/or site preset.
GET /alfresco/service/api/sites?nf={namefilter?}&spf={sitepresetfilter?}&size={pagesize?}&pos={posit...
Requirements:
Definition:
Creates a new site based on the site preset and details provided.
POST /alfresco/service/api/sites
Requirements:
Definition:
Get the membership details for a user.
DELETE /alfresco/service/api/sites/{shortname}/memberships/{username}
Requirements:
Definition:
Get the membership details for a user.
GET /alfresco/service/api/sites/{shortname}/memberships/{username}
Requirements:
Definition:
Get the membership details for a user.
PUT /alfresco/service/api/sites/{shortname}/memberships/{username}
Requirements:
Definition:
Get a colleciton of a sites memberships.
GET /alfresco/service/api/sites/{shortname}/memberships?nf={namefilter?}&rf={rolefilter?}&size={page...
Requirements:
Definition:
Adds a new membership to the site.
POST /alfresco/service/api/sites/{shortname}/memberships
Requirements:
Definition:
Get the authority roles of a site.
GET /alfresco/service/api/sites/{shortname}/roles
Requirements:
Definition:
Gets the list of documents that are checked out that the user has access to. Most likely this will be the set of documents checked out by the user. Content-streams are not returned.
Inputs:
(Optional) ID folderId
(Optional) String filter specifying which properties to return.
(Optional) Boolean includeAllowableActions: False (default)
(Optional) Enum includeRelationships: none (default), source, target, both
(Optional) int maxItems: 0 = Repository-default number of items (Default)
(Optional) int skipCount: 0 (Default)
Outputs:
Result set specified by Filter
Bool hasMoreItems
Notes:
The documents will be returned in a repository-specific order.
The repository may include checked-out objects that the calling user has access to, but did not check out.
If folderId is specified, then the results MUST include only the children of that folder, NOT other descendants of the folder nor documents outside this tree.
If “includeAllowableActions†is TRUE, the repository will return the allowable actions for the current user for each document as part of the output.
'IncludeRelationships' indicates whether relationships are also returned for each returned object. If it is set to 'source' or 'target', relationships for which the returned object is a source, or respectively a target, will also be returned. If it is set to 'both', relationships for which the returned object is either a source or a target will be returned. If it is set to 'none', relationships are not returned.
If no “maxItems†value is provided, then the Repository will determine an appropriate number of items to return. How the Repository determines this value is repository-specific and opaque to CMIS.
.
GET /alfresco/service/api/checkedout?folderId={folderId?}&includeDescendants={includeDescendants?}&f...
Requirements:
Definition:
Create a private working copy of the object, copies the metadata and optionally content. It is up to the repository to determine if updates to the current version (not PWC) and prior versions are allowed if checked-out.
Inputs:
ID documentId: ObjectID of Doc Version to checkout
Outputs:
ID documentId: ObjectID of Private Working Copy
Bool contentCopied
Notes:
It is repository-specific to determine the scope of visibility to the private working copy.
Other users not in the scope of checkout will see the public (pre-checkout) version while those in scope will be able to work on the checked-out version.
Copying content on checkout or not is repository-specific.
CheckOut() may remove update permission on prior versions.
CheckOut() on a non-document object will throw OperationNotSupportedException.
Some repositories may not support updating of private working copies and the updates MUST be supplied via checkIn().
.
POST /alfresco/service/api/checkedout
Requirements:
Definition:
Gets the list of child objects contained in the specified folder. Only the filter-selected properties associated with each object are returned. The content-streams of documents are not returned.
For paging through the children (depth of 1) only use getChildren. For returning a tree of objects of a certain depth, use getDescendants.
For a repository that supports version-specific filing, this will return the version of the documents in the folder specified by the user filing the documents into the folder. Otherwise, the latest version of the documents will be returned.
Inputs:
ID folderId
(Optional) Enum type: Documents, Folders, Policies, Any (default)
(Optional) String filter: Filter specifying which properties to return.
(Optional) Boolean includeAllowableActions: False (default)
(Optional) Enum includeRelationships: none (default), source, target, both
(Optional) int maxItems: 0 = Repository-default number of items (Default)
(Optional) int skipCount: 0 = start (Default)
(Optional) String orderBy: must be a valid ORDER BY clause from the query grammer excluding ‘ORDER BY’. Example ‘name DESC’.
Outputs:
Result set specified by Filter of each child object in the specified folder
If maxItems > 0, Bool hasMoreItems
Notes:
Between invocations the order of the results may change due to repository state changing, i.e. skipCount might not show objects or more likely show an object twice (bottom of first page and top of second) when an object is added to the top of the list.
Ordering is repository-specific except the ordering MUST remain consistent across invocations, provided that the repository state has not changed.
When returning the results of a call where the caller specified “Any†type, the repository SHOULD return all folder objects first followed by other objects.
If “includeAllowableActions†is TRUE, the repository will return the allowable actions for the current user for each child object as part of the output.
'IncludeRelationships' indicates whether relationships are also returned for each returned object. If it is set to 'source' or 'target', relationships for which the returned object is a source, or respectively a target, will also be returned. If it is set to 'both', relationships for which the returned object is either a source or a target will be returned. If it is set to 'none', relationships are not returned.
If no “maxItems†value is provided, then the Repository will determine an appropriate number of items to return. How the Repository determines this value is repository-specific and opaque to CMIS.
.
GET /alfresco/service/api/node/{store_type}/{store_id}/{id}/children?types={types}&filter={filter?}&...
GET /alfresco/service/api/path/{store_type}/{store_id}/{id}/children?types={types}&filter={filter?}&...
Requirements:
Definition:
Creates a document object of the specified type, and optionally adds the document to a folder
Inputs:
ID typeId: Document type
Collection properties
(Optional) ID folderId: Parent folder for this new document
(Optional) ContentStream contentStream
(Optional) Enum versioningState: CheckedOut, CheckedInMinor, CheckedInMajor (Default)
Outputs:
ID objectId: Id of the created document object
The versioningState input is used to create a document in a checked-out state, or as a checked-in minor version, or as a checked-in major version. If created in a checked-out state, the object is a PWC and there is no corresponding 'checked out document'. (See the 'Versioning' section.)
If the Document’s Object Type does not allow content-stream and a content-stream is provided, or if content-stream is required and a content-stream is not provided, throw ConstraintViolationException.
If a Folder is specified, and the Document’s Object Type is not one of the “Allowed_Child_Object_Types†for this Folder, throw ConstraintViolationException.
If unfiling is not supported and a Folder is not specified, throw FolderNotValidException.
Repositories MAY reject the createDocument request (by throwing ConstaintViolationException) if any of the Required properties specified in the Document’s Object Type are not set.
However, iF the repository does NOT reject the createDocument request in this case, the repository MUST leave the newly-created Document in a checked-out state, and MUST ensure that all required properties are set before the Document is checked in.
Creates a folder object of the specified type
Inputs:
ID typeId: Folder type
Collection properties
ID folderId: Parent folder for this new folder
Outputs:
ID objectId: Id of the created folder object
Notes:
If the to-be-created Folder’s Object Type is not one of the “Allowed_Child_Object_Types†for the parent Folder, throw ConstraintViolationException.
Root folder can not be created using this service.
.
POST /alfresco/service/api/node/{store_type}/{store_id}/{id}/children
POST /alfresco/service/api/path/{store_type}/{store_id}/{id}/children
Requirements:
Definition:
The service returns the content-stream for a document. This is the only service that returns content-stream.
Inputs:
ID documentId: Document to return the content-stream
(Optional) Integer offset:
(Optional) Integer length:
Outputs:
Byte[] stream
Notes:
Some CMIS protocol bindings MAY choose not to explicitly implement a “getContentStream†method, in cases where the protocol itself provides built-in mechanisms for retrieving byte streams. (E.g. in the ATOM/REST binding, content streams may be retrieved via standard HTTP gets on an “edit-media†URL, rather than a CMIS-specific “getContentStream†URL). See Part II of the CMIS specification for additional details.
Each CMIS protocol binding will provide a way for fetching a sub-range within a content stream, in a manner appropriate to that protocol.
.
GET /alfresco/service/api/node/content{property}/{store_type}/{store_id}/{id}?a={attach?}
GET /alfresco/service/api/path/content{property}/{store_type}/{store_id}/{id}?a={attach?}
GET /alfresco/service/api/avmpath/content{property}/{store_id}/{id}?a={attach?}
GET /alfresco/service/api/node/{store_type}/{store_id}/{id}/content{property}?a={attach?}
GET /alfresco/service/api/path/{store_type}/{store_id}/{id}/content{property}?a={attach?}
Requirements:
Definition:
Deletes the tree rooted at specified folder (including that folder)
Inputs:
ID folderId
Enum unfileNonfolderObjects:
o Unfile – unfile all non-folder objects from folders in this tree. They may remain filed in other folders, or may become unfiled.
o DeleteSingleFiled – delete non-folder objects filed only in this tree, and unfile the others so they remain filed in other folders.
o Delete – delete all non-folder objects in this tree (Default)
(Optional) Bool continueOnFailure: False (Default)
Outputs:
Collection failedToDelete - List of object IDs that failed to delete (if continueOnFailure is FALSE, then single object ID)
Notes:
If a non-folder object is removed from the last folder it is filed in, it can continue to survive outside of the folder structure if the repository supports the “Unfiling†capabiliity.
If the specified folder is the Root Folder, throw OperationNotSupportedException.
If unfiling is not supported, throw OperationNotSupportedException if deleteTree is called with Unfile.
For repositories that support version-specific filing, this may delete some versions of a document but not necessarily all versions. For repositories that do not support version-specific filing, if a document is to be deleted, all versions are deleted.
This is not transactional.
o However, if DeleteSingleFiled is chosen, then having the objects unfiled is not sufficient if some objects fail to delete. The user MUST be able to re-issue command (recover) from the error by using the same tree.
Does not specify the order in which delete will happen
o However, any objects that are not deleted (e.g. because a previous object failed to delete), they MUST remain valid CMIS objects (including any applicable filing constraint for each object).
.
DELETE /alfresco/service/api/node/{store_type}/{store_id}/{id}/descendants?continueOnFailure={contin...
DELETE /alfresco/service/api/path/{store_type}/{store_id}/{id}/descendants?continueOnFailure={contin...
Requirements:
Definition:
Gets the list of descendant objects contained at one or more levels in the tree rooted at the specified folder. Only the filter-selected properties associated with each object are returned. The content-stream is not returned.
For paging through the children (depth of 1) only use getChildren. For returning a tree of objects of a certain depth, use getDescendants.
For a repository that supports version-specific filing, this will return the version of the documents in the folder specified by the user filing the documents into the folder. Otherwise, the latest version of the documents will be returned.
Inputs:
ID folderId
(Optional) Enum type: Documents, Folders, Policies, Any (default)
(Optional) Int depth: 1 this folder only (Default), … N folders deep, -1 for all levels
(Optional) String filter: Filter specifying which properties to return.
(Optional) Boolean includeAllowableActions: False (default)
(Optional) Enum includeRelationships: none (default), source, target, both
(Optional) String orderBy: must be a valid ORDER BY clause from the query grammer excluding ‘ORDER BY’. Example ‘name DESC’.
Outputs:
Result set specified by Filter of each descendant object in the specified folder
This result set will nest the contained objects
Notes:
The ordering and tree walk algorithm is repository-specific, but SHOULD be consistent.
This method will return all objects of the specified type in the specified depth.
If no type is specified, then objects of all types will be returned.
When returning the results of a call where the caller specified “Any†type, the repository SHOULD return, at each nesting level, all folder objects first followed by other objects.
If “includeAllowableActions†is TRUE, the repository will return the allowable actions for the current user for each descendant object as part of the output.
'IncludeRelationships' indicates whether relationships are also returned for each returned object. If it is set to 'source' or 'target', relationships for which the returned object is a source, or respectively a target, will also be returned. If it is set to 'both', relationships for which the returned object is either a source or a target will be returned. If it is set to 'none', relationships are not returned.
GET /alfresco/service/api/node/{store_type}/{store_id}/{id}/descendants?types={types}&filter={filter...
GET /alfresco/service/api/path/{store_type}/{store_id}/{id}/descendants?types={types}&filter={filter...
Requirements:
Definition:
Creates a document object of the specified type, and optionally adds the document to a folder
Inputs:
ID typeId: Document type
Collection properties
(Optional) ID folderId: Parent folder for this new document
(Optional) ContentStream contentStream
(Optional) Enum versioningState: CheckedOut, CheckedInMinor, CheckedInMajor (Default)
Outputs:
ID objectId: Id of the created document object
The versioningState input is used to create a document in a checked-out state, or as a checked-in minor version, or as a checked-in major version. If created in a checked-out state, the object is a PWC and there is no corresponding 'checked out document'. (See the 'Versioning' section.)
If the Document’s Object Type does not allow content-stream and a content-stream is provided, or if content-stream is required and a content-stream is not provided, throw ConstraintViolationException.
If a Folder is specified, and the Document’s Object Type is not one of the “Allowed_Child_Object_Types†for this Folder, throw ConstraintViolationException.
If unfiling is not supported and a Folder is not specified, throw FolderNotValidException.
Repositories MAY reject the createDocument request (by throwing ConstaintViolationException) if any of the Required properties specified in the Document’s Object Type are not set.
However, iF the repository does NOT reject the createDocument request in this case, the repository MUST leave the newly-created Document in a checked-out state, and MUST ensure that all required properties are set before the Document is checked in.
Creates a folder object of the specified type
Inputs:
ID typeId: Folder type
Collection properties
ID folderId: Parent folder for this new folder
Outputs:
ID objectId: Id of the created folder object
Notes:
If the to-be-created Folder’s Object Type is not one of the “Allowed_Child_Object_Types†for the parent Folder, throw ConstraintViolationException.
Root folder can not be created using this service.
.
POST /alfresco/service/api/node/{store_type}/{store_id}/{id}/descendants
POST /alfresco/service/api/path/{store_type}/{store_id}/{id}/descendants
Requirements:
Definition:
Deletes specified object
Inputs:
ID objectId
Notes:
If the object is a Folder with at least one child, throw ConstraintViolationException.
If the object is the Root Folder, throw OperationNotSupportedException.
When a filed object is deleted, it is removed from all folders it is filed in.
This service deletes a specific version of a document object. To delete all versions, use deleteAllVersions()
Deletion of a private working copy (checked out version) is the same as to cancel checkout.
.
DELETE /alfresco/service/api/node/{store_type}/{store_id}/{id}?includeChildren={includeChildren?}
DELETE /alfresco/service/api/path/{store_type}/{store_id}/{id}?includeChildren={includeChildren?}
Requirements:
Definition:
Returns the properties of an object, and optionally the operations that the user is allowed to perform on the object
Inputs:
ID objectId
(Optional) Enum returnVersion: This (Default), Latest, LatestMajor
(Optional) String filter: Filter for properties to be returned
(Optional) Boolean includeAllowableActions: False (default)
(Optional) Enum includeRelationships: none (default), source, target, both
Outputs:
Collection propertyCollection
Collection allowableActionCollection
Notes:
If “includeAllowableActions†is TRUE, the repository will return the allowable actions for the current user for the object as part of the output.
'IncludeRelationships' indicates whether relationships are also returned for the object. If it is set to 'source' or 'target', relationships for which the returned object is a source, or respectively a target, will also be returned. If it is set to 'both', relationships for which the returned object is either a source or a target will be returned. If it is set to 'none', relationships are not returned.
Does not return the content-stream of a document
PropertyCollection includes changeToken (if applicable to repository)
.
GET /alfresco/service/api/node/{store_type}/{store_id}/{id}?filter={filter?}&returnVersion={returnVe...
GET /alfresco/service/api/path/{store_type}/{store_id}/{id}?filter={filter?}&returnVersion={returnVe...
Requirements:
Definition:
This service updates properties of the specified object. As per the data model, content-streams are not properties
Inputs:
ID objectId
(Optional) String changeToken
Collection propertyCollection - Subset list of Properties to update
Outputs:
ID objectId
Notes:
Preserves the ID of the object
Subset of properties: Properties not specified in this list are not changed
To remove a property, specify property with no value
If an attempt is made to update a read-only property, throw ConstraintViolationException.
If a ChangeToken is provided by the repository when the object is retrieved, the change token MUST be included as-is when calling updateProperties.
For Multi-Value properties, the whole list of values MUST be provided on every update.
Use getAllowableActions to identify whether older version specified by ID is updatable.
If this is a private working copy, some repositories may not support updates.
Because repositories MAY automatically create new Document Versions on a user’s behalf, the objectId returned may not match the one provided as an input to this method.
.
PUT /alfresco/service/api/node/{store_type}/{store_id}/{id}
PUT /alfresco/service/api/path/{store_type}/{store_id}/{id}
Requirements:
Definition:
Returns the parent folder object, and optionally all ancestor folder objects, above a specified folder object.
Inputs:
ID folderId: Source folder to get the parent or ancestors of
(Optional) String filter: Property filter specifying which properties to return.
(Optional) Boolean includeAllowableActions: False (default)
(Optional) Enum includeRelationships: none (default), source, target, both
(Optional) Bool returnToRoot: If false, return only the immediate parent of the folder. If true, return an ordered list of all ancestor folders from the specified folder to the root folder. Default=False
Outputs:
ResultSet resultSet of folders
Parent Folder ID + Specified properties
Can be a list of folders
Notes:
Output is ordered by ancestry, closest to specified folder first. However XML clients may not always respect ordering. For that reason repositories SHOULD always include the parent and the ObjectID property in the filter to allow re-ordering if necessary.
No parent folder is returned if the specified folder is the root folder.
If “includeAllowableActions†is TRUE, the repository will return the allowable actions for the current user for each parent or ancestor folder as part of the output.
'IncludeRelationships' indicates whether relationships are also returned for each returned object. If it is set to 'source' or 'target', relationships for which the returned object is a source, or respectively a target, will also be returned. If it is set to 'both', relationships for which the returned object is either a source or a target will be returned. If it is set to 'none', relationships are not returned.
.
GET /alfresco/service/api/node/{store_type}/{store_id}/{id}/parent?returnToRoot={returnToRoot}&filte...
GET /alfresco/service/api/path/{store_type}/{store_id}/{id}/parent?returnToRoot={returnToRoot}&filte...
Requirements:
Definition:
Returns the parent folders for the specified non-folder, fileable object
Inputs:
ID objectId: ID of a non-folder, fileable object.
(Optional) String filter: filter specifying which properties to return.
(Optional) Boolean includeAllowableActions: False (default)
(Optional) Enum includeRelationships: none (default), source, target, both
Outputs:
ResultSet resultSet - Set of folders containing the object.
Notes:
Order is repository-specific
It is suggested that the parent and the ObjectId properties are included in the filter to allow re-ordering if necessary.
If “includeAllowableActions†is TRUE, the repository will return the allowable actions for the current user for each parent folder as part of the output.
'IncludeRelationships' indicates whether relationships are also returned for each returned object. If it is set to 'source' or 'target', relationships for which the returned object is a source, or respectively a target, will also be returned. If it is set to 'both', relationships for which the returned object is either a source or a target will be returned. If it is set to 'none', relationships are not returned.
.
GET /alfresco/service/api/node/{store_type}/{store_id}/{id}/parents?filter={filter?}
GET /alfresco/service/api/path/{store_type}/{store_id}/{id}/parents?filter={filter?}
Requirements:
Definition:
Reverses the effect of a check-out. Removes the private working copy of the checked-out document object, allowing other documents in the version series to be checked out again.
Inputs:
ID documentId: ObjectId of Private Working Copy (ID returned on CheckOut)
Notes:
It is repository specific on who can cancel a checkout (user, admin, larger group, etc)
Throws OperationNotSupportedException if the object is not checked out
.
DELETE /alfresco/service/api/pwc/{store_type}/{store_id}/{id}
Requirements:
Definition:
Retrieves the properties of a private working copy.
GET /alfresco/service/api/pwc/{store_type}/{store_id}/{id}?filter={filter?}
Requirements:
Definition:
Makes the private working copy the current version of the document.
Inputs:
ID documentId: ObjectId of the private working copy
Optional) Boolean major: True (Default)
(Optional) Property bag
(Optional) ContentStream stream
(Optional) String CheckinComment
Outputs:
ID documentId: ID for the new version of the document.
Notes:
It is left to the repository to determine who can check-in a document.
CheckinComment is persisted if specified.
For repositories that do not support updating private working copies, all updates MUST be set on the check-in service.
If Document is not checked out, throw OperationNotSupportedException.
If the Document has “Content_Stream_Allowed†set to FALSE, and a call is made to checkIn that includes a content-stream, throw ConstraintViolationException.
.
PUT /alfresco/service/api/pwc/{store_type}/{store_id}/{id}?checkinComment={checkinComment?}&major={m...
Requirements:
Definition:
Gets the definition for specified object type
Inputs:
ID typeId: Type Id
Outputs:
Collection typeAttributeCollection: Type attributes of an object type definition. See the “Object Type†section for a complete list of type attributes.
<Array> propertyDefinition: A list of property definitions. Each property definition consists of a collection of property attributes. See the “Object Type†section for a complete list of property attributes.
Notes:
canCreateInstances if false, the user MUST NOT be able to create instances of this particular type. If true, the user may be able to create instances.
When includeInheritedProperties is true, the repository SHOULD return all properties defined for the Object Type, including any properties inherited from its parent. If false, only Properties defined on the Object Type (but not its parent) SHOULD be returned.
GET /alfresco/service/api/type/{typeId}?includeInheritedProperties={includeInheritedProperties?}
Requirements:
Definition:
Retrieve list of all child Types.
GET /alfresco/service/api/type/{typeId}/children?includePropertyDefinitions={includePropertyDefiniti...
Requirements:
Definition:
Retrieve list of all descendant Types.
GET /alfresco/service/api/type/{typeId}/descendants?includePropertyDefinitions={includePropertyDefin...
Requirements:
Definition:
Returns the list of all types in the repository.
Inputs:
(Optional) ID typeId: not set (default)
(Optional) Bool returnPropertyDefinitions: False (default)
(Optional) int maxItems: 0 = Repository-default number of items (Default)
(Optional) int skipCount: 0 = start (Default)
Outputs:
Result Set - List of types
Boolean hasMoreItems
The type attributes of each type will be returned
The property definitions of each type will be returned if returnPropertyDefinitions is TRUE.
Notes:
A repository may support a hierarchy of types but CMIS will return them as a flat list.
If provided, the input parameter “TypeId†specifies to only return the specific Object Type and its descendants. If not provided, all Object Types are to be returned.
If no “maxItems†value is provided, then the Repository will determine an appropriate number of items to return. How the Repository determines this value is repository-specific and opaque to CMIS.
If “returnPropertyDefinitions†is False, then the Repository will return only the “Attributes†of the Object Type Definition as specified in the “Object Type†section of the Data Model. Otherwise, property definitions will also be returned for each object type.
GET /alfresco/service/api/types?type={type?}&includePropertyDefinitions={includePropertyDefinitions?...
Requirements:
Definition:
Retrieve list of documents that are not in any folder.
GET /alfresco/service/api/unfiled
Requirements:
Definition:
Returns the list of all document versions for the specified version series, sorted by CREATION_DATE descending.
Inputs:
ID versionSeriesId: Version series Id
Outputs:
(Optional) String filter: Property Filter
Collection documentCollection - Set of objects containing Ids and specified properties
Notes:
Returns all versions the user can access including checked-out version and private working copy.
.
GET /alfresco/service/api/node/{store_type}/{store_id}/{id}/versions?filter={filter?}
GET /alfresco/service/api/path/{store_type}/{store_id}/{id}/versions?filter={filter?}
Requirements:
Definition:
Get all the tags for a node
Returns STATUS_OK (200).
GET /alfresco/service/api/node/{store_type}/{store_id}/{id}/tags
GET /alfresco/service/api/path/{store_type}/{store_id}/{id}/tags
Requirements:
Definition:
Add one or more tags to the node
Input:
(mandatory) array of String
Returns the array of tags
Return STATUS_OK (200).
POST /alfresco/service/api/node/{store_type}/{store_id}/{id}/tags
POST /alfresco/service/api/path/{store_type}/{store_id}/{id}/tags
Requirements:
Definition:
Get the currently available tags for the specified store.
GET /alfresco/service/api/tags/{store_type}/{store_id}?tf={tag_filter?}
Requirements:
Definition:
GET /alfresco/service/api/tags/{store_type}/{store_id}/{tag}/nodes
Requirements:
Definition:
Get all tags of the nearest available tagscope.
GET /alfresco/service/api/tagscopes/node/{store_type}/{store_id}/{id}/tags
GET /alfresco/service/api/tagscopes/site/{site}/tags
GET /alfresco/service/api/tagscopes/site/{site}/{container}/tags
Requirements:
Definition:
Delete a thumbnail for a content resource.
DELETE /alfresco/service/api/node/{store_type}/{store_id}/{id}/content{property}/thumbnails/{thumbna...
DELETE /alfresco/service/api/path/{store_type}/{store_id}/{id}/content{property}/thumbnails/{thumbna...
Requirements:
Definition:
Get a named thumbnail for a content resource.
GET /alfresco/service/api/node/{store_type}/{store_id}/{id}/content{property}/thumbnails/{thumbnailn...
GET /alfresco/service/api/path/{store_type}/{store_id}/{id}/content{property}/thumbnails/{thumbnailn...
Requirements:
Definition:
Update a thumbnail for a content resource.
PUT /alfresco/service/api/node/{store_type}/{store_id}/{id}/content{property}/thumbnails/{thumbnailn...
PUT /alfresco/service/api/path/{store_type}/{store_id}/{id}/content{property}/thumbnails/{thumbnailn...
Requirements:
Definition:
Get the thumbnails definitions for a content resource.
GET /alfresco/service/api/node/{store_type}/{store_id}/{id}/content{property}/thumbnaildefinitions
GET /alfresco/service/api/path/{store_type}/{store_id}/{id}/content{property}/thumbnaildefinitions
Requirements:
Definition:
Get the thumbnails for a content resource.
GET /alfresco/service/api/node/{store_type}/{store_id}/{id}/content{property}/thumbnails
GET /alfresco/service/api/path/{store_type}/{store_id}/{id}/content{property}/thumbnails
Requirements:
Definition:
Create a new thumbnail for a content resource.
POST /alfresco/service/api/node/{store_type}/{store_id}/{id}/content{property}/thumbnails?as={async?...
POST /alfresco/service/api/path/{store_type}/{store_id}/{id}/content{property}/thumbnails?as={async?...
Requirements:
Definition:
POST /alfresco/service/api/upload
Requirements:
Definition:
Revert Version Info.
POST /alfresco/service/api/revert
Requirements:
Definition:
Node Version Info.
GET /alfresco/service/api/version
Requirements:
Definition:
Delete a single WCM web project and its contents,
webprojectref specifies which project to delete and will have been returned by a prior call to get, create or list web project.
DELETE /alfresco/service/api/wcm/webprojects/{webprojectref}
Requirements:
Definition:
Get a single WCM web project in JSON format.
GET /alfresco/service/api/wcm/webprojects/{webprojectref}
Requirements:
Definition:
Create (POST) a single WCM web project.
The following fields are required in the body of the request:
POST /alfresco/service/api/wcm/webprojects
Requirements:
Definition:
PUT /alfresco/service/api/wcm/webprojects/{webprojectref}
Requirements:
Definition:
Get a list of the WCM Web projects.
userName is an optional argument that if specified then only those web projects for the specified user are returned else all web projects are returned.
GET /alfresco/service/api/wcm/webprojects?userName={userName?}
GET /alfresco/service/api/wcm/webprojects
Requirements:
Definition:
Delete (uninvite) the membership for a user.
Please note that the user's sandboxes are deleted even if they have unsubmitted content.
Returns 200, STATUS_OK on success.
DELETE /alfresco/service/api/wcm/webprojects/{webprojectref}/memberships/{username}
Requirements:
Definition:
Get the webproject membership details for a user.
GET /alfresco/service/api/wcm/webprojects/{webprojectref}/memberships/{username}
Requirements:
Definition:
Get the collection of a web project memberships for a web project.
GET /alfresco/service/api/wcm/webprojects/{webprojectref}/memberships
Requirements:
Definition:
Adds a new membership to the web project. After calling this method the user will be able to access the specified web project.
Input
POST /alfresco/service/api/wcm/webprojects/{webprojectref}/memberships
Requirements:
Definition:
Deletes a WCM sandbox and all its contents.
DELETE /alfresco/service/api/wcm/webprojects/{webprojectref}/sandboxes/{sandboxRef}
Requirements:
Definition:
data: sandboxref name creator createdDate.iso8601 storeNames' : [ ] isAuthorSandbox isStagingSandbox urlReturns STATUS_OK, 200.
GET /alfresco/service/api/wcm/webprojects/{webprojectref}/sandboxes/{sandboxref}
Requirements:
Definition:
POST /alfresco/service/api/wcm/webprojects/{webprojectref}/sandboxes
Requirements:
Definition:
Get a collection of a web project sandboxes.
If userName is specified then returns the sandboxes for the specified user.
GET /alfresco/service/api/wcm/webprojects/{webprojectref}/sandboxes?userName={userName?}
GET /alfresco/service/api/wcm/webprojects/{webprojectref}/sandboxes
Requirements:
Definition:
Delete the specified asset.
If the optional webApp argument is specified then the path is relative to the webapp e.g. /index.htm
If webApp is not specified then the path is will be absolute e.g. /www/avm_webapps/ROOT/index.htm
Returns STATUS_OK(200) for success.
DELETE /alfresco/service/api/wcm/webprojects/{webprojectref}/sandboxes/{sandboxref}/assets/{path}
DELETE /alfresco/service/api/wcm/webprojects/{webprojectref}/sandboxes/{sandboxref}/assets/{path}?we...
Requirements:
Definition:
Get the details of the specified asset.
If the asset is a folder, includes the children of that folder.
If the asset is a file, gives the size of the file.
If the optional webApp argument is specified then returns the asset relative to that web app e.g. /index.htm
If webApp is not specified then the path is will be absolute e.g. /www/avm_webapps/ROOT/index.htm
Return STATUS_OK, 200
Output - The asset in JSON format data: path, the full path of the asset. name, the name of the asset creator createdDate, iso8601, modifier modifiedDate, iso8601, isLocked, boolean isFile, boolean isFolder, boolean isDeleted, boolean children, JSON array, only present for folder fileSize, numeric, only present for files
.
GET /alfresco/service/api/wcm/webprojects/{webprojectref}/sandboxes/{sandboxref}/assets/{path}
GET /alfresco/service/api/wcm/webprojects/{webprojectref}/sandboxes/{sandboxref}/assets/{path}?webAp...
Requirements:
Definition:
data:The newly created asset in JSON format..
POST /alfresco/service/api/wcm/webprojects/{webprojectref}/sandboxes/{sandboxref}/assets/{path}
POST /alfresco/service/api/wcm/webprojects/{webprojectref}/sandboxes/{sandboxref}/assets/{path}?webA...
Requirements:
Definition:
Update a WCM Asset, you can rename or move an asset.
JSON Input properties
PUT /alfresco/service/api/wcm/webprojects/{webprojectref}/sandboxes/{sandboxref}/assets/{path}
PUT /alfresco/service/api/wcm/webprojects/{webprojectref}/sandboxes/{sandboxref}/assets/{path}?webAp...
Requirements:
Definition:
Get the modified (added, deleted, updated) details of an asset within an author's sandbox.
If a folder has been added then only the folders's properties are returned (not folder plus assets within that new folder).
If the optional webApp argument is specified then returns the modified assets within that web app.
GET /alfresco/service/api/wcm/webprojects/{webprojectref}/sandboxes/{sandboxref}/modified
GET /alfresco/service/api/wcm/webprojects/{webprojectref}/sandboxes/{sandboxref}/modified?webApp={we...
Requirements:
Definition:
Revert the modified (added, deleted, updated) assets contained within an author's sandbox.
If the optional webApp argument is specified then reverts the modified assets within that web app.
JSON data fileds
POST /alfresco/service/api/wcm/webprojects/{webprojectref}/sandboxes/{sandboxref}/reverter
POST /alfresco/service/api/wcm/webprojects/{webprojectref}/sandboxes/{sandboxref}/reverter?webApp={w...
Requirements:
Definition:
Submit the modified (added, deleted, updated) assets contained within an author's sandbox.
If the optional webApp argument is specified then submits the modified assets within that web app.
JSON data fields:
POST /alfresco/service/api/wcm/webprojects/{webprojectref}/sandboxes/{sandboxref}/submitter
POST /alfresco/service/api/wcm/webprojects/{webprojectref}/sandboxes/{sandboxref}/submitter?webApp={...
Requirements:
Definition:
Ends a task for an in-flight workflow with the passed-in transition or the default.
POST /alfresco/service/api/workflow/task/end/{taskId}/{transitionId}
POST /alfresco/service/api/workflow/task/end/{taskId}
Requirements:
Definition: