...
API is built as JSON RESTful service and support standard GET/PUT/DELETE methods over HTTP 1.1 protocol. API endpoint is RTBSuite UI hostname.
| GET | read/retrieve |
| PUT | create/add/update/modify |
| DELETE | delete |
API endpoint
API endpoint is RTBSuite UI hostname, general API URL pattern is:
| Блок кода | ||
|---|---|---|
| ||
http://<ui.getintent.com>/api/v1/<object_type>/<action>(/<id>)?token=<token> |
<ui.getintent.com> should be replaced by proper RTBSuite UI domain. <token> is authentication token (can be obtained through user settings in RTBSuite UI).
JSON data model
RTB data model contains several entities, each entity has it’s own JSON representation with name and id:
...
| Блок кода | ||
|---|---|---|
| ||
{
id: 1,
name: "<name>",
advertiser_id: 6
...
} |
The general API URL pattern is:
| Блок кода | ||
|---|---|---|
| ||
http://ui.getintent.com/api/v1/<object_type>/<action>(/<id>)?token=<token> |
...
API output
API output can be controlled by the following additional parameters and headers
...