Device Container Requests

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: https://api.videoplaza.com/v1/swagger.

List Device Containers

Method GET
URL https://api.videoplaza.com/v1/devicecontainers
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

Example:

Request header:

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

Request body: NA

Success response:

HTTP status:
  200 (OK)

Body:[
  {
    "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"
  }
]

해당 내용이 도움 되었습니까?