UNPKG

alfresco-js-api

Version:

JavaScript client library for the Alfresco REST API

76 lines (45 loc) 2.01 kB
# ActivitiPublicRestApi.AppsRuntimeApi All URIs are relative to *https://localhost:8080/activiti-app* Method | HTTP request | Description ------------- | ------------- | ------------- [**deployAppDefinitions**](AppsRuntimeApi.md#deployAppDefinitions) | **POST** /api/enterprise/runtime-app-definitions | Deploy published app [**getAppDefinitions**](AppsRuntimeApi.md#getAppDefinitions) | **GET** /api/enterprise/runtime-app-definitions | List runtime apps <a name="deployAppDefinitions"></a> # **deployAppDefinitions** > deployAppDefinitions(saveObject) Deploy published app After creating and puclished an app the user can add it to his/her landing page. ### Example ```javascript var saveObject = new this.alfrescoJsApi.activiti.RuntimeAppDefinitionSaveRepresentation(); // RuntimeAppDefinitionSaveRepresentation | saveObject this.alfrescoJsApi.activiti.appsRuntimeApi.deployAppDefinitions(saveObject); ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **saveObject** | [**RuntimeAppDefinitionSaveRepresentation**](RuntimeAppDefinitionSaveRepresentation.md)| saveObject | ### Return type null (empty response body) ### Authorization No authorization required ### HTTP request headers - **Content-Type**: application/json - **Accept**: application/json <a name="getAppDefinitions"></a> # **getAppDefinitions** > ResultListDataRepresentation getAppDefinitions() List runtime apps When a user logs in into the Alfresco Activiti BPM Suite, the landing page is displayed containing all the apps that the user is allowed to see and use. ### Example ```javascript this.alfrescoJsApi.activiti.appsRuntimeApi.getAppDefinitions(); ``` ### Parameters This endpoint does not need any parameter. ### Return type [**ResultListDataRepresentation**](ResultListDataRepresentation.md) ### Authorization No authorization required ### HTTP request headers - **Content-Type**: application/json - **Accept**: application/json