![]() |
Index of Web Scripts Lifecycle '/draft_public_api' |
| Alfresco Community v3.2.0 (2039) |
| 51 Web Scripts |
| Back to Web Scripts Home |
| Up to lifecycle / |
| DELETE /alfresco/service/api/groups/{shortGroupName}/children/{fullAuthorityName} |
| --- |
| Remove an authority (USER or GROUP) from a group. A user will not be deleted by this method. You must have "administrator" privileges to alter a group. |
| --- |
| Authentication: | user |
| Transaction: | required |
| Format Style: | argument |
| Default Format: | json |
| Lifecycle: | draft_public_api |
| Id: | org/alfresco/repository/groups/children.delete |
| Descriptor: | classpath:alfresco/templates/webscripts/org/alfresco/repository/groups/children.delete.desc.xml |
| GET /alfresco/service/api/groups/{shortName}/children?authorityType={authorityType?} |
| --- |
| Get a list of the child authorities of a group. This contains both people and groups. The authorityType parameter can be used to specify to return authorities of the given type. Valid values are GROUP and USER. |
| --- |
| Authentication: | user |
| Transaction: | required |
| Format Style: | argument |
| Default Format: | json |
| Lifecycle: | draft_public_api |
| Id: | org/alfresco/repository/groups/children.get |
| Descriptor: | classpath:alfresco/templates/webscripts/org/alfresco/repository/groups/children.get.desc.xml |
| POST /alfresco/service/api/groups/{shortName}/children/{fullAuthorityName} |
| --- |
| Add a group or user to a group. Will create a sub group if one does not already exist with the fullAuthorityName. You must have "administrator" privileges to modify groups. If the authority is for a group and doe not exist then it is created. Returns Status_Created if a new group is created, else Status_OK. If Status_Created returns the new sub group, else returns the group. |
| --- |
| Authentication: | user |
| Transaction: | required |
| Format Style: | argument |
| Default Format: | json |
| Lifecycle: | draft_public_api |
| Id: | org/alfresco/repository/groups/children.post |
| Descriptor: | classpath:alfresco/templates/webscripts/org/alfresco/repository/groups/children.post.desc.xml |
| GET /alfresco/service/api/groups/{shortName} |
| --- |
| Get the details of a group. |
| --- |
| Authentication: | user |
| Transaction: | required |
| Format Style: | argument |
| Default Format: | json |
| Lifecycle: | draft_public_api |
| Id: | org/alfresco/repository/groups/group.get |
| Descriptor: | classpath:alfresco/templates/webscripts/org/alfresco/repository/groups/group.get.desc.xml |
| PUT /alfresco/service/api/groups/{shortName} |
| --- |
| Update the details of a group. you must have "administrator" privileges to change the name of a group. The following properties may be updated.
|
| --- |
| Authentication: | user |
| Transaction: | required |
| Format Style: | argument |
| Default Format: | json |
| Lifecycle: | draft_public_api |
| Id: | org/alfresco/repository/groups/group.put |
| Descriptor: | classpath:alfresco/templates/webscripts/org/alfresco/repository/groups/group.put.desc.xml |
| DELETE /alfresco/service/api/groups/{shortName} |
| --- |
| Delete a group and all its dependents. You must have "administrator" privileges to delete a group. |
| --- |
| Authentication: | user |
| Transaction: | required |
| Format Style: | argument |
| Default Format: | json |
| Lifecycle: | draft_public_api |
| Id: | org/alfresco/repository/groups/groups.delete |
| Descriptor: | classpath:alfresco/templates/webscripts/org/alfresco/repository/groups/groups.delete.desc.xml |
| GET /alfresco/service/api/groups?shortNameFilter={shortNameFilter?}&zone={zone?} |
| --- |
| Search for groups. Parameters
Returns an Array of groups in JSON format. |
| --- |
| Authentication: | user |
| Transaction: | required |
| Format Style: | argument |
| Default Format: | json |
| Lifecycle: | draft_public_api |
| Id: | org/alfresco/repository/groups/groups.get |
| Descriptor: | classpath:alfresco/templates/webscripts/org/alfresco/repository/groups/groups.get.desc.xml |
| GET /alfresco/service/api/groups/{shortName}/parents?level={level?} |
| --- |
| Get a list of the parent authorities of a group. The optional level attribute can be "ALL" in which case all parents are returned. |
| --- |
| Authentication: | user |
| Transaction: | required |
| Format Style: | argument |
| Default Format: | json |
| Lifecycle: | draft_public_api |
| Id: | org/alfresco/repository/groups/parent.get |
| Descriptor: | classpath:alfresco/templates/webscripts/org/alfresco/repository/groups/parent.get.desc.xml |
| DELETE /alfresco/service/api/rootgroups/{shortName} |
| --- |
| Delete a root group and all its dependents. You must have "administrator" privileges to delete a group. |
| --- |
| Authentication: | user |
| Transaction: | required |
| Format Style: | argument |
| Default Format: | json |
| Lifecycle: | draft_public_api |
| Id: | org/alfresco/repository/groups/rootgroups.delete |
| Descriptor: | classpath:alfresco/templates/webscripts/org/alfresco/repository/groups/rootgroups.delete.desc.xml |
| GET /alfresco/service/api/rootgroups?shortNameFilter={shortNameFilter?}&zone={zone?} |
| --- |
| List all root groups. If the optional zone parameter is set to 'true' then returns root groups from the specified zone. If not specified will return groups from all zones. If the optional shortNameFilter parameter is set then returns those root groups with a partial match on shortName. The shortname filter can contain the wild card characters * and ? but these must be url encoded for this script. |
| --- |
| Authentication: | user |
| Transaction: | required |
| Format Style: | argument |
| Default Format: | json |
| Lifecycle: | draft_public_api |
| Id: | org/alfresco/repository/groups/rootgroups.get |
| Descriptor: | classpath:alfresco/templates/webscripts/org/alfresco/repository/groups/rootgroups.get.desc.xml |
| POST /alfresco/service/api/rootgroups/{shortName} |
| --- |
| Add a root group. You must have "administrator" privileges to add a root group. Returns STATUS_CREATED if a new group is created. If the group already exists returns BAD_REQUEST. The following properties may be specified for the new root group.
|
| --- |
| Authentication: | user |
| Transaction: | required |
| Format Style: | argument |
| Default Format: | json |
| Lifecycle: | draft_public_api |
| Id: | org/alfresco/repository/groups/rootgroups.post |
| Descriptor: | classpath:alfresco/templates/webscripts/org/alfresco/repository/groups/rootgroups.post.desc.xml |
| GET /alfresco/service/api/invitations?inviteeUserName={inviteeUserName?}&invitationType={invitationType?}&resourceType={resourceType?} |
| --- |
| Get a collecton of a invitations. With no parameters, returns all open invitations (which could be a large number). With inviteeUserName, returns all open invitations for this invitee. With invitationType, returns invitations of the specified type (Either NOMINATED or MODERATED). With resourceType, returns invitations of the specified type (WEB_SITE only at the moment). Returns a JSON array of Invitations. |
| --- |
| Authentication: | user |
| Transaction: | required |
| Format Style: | any |
| Default Format: | json |
| Lifecycle: | draft_public_api |
| Id: | org/alfresco/repository/invitation/invitations.get |
| Descriptor: | classpath:alfresco/templates/webscripts/org/alfresco/repository/invitation/invitations.get.desc.xml |
| DELETE /alfresco/service/api/sites/{shortname}/invitations/{invitationId} |
| --- |
| Cancel an open invitation. Canceling an invitation immediatly stops the invitation, it is different to rejecting an invitation which will result in the invitation workflow continuing to a normal but rejected conclusion. In particular the approver or invitee are not notified if an invitation is canceled. Only a site manager may cancel an nominated invitation. A site manager or the invitee may cancel a moderated invitation. Returns 200, STATUS_OK on success. |
| --- |
| Authentication: | user |
| Transaction: | required |
| Format Style: | any |
| Default Format: | json |
| Lifecycle: | draft_public_api |
| Id: | org/alfresco/repository/site/invitation/invitation.delete |
| Descriptor: | classpath:alfresco/templates/webscripts/org/alfresco/repository/site/invitation/invitation.delete.desc.xml |
| GET /alfresco/service/api/sites/{shortname}/invitations/{inviteId} |
| --- |
| Get a single web site invitation. |
| --- |
| Authentication: | user |
| Transaction: | required |
| Format Style: | any |
| Default Format: | json |
| Lifecycle: | draft_public_api |
| Id: | org/alfresco/repository/site/invitation/invitation.get |
| Descriptor: | classpath:alfresco/templates/webscripts/org/alfresco/repository/site/invitation/invitation.get.desc.xml |
| POST /alfresco/service/api/sites/{shortname}/invitations |
| --- |
| Create a new invitation for this web site. For a Nominated Invitation, where an existing site member nominates someone else who is possibly not yet an alfresco user to become a member of this web site. For an existing user, the invitee is identified by inviteeUserName. For a user who does not have a userName a new account will be generated based upon inviteeFirstName, inviteeLastName and inviteeEmail if inviteeUserName is specified then inviteeFirstName, inviteeLastName and inviteeEmail are ignored.
For a Moderated Invitation, where an existing user wants to be made a member of a moderated web site.
Returns HTTPStatus.Created (201) if an invitation is created. |
| --- |
| Authentication: | user |
| Transaction: | required |
| Format Style: | any |
| Default Format: | json |
| Lifecycle: | draft_public_api |
| Id: | org/alfresco/repository/site/invitation/invitation.post |
| Descriptor: | classpath:alfresco/templates/webscripts/org/alfresco/repository/site/invitation/invitation.post.desc.xml |
| GET /alfresco/service/api/sites/{shortname}/invitations?inviteeUserName={inviteeUserName?}&invitationType={invitationType?} |
| --- |
| Get a collecton of a site web invitations. With no parameters, returns all open invitations for this web site. With inviteeUserName, returns all open invitations for this web site and invitee. With invitationType, returns all open invitations of the specified type (Either NOMINATED or MODERATED). Returns a JSON element |
| --- |
| Authentication: | user |
| Transaction: | required |
| Format Style: | any |
| Default Format: | json |
| Lifecycle: | draft_public_api |
| Id: | org/alfresco/repository/site/invitation/invitations.get |
| Descriptor: | classpath:alfresco/templates/webscripts/org/alfresco/repository/site/invitation/invitations.get.desc.xml |
| DELETE /alfresco/service/api/sites/{shortname}/memberships/{authorityname} |
| --- |
| Delete membership from a web site. 'shortname' is the shortname of the web site, 'authorityname' is the full authority name for the membership. |
| --- |
| Authentication: | user |
| Transaction: | required |
| Format Style: | argument |
| Default Format: | json |
| Lifecycle: | draft_public_api |
| Id: | org/alfresco/repository/site/membership/membership.delete |
| Descriptor: | classpath:alfresco/templates/webscripts/org/alfresco/repository/site/membership/membership.delete.desc.xml |
| GET /alfresco/service/api/sites/{shortname}/memberships/{authorityname} |
| --- |
| Get the membership details for a user or group 'shortname' is the shortname of the web site, 'authorityname' is the full authority name for the membership. Returns a membership or Status.NOT_FOUND(404) |
| --- |
| Authentication: | user |
| Transaction: | required |
| Format Style: | argument |
| Default Format: | json |
| Lifecycle: | draft_public_api |
| Id: | org/alfresco/repository/site/membership/membership.get |
| Descriptor: | classpath:alfresco/templates/webscripts/org/alfresco/repository/site/membership/membership.get.desc.xml |
| PUT /alfresco/service/api/sites/{shortname}/memberships/{authorityname} |
| --- |
| Update the membership role for a user or group 'shortname' is the shortname of the web site, 'authorityname' is the full authority name for the membership. Required parameters, role, mandatory String, the new role name for this membership. person object, with userName property OR group object, with fullName property OR authority object, with fullName property Returns: The new authority. |
| --- |
| Authentication: | user |
| Transaction: | required |
| Format Style: | argument |
| Default Format: | json |
| Lifecycle: | draft_public_api |
| Id: | org/alfresco/repository/site/membership/membership.put |
| Descriptor: | classpath:alfresco/templates/webscripts/org/alfresco/repository/site/membership/membership.put.desc.xml |
| GET /alfresco/service/api/sites/{shortname}/memberships?nf={namefilter?}&rf={rolefilter?}&size={pagesize?}&pos={position?}&authorityType={authorityType?} |
| --- |
| Get a colleciton of a Web Site memberships. 'shortname' is the shortname of the web site Parameters:
|
| --- |
| Authentication: | user |
| Transaction: | required |
| Format Style: | argument |
| Default Format: | json |
| Lifecycle: | draft_public_api |
| Id: | org/alfresco/repository/site/membership/memberships.get |
| Descriptor: | classpath:alfresco/templates/webscripts/org/alfresco/repository/site/membership/memberships.get.desc.xml |
| POST /alfresco/service/api/sites/{shortname}/memberships |
| --- |
| Adds a new membership to the web site 'shortname' is the shortname of the web site, 'authorityname' is the full authority name for the membership. Required parameters, role, mandatory String, the new role name for this membership. person object, with userName property OR group object, with fullName property OR authority object, with fullName property |
| --- |
| Authentication: | user |
| Transaction: | required |
| Format Style: | argument |
| Default Format: | json |
| Lifecycle: | draft_public_api |
| Id: | org/alfresco/repository/site/membership/memberships.post |
| Descriptor: | classpath:alfresco/templates/webscripts/org/alfresco/repository/site/membership/memberships.post.desc.xml |
| GET /alfresco/service/api/sites/{shortname}/potentialmembers?filter={filter?}&maxResults={maxResults?}&authorityType={authorityType?} |
| --- |
| Get a colleciton of People and/or Groups who are not yet Site members. 'shortname' is the shortname of the web site Parameters:
|
| --- |
| Authentication: | user |
| Transaction: | required |
| Format Style: | argument |
| Default Format: | json |
| Lifecycle: | draft_public_api |
| Id: | org/alfresco/repository/site/membership/potentialmembers.get |
| Descriptor: | classpath:alfresco/templates/webscripts/org/alfresco/repository/site/membership/potentialmembers.get.desc.xml |
| GET /alfresco/service/api/sites/{shortname} |
| --- |
| Get the details of a web site. Returns 200, STATUS_OK on success. |
| --- |
| Authentication: | user |
| Transaction: | required |
| Format Style: | argument |
| Default Format: | json |
| Lifecycle: | draft_public_api |
| Id: | org/alfresco/repository/site/site.get |
| Descriptor: | classpath:alfresco/templates/webscripts/org/alfresco/repository/site/site.get.desc.xml |
| PUT /alfresco/service/api/sites/{shortname} |
| --- |
Update the details of a site. The following properties may be updated.
|
| --- |
| Authentication: | user |
| Transaction: | required |
| Format Style: | argument |
| Default Format: | json |
| Lifecycle: | draft_public_api |
| Id: | org/alfresco/repository/site/site.put |
| Descriptor: | classpath:alfresco/templates/webscripts/org/alfresco/repository/site/site.put.desc.xml |
| POST /alfresco/service/api/sites |
| --- |
| Creates a new site based on the site preset and details provided. The following properties may be set.
|
| --- |
| Authentication: | user |
| Transaction: | required |
| Format Style: | argument |
| Default Format: | json |
| Lifecycle: | draft_public_api |
| Id: | org/alfresco/repository/site/sites.post |
| Descriptor: | classpath:alfresco/templates/webscripts/org/alfresco/repository/site/sites.post.desc.xml |
| --- |
| TODO |
| --- |
| Authentication: | guest |
| Transaction: | required |
| Format Style: | argument |
| Default Format: | text |
| Lifecycle: | draft_public_api |
| Id: | org/alfresco/repository/store/content.put |
| Descriptor: | classpath:alfresco/templates/webscripts/org/alfresco/repository/store/content.put.desc.xml |
| GET /alfresco/service/api/node/{store_type}/{store_id}/{id}/tags |
| GET /alfresco/service/api/path/{store_type}/{store_id}/{id}/tags |
| --- |
| Get all the tags for a node Returns STATUS_OK (200) |
| --- |
| Authentication: | user |
| Transaction: | required |
| Format Style: | any |
| Default Format: | json |
| Lifecycle: | draft_public_api |
| Id: | org/alfresco/repository/tagging/node.tags.get |
| Descriptor: | classpath:alfresco/templates/webscripts/org/alfresco/repository/tagging/node.tags.get.desc.xml |
| POST /alfresco/service/api/node/{store_type}/{store_id}/{id}/tags |
| POST /alfresco/service/api/path/{store_type}/{store_id}/{id}/tags |
| --- |
| Add one or more tags to the node Input: (mandatory) array of String Returns the array of tags Return STATUS_OK (200). |
| --- |
| Authentication: | user |
| Transaction: | required |
| Format Style: | any |
| Default Format: | json |
| Lifecycle: | draft_public_api |
| Id: | org/alfresco/repository/tagging/node.tags.post |
| Descriptor: | classpath:alfresco/templates/webscripts/org/alfresco/repository/tagging/node.tags.post.desc.xml |
| GET /alfresco/service/api/tags/{store_type}/{store_id}?tf={tag_filter?} |
| --- |
Get the currently available tags for the specified store.
|
| --- |
| Authentication: | user |
| Transaction: | required |
| Format Style: | argument |
| Default Format: | json |
| Lifecycle: | draft_public_api |
| Id: | org/alfresco/repository/tagging/tags.get |
| Descriptor: | classpath:alfresco/templates/webscripts/org/alfresco/repository/tagging/tags.get.desc.xml |
| GET /alfresco/service/api/tags/{store_type}/{store_id}/{tag}/nodes |
| --- |
| Get the nodes which have a given tag Return content Array of
Return status: STATUS_OK, 200 |
| --- |
| Authentication: | user |
| Transaction: | required |
| Format Style: | any |
| Default Format: | json |
| Lifecycle: | draft_public_api |
| Id: | org/alfresco/repository/tagging/tags.nodes.get |
| Descriptor: | classpath:alfresco/templates/webscripts/org/alfresco/repository/tagging/tags.nodes.get.desc.xml |
| 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 |
| --- |
| Get all tags of the nearest available tagscope |
| --- |
| Authentication: | user |
| Transaction: | required |
| Format Style: | argument |
| Default Format: | json |
| Lifecycle: | draft_public_api |
| Id: | org/alfresco/repository/tagging/tagscope-tags.get |
| Descriptor: | classpath:alfresco/templates/webscripts/org/alfresco/repository/tagging/tagscope-tags.get.desc.xml |
| DELETE /alfresco/service/api/wcm/webprojects/{webprojectref}/memberships/{username} |
| --- |
| 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. |
| --- |
| Authentication: | user |
| Transaction: | required |
| Format Style: | argument |
| Default Format: | json |
| Lifecycle: | draft_public_api |
| Id: | org/alfresco/repository/wcm/membership/membership.delete |
| Descriptor: | classpath:alfresco/templates/webscripts/org/alfresco/repository/wcm/membership/membership.delete.desc.xml |
| GET /alfresco/service/api/wcm/webprojects/{webprojectref}/memberships/{username} |
| --- |
| Get the webproject membership details for a user |
| --- |
| Authentication: | user |
| Transaction: | required |
| Format Style: | argument |
| Default Format: | json |
| Lifecycle: | draft_public_api |
| Id: | org/alfresco/repository/wcm/membership/membership.get |
| Descriptor: | classpath:alfresco/templates/webscripts/org/alfresco/repository/wcm/membership/membership.get.desc.xml |
| GET /alfresco/service/api/wcm/webprojects/{webprojectref}/memberships |
| --- |
| Get the collection of a web project memberships for a web project. |
| --- |
| Authentication: | user |
| Transaction: | required |
| Format Style: | argument |
| Default Format: | json |
| Lifecycle: | draft_public_api |
| Id: | org/alfresco/repository/wcm/membership/memberships.get |
| Descriptor: | classpath:alfresco/templates/webscripts/org/alfresco/repository/wcm/membership/memberships.get.desc.xml |
| POST /alfresco/service/api/wcm/webprojects/{webprojectref}/memberships |
| --- |
| Adds a new membership to the web project. After calling this method the user will be able to access the specified web project. Input
Returns 200, STATUS_OK |
| --- |
| Authentication: | user |
| Transaction: | required |
| Format Style: | argument |
| Default Format: | json |
| Lifecycle: | draft_public_api |
| Id: | org/alfresco/repository/wcm/membership/memberships.post |
| Descriptor: | classpath:alfresco/templates/webscripts/org/alfresco/repository/wcm/membership/memberships.post.desc.xml |
| --- |
| 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. |
| --- |
| Authentication: | user |
| Transaction: | required |
| Format Style: | argument |
| Default Format: | json |
| Lifecycle: | draft_public_api |
| Id: | org/alfresco/repository/wcm/sandbox/Asset/asset.delete |
| Descriptor: | classpath:alfresco/templates/webscripts/org/alfresco/repository/wcm/sandbox/Asset/asset.delete.desc.xml |
| --- |
| 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 |
| --- |
| Authentication: | user |
| Transaction: | required |
| Format Style: | argument |
| Default Format: | json |
| Lifecycle: | draft_public_api |
| Id: | org/alfresco/repository/wcm/sandbox/Asset/asset.get |
| Descriptor: | classpath:alfresco/templates/webscripts/org/alfresco/repository/wcm/sandbox/Asset/asset.get.desc.xml |
| --- |
| Create a new WCM Asset in the specified path and sandbox. If the optional webApp argument is specified then the path is relative to the webapp. If webApp is not specified then the path is will be absolute e.g. /www/avm_webapps/ROOT JSON Input values
data:The newly created asset in JSON format. |
| --- |
| Authentication: | user |
| Transaction: | required |
| Format Style: | argument |
| Default Format: | json |
| Lifecycle: | draft_public_api |
| Id: | org/alfresco/repository/wcm/sandbox/Asset/asset.post |
| Descriptor: | classpath:alfresco/templates/webscripts/org/alfresco/repository/wcm/sandbox/Asset/asset.post.desc.xml |
| --- |
| Update a WCM Asset, you can rename or move an asset. JSON Input properties
JSON Return data: |
| --- |
| Authentication: | user |
| Transaction: | required |
| Format Style: | argument |
| Default Format: | json |
| Lifecycle: | draft_public_api |
| Id: | org/alfresco/repository/wcm/sandbox/Asset/asset.put |
| Descriptor: | classpath:alfresco/templates/webscripts/org/alfresco/repository/wcm/sandbox/Asset/asset.put.desc.xml |
| GET /alfresco/service/api/wcm/webprojects/{webprojectref}/sandboxes/{sandboxref}/modified |
| GET /alfresco/service/api/wcm/webprojects/{webprojectref}/sandboxes/{sandboxref}/modified?webApp={webApp?} |
| --- |
| 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. |
| --- |
| Authentication: | user |
| Transaction: | required |
| Format Style: | argument |
| Default Format: | json |
| Lifecycle: | draft_public_api |
| Id: | org/alfresco/repository/wcm/sandbox/Asset/modified.get |
| Descriptor: | classpath:alfresco/templates/webscripts/org/alfresco/repository/wcm/sandbox/Asset/modified.get.desc.xml |
| POST /alfresco/service/api/wcm/webprojects/{webprojectref}/sandboxes/{sandboxref}/reverter |
| POST /alfresco/service/api/wcm/webprojects/{webprojectref}/sandboxes/{sandboxref}/reverter?webApp={webApp?} |
| --- |
| 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
|
| --- |
| Authentication: | user |
| Transaction: | required |
| Format Style: | argument |
| Default Format: | json |
| Lifecycle: | draft_public_api |
| Id: | org/alfresco/repository/wcm/sandbox/Asset/revert.post |
| Descriptor: | classpath:alfresco/templates/webscripts/org/alfresco/repository/wcm/sandbox/Asset/revert.post.desc.xml |
| --- |
| 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 fileds
|
| --- |
| Authentication: | user |
| Transaction: | required |
| Format Style: | argument |
| Default Format: | json |
| Lifecycle: | draft_public_api |
| Id: | org/alfresco/repository/wcm/sandbox/Asset/submit.post |
| Descriptor: | classpath:alfresco/templates/webscripts/org/alfresco/repository/wcm/sandbox/Asset/submit.post.desc.xml |
| DELETE /alfresco/service/api/wcm/webprojects/{webprojectref}/sandboxes/{sandboxRef} |
| --- |
| Deletes a WCM sandbox and all its contents. |
| --- |
| Authentication: | user |
| Transaction: | required |
| Format Style: | argument |
| Default Format: | json |
| Lifecycle: | draft_public_api |
| Id: | org/alfresco/repository/wcm/sandbox/sandbox.delete |
| Descriptor: | classpath:alfresco/templates/webscripts/org/alfresco/repository/wcm/sandbox/sandbox.delete.desc.xml |
| GET /alfresco/service/api/wcm/webprojects/{webprojectref}/sandboxes/{sandboxref} |
| --- |
Get details of single sandbox of a web project. Return data: sandboxref name creator createdDate.iso8601 storeNames" : [ ] isAuthorSandbox isStagingSandbox urlReturns STATUS_OK, 200 |
| --- |
| Authentication: | user |
| Transaction: | required |
| Format Style: | argument |
| Default Format: | json |
| Lifecycle: | draft_public_api |
| Id: | org/alfresco/repository/wcm/sandbox/sandbox.get |
| Descriptor: | classpath:alfresco/templates/webscripts/org/alfresco/repository/wcm/sandbox/sandbox.get.desc.xml |
| POST /alfresco/service/api/wcm/webprojects/{webprojectref}/sandboxes |
| --- |
| Create (POST) a new author sandbox for a user. The following fields are required in the body of the request:
Returns STATUS_CREATED,201 on success. |
| --- |
| Authentication: | user |
| Transaction: | required |
| Format Style: | argument |
| Default Format: | json |
| Lifecycle: | draft_public_api |
| Id: | org/alfresco/repository/wcm/sandbox/sandbox.post |
| Descriptor: | classpath:alfresco/templates/webscripts/org/alfresco/repository/wcm/sandbox/sandbox.post.desc.xml |
| GET /alfresco/service/api/wcm/webprojects/{webprojectref}/sandboxes?userName={userName?} |
| GET /alfresco/service/api/wcm/webprojects/{webprojectref}/sandboxes |
| --- |
| Get a collection of a web project sandboxes. If userName is specified then returns the sandboxes for the specified user. |
| --- |
| Authentication: | user |
| Transaction: | required |
| Format Style: | argument |
| Default Format: | json |
| Lifecycle: | draft_public_api |
| Id: | org/alfresco/repository/wcm/sandbox/sandboxes.get |
| Descriptor: | classpath:alfresco/templates/webscripts/org/alfresco/repository/wcm/sandbox/sandboxes.get.desc.xml |
| DELETE /alfresco/service/api/wcm/webprojects/{webprojectref} |
| --- |
| 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. |
| --- |
| Authentication: | user |
| Transaction: | required |
| Format Style: | argument |
| Default Format: | json |
| Lifecycle: | draft_public_api |
| Id: | org/alfresco/repository/wcm/webproject.delete |
| Descriptor: | classpath:alfresco/templates/webscripts/org/alfresco/repository/wcm/webproject.delete.desc.xml |
| GET /alfresco/service/api/wcm/webprojects/{webprojectref} |
| --- |
| Get a single WCM web project in JSON format. |
| --- |
| Authentication: | user |
| Transaction: | required |
| Format Style: | argument |
| Default Format: | json |
| Lifecycle: | draft_public_api |
| Id: | org/alfresco/repository/wcm/webproject.get |
| Descriptor: | classpath:alfresco/templates/webscripts/org/alfresco/repository/wcm/webproject.get.desc.xml |
| POST /alfresco/service/api/wcm/webprojects |
| --- |
| Create (POST) a single WCM web project. The following fields are required in the body of the request:
The following fields are optional:
Returns 201, STATUS_CREATED on success. The body of the return will contain the new Web Project. |
| --- |
| Authentication: | user |
| Transaction: | required |
| Format Style: | argument |
| Default Format: | json |
| Lifecycle: | draft_public_api |
| Id: | org/alfresco/repository/wcm/webproject.post |
| Descriptor: | classpath:alfresco/templates/webscripts/org/alfresco/repository/wcm/webproject.post.desc.xml |
| PUT /alfresco/service/api/wcm/webprojects/{webprojectref} |
| --- |
| Update a single WCM web project webprojectref is the unique reference returned by an earlier call to list, get or create web project The following fields are may be updated in the body of the request:
Returns 200 STATUS_OK, the body of the return will contain the updated web project. |
| --- |
| Authentication: | user |
| Transaction: | required |
| Format Style: | argument |
| Default Format: | json |
| Lifecycle: | draft_public_api |
| Id: | org/alfresco/repository/wcm/webproject.put |
| Descriptor: | classpath:alfresco/templates/webscripts/org/alfresco/repository/wcm/webproject.put.desc.xml |
| GET /alfresco/service/api/wcm/webprojects?userName={userName?} |
| GET /alfresco/service/api/wcm/webprojects |
| --- |
| 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. |
| --- |
| Authentication: | user |
| Transaction: | required |
| Format Style: | argument |
| Default Format: | json |
| Lifecycle: | draft_public_api |
| Id: | org/alfresco/repository/wcm/webprojects.get |
| Descriptor: | classpath:alfresco/templates/webscripts/org/alfresco/repository/wcm/webprojects.get.desc.xml |