alfresco-js-api
Version:
JavaScript client library for the Alfresco REST API
76 lines (45 loc) • 2.01 kB
Markdown
//localhost:8080/activiti-app*
Method | HTTP request | Description
------------- | ------------- | -------------
[**deployAppDefinitions**](AppsRuntimeApi.md
[**getAppDefinitions**](AppsRuntimeApi.md
<a name="deployAppDefinitions"></a>
> deployAppDefinitions(saveObject)
Deploy published app
After creating and puclished an app the user can add it to his/her landing page.
```javascript
var saveObject = new this.alfrescoJsApi.activiti.RuntimeAppDefinitionSaveRepresentation(); // RuntimeAppDefinitionSaveRepresentation | saveObject
this.alfrescoJsApi.activiti.appsRuntimeApi.deployAppDefinitions(saveObject);
```
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**saveObject** | [**RuntimeAppDefinitionSaveRepresentation**](RuntimeAppDefinitionSaveRepresentation.md)| saveObject |
null (empty response body)
No authorization required
- **Content-Type**: application/json
- **Accept**: application/json
<a name="getAppDefinitions"></a>
> 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();
```
This endpoint does not need any parameter.
[**ResultListDataRepresentation**](ResultListDataRepresentation.md)
No authorization required
- **Content-Type**: application/json
- **Accept**: application/json
All URIs are relative to *https: