Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Contents of the Table

Table of Contents

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

...

View configuration an App

Service

/api/app

Method

GET

Response

Code Block
languagejs
{
	"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

NameTypeRequiredDescription
namestringYThe application name
urlstringYThe complete URL where the application is hosted. E.g. https://myapp.com/index.html

Update an App

Service

/api/app

Method

PUT

Parameters

NameTypeRequiredDescription
idintYThe application ID
namestringYThe application name
urlstringYThe complete URL where the application is hosted. E.g. https://myapp.com/index.html

Delete an App

Service

/api/app

Method

DELETE

Parameters

NameTypeRequiredDescription
idintYThe application ID

...