![]() |
Index of Web Scripts URI '/api/types' |
Alfresco Community v3.2.0 (2039) |
1 Web Scripts |
Back to Web Scripts Home |
Up to uri /api |
GET /alfresco/service/api/types?type={type?}&includePropertyDefinitions={includePropertyDefinitions?}&skipCount={skipCount?}&maxItems={maxItems?} |
Description: | 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. |
Authentication: | user |
Transaction: | required |
Format Style: | any |
Default Format: | atomfeed |
Id: | org/alfresco/repository/store/types.get |
Description: | classpath:alfresco/templates/webscripts/org/alfresco/repository/store/types.get.desc.xml |