Device container requests

Getting started

  • Base URL:
  • Requests: GET requests are used. You pass parameters by using HTTP HEADERS. The body of the requests should be provided in JSON format and encoded using UTF-8.
  • Responses: All responses contain an HTTP status code in the header and the body is in JSON format.
  • Swagger documentation: Ad API - Device Containers
  • Related user documentation:Add new ad
The device container endpoint allows you to:
Note: Only successful responses are shown in the examples. Details about unsuccessful responses are found in the Swagger documentation.

List device containers

Method GET
Header Authentication header (x-o-api-key)
Content type application/json
URL params -
Query params -
Body -
Success response

HTTP status: 200 OK

Header: -

Body: list of device containers


Request header:

GET /v1/devicecontainers HTTP/1.1
Content-type: application/json
x-o-api-key="<your key>"

Request body: NA

Success response:

HTTP status:
  200 (OK)

    "id": "6b79564c-8a8c-102f-9f01-001e4f3cd645",
    "name": "All devices/services",
    "shortName": "All"
    "id": "86d28d24-d025-4633-a081-bea93de04dc3",
    "name": "Tablets",
    "shortName": "Untitled"
    "id": "145299c6-ba02-45de-9995-c2dfaba44c8c",
    "name": "Mobile Phones",
    "shortName": "mobile"
    "id": "27375d12-e3ad-46ce-ad78-eece92928c90",
    "name": "Android Phones",
    "shortName": "Android"
    "id": "a6b5b571-c517-4597-861b-24d2d190d642",
    "name": "iOS Phones",
    "shortName": "iphone"
    "id": "24c2dd16-eda0-48f3-8e74-f8e0c608d3cd",
    "name": "Samsung smart TV",
    "shortName": "Untitled"
    "id": "5aa5bfe0-985c-4144-9ab1-9f723ba81abf",
    "name": "Desktop HTML5",
    "shortName": "Untitled"