Apps
This entry provides detailed information on the processes regarding Apps and the DMP.
Contents of the Table |
---|
General Information
Within the DMP it's possible to add your own apps. These apps must be developed standalone and the customer is responsible for hosting it.
Getting started building your own app
SDK
https://github.com/FlxOne/dmp-apisdk-javascript
Example usage of the SDK
https://github.com/FlxOne/dmp-apisdk-javascript/blob/master/js/example_app.js
We load the app using parameters, e.g.:
API for managing your apps
View configuration an App
Service
/api/app
Method
GET
Response
{ "response": { "status": "OK", "apps": [{ "id": "1", "customerId": "1", "name": "My App", "url": "https://myapp.com/index.html", "deleted": "0", "created": "2016-08-02 15:54:35", "modified": "2016-08-02 15:54:38" }, { ... }] } }
Create an App
Service
/api/app
Method
POST
Parameters
Name | Type | Required | Description |
---|---|---|---|
name | string | Y | The application name |
url | string | Y | The complete URL where the application is hosted. E.g. https://myapp.com/index.html |
Update an App
Service
/api/app
Method
PUT
Parameters
Name | Type | Required | Description |
---|---|---|---|
id | int | Y | The application ID |
name | string | Y | The application name |
url | string | Y | The complete URL where the application is hosted. E.g. https://myapp.com/index.html |
Delete an App
Service
/api/app
Method
DELETE
Parameters
Name | Type | Required | Description |
---|---|---|---|
id | int | Y | The application ID |