Skip to content

Latest commit

 

History

History
 
 

alfresco-private-rest-api

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Alfresco CMN Api

AlfrescoPrivateRestApi - JavaScript client for alfresco-private-rest-api Provides access to the cmn features of Alfresco.

This API uses the term entity to refer to an object in an Alfresco repository. An entity is of a specific type, and has a unique id.

  • The id of an entity of type node is the NodeRef with the workspace://SpacesStore prefix removed.
  • The id of an entity of type site is the site's short name.
  • The id for an entity of type person is the person's username.

Documentation for API Endpoints

All URIs are relative to https://localhost/alfresco/api/-default-/private/alfresco/versions/1

Class Method HTTP request Description
AlfrescoCoreRestApi.CustomModelApi createCustomModel POST /cmm create Custom Model
AlfrescoCoreRestApi.CustomModelApi createCustomType POST /cmm/{modelName}/types create custom type
AlfrescoCoreRestApi.CustomModelApi createCustomAspect POST /cmm/{modelName}/aspects create custom aspect
AlfrescoCoreRestApi.CustomModelApi createCustomConstraint POST cmm/{modelName}?select=status create custom constraint
AlfrescoCoreRestApi.CustomModelApi activateCustomModel PUT /nodes/{nodeId}/tags/{tagId} activate custom model
AlfrescoCoreRestApi.CustomModelApi deactivateCustomModel PUT /cmm/{modelName}?select=status deactivate custom model
AlfrescoCoreRestApi.CustomModelApi addPropertyToAspect PUT /cmm/{modelName}/aspects/{aspectName}?select=props add property into an existing aspect
AlfrescoCoreRestApi.CustomModelApi addPropertyToType PUT /cmm/{modelName}/types/{typeName}?select=props Add Property into an existing type
AlfrescoCoreRestApi.CustomModelApi updateCustomModel PUT /cmm/{modelName} edit an existing custom model
AlfrescoCoreRestApi.CustomModelApi updateCustomType PUT /cmm/{modelName}/types/{typeName} edit an existing custom type
AlfrescoCoreRestApi.CustomModelApi updateCustomAspect PUT /cmm/{modelName}/aspects/{aspectName} dEdit an existing custom aspect
AlfrescoCoreRestApi.CustomModelApi getAllCustomModel GET /cmm get all customModel
AlfrescoCoreRestApi.CustomModelApi getCustomModel GET /cmm/{modelName} get a single custom model
AlfrescoCoreRestApi.CustomModelApi getAllCustomType GET /cmm/{modelName}/types get all custom Type
AlfrescoCoreRestApi.CustomModelApi getCustomType GET /cmm/{modelName}/types/{typeName} get custom type
AlfrescoCoreRestApi.CustomModelApi getAllCustomAspect GET /cmm/{modelName}/aspects get all custom aspect
AlfrescoCoreRestApi.CustomModelApi getCustomAspect GET /cmm/{modelName}/aspects/{aspectName} get custom aspect
AlfrescoCoreRestApi.CustomModelApi getAllCustomConstraints GET /cmm/{modelName}/constraints get all custom constraints
AlfrescoCoreRestApi.CustomModelApi getCustomConstraints GET /cmm/{modelName}/constraints{constraintName} get custom constraints
AlfrescoCoreRestApi.CustomModelApi deleteCustomModel DELETE /cmm/{modelName} delete custom model
AlfrescoCoreRestApi.CustomModelApi deleteCustomType DELETE /cmm/{modelName}/types/{typeName} delete custom type

Documentation for Models

Documentation for Authorization

basicAuth

  • Type: HTTP basic authentication