Retrieving Device Capability Details

Document created by pubmatic-archivist on Mar 27, 2017Last modified by catherine.racette on Nov 14, 2017
Version 3Show Document
  • View in full screen mode

Before using PubMatic APIs, first generate the API Token. For more information, refer to Getting Started with PubMatic APIs.

Overview

This API enable you to retrieve device capabilities for a specific ID from the PubMatic system.

Request

         

URIhttp://{domainName}/common/devicecapability{id}
HTTP MethodGET

Request Headers

                 

Header NameTypeValueRequiredDescription
AuthorizationStringBearer ${access_token}YesNeed to send the access token generating for authentication at the place of ${access_token}.
For more information about access tokens, refer to Getting Started with PubMatic APIs.

Response

Response Body

                  

Response Body ParameterTypeDescription
idIntegerUnique identifier for device capability
nameStringName of the device capability

Sample Response JSON

{
  "id": 1,
  "name": "Phone calls"
}

Error Codes    

[
{
   "errorCode": "CC03_0004",
   "error": "Resource not found"
}
]

Attachments

    Outcomes