Сравнение версий

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Изменено форматирование.

...

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.

GETread/retrieve
PUTcreate/add/update/modify
DELETEdelete

API endpoint

API endpoint is RTBSuite UI hostname, general API URL pattern is: 

Блок кода
languagebash
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:

...

Блок кода
languagejs
{
	id: 1,
	name: "<name>",
	advertiser_id: 6
 	...
}                         

The general API URL pattern is: 

Блок кода
languagebash
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

...