使用 Cloud API 开发系统的企业视为同意 最终用户许可协议。 *未在中国大陆提供

Provisioning Cloud API (2.1.0)

Download OpenAPI specification:

Register a device.

Authorizations:
ApiKeyAuth
Request Body schema: application/json
required
mac
required
string

Ethernet MAC address of BRAVIA. Separator shall be "-" and character shall be capital.

userData
string

User data passed in device activation event of RMS Cloud API when the device is provisioned. Max length of User data is 4KB.

Responses

Request samples

Content type
application/json
{
  • "mac": "14-3F-A6-A1-A3-C7",
  • "userData": "some-user-data"
}

Response samples

Content type
application/json
{
  • "mac": "14-3F-A6-A1-A3-C7",
  • "deviceId": "062ed2e0-24cc-4722-b388-54db05a248a9"
}

Unregister a device.

Authorizations:
ApiKeyAuth
path Parameters
mac
required
string

Ethernet MAC address of BRAVIA. Separator shall be "-" and character shall be capital.

Responses

Response samples

Content type
application/json
{
  • "error": {
    }
}

Register or update provisioning key for a device.

Prior application is required to use provisioning keys for device provisioning. Registers a provisioning key for device authentication. Please call this endpoint after registering the device with POST /devices. If the request is successful, the previously registered provisioning key will be overwritten, and any ownership claim will also be removed. If you call this endpoint repeatedly within a short period, it may become temporarily unavailable.

Authorizations:
ApiKeyAuth
path Parameters
mac
required
string

Ethernet MAC address of BRAVIA. Separator shall be "-" and character shall be capital.

Request Body schema: application/json
required
provisioningKey
required
string

Provisioning key must be specified in half-width alphanumeric characters and at least 6 characters long.

Responses

Request samples

Content type
application/json
{
  • "provisioningKey": "1234ab"
}

Response samples

Content type
application/json
{
  • "mac": "14-3F-A6-A1-A3-C7",
  • "deviceId": "062ed2e0-24cc-4722-b388-54db05a248a9"
}

Unregister provisioning key from a device.

Authorizations:
ApiKeyAuth
path Parameters
mac
required
string

Ethernet MAC address of BRAVIA. Separator shall be "-" and character shall be capital.

Responses

Response samples

Content type
application/json
{
  • "error": {
    }
}

Claim ownership of a device.

Claims ownership of the specified device. Devices for which ownership has been claimed can start provisioning with simple remote control operations. To claim ownership, you must specify the following information in addition to the MAC address:

  • Serial Number
    • The 7-digit serial number of the device for which ownership is being claimed.
  • Description
    • An arbitrary string for the user to confirm the ownership claim (up to 128 characters, ASCII printable characters only, control characters including newlines will be removed).

Notes:

  • This API is only available to service providers who have been pre-approved by Sony. To obtain access, please contact your Sony representative.
  • The specified Serial Number and Description will be displayed on the device screen before provisioning. Before approving, please make sure that the displayed information matches what you specified with this API.
  • If ownership is claimed again for the same device, the existing claim will be overwritten with the new content. (If claimed by another service provider, the previous claim will be deleted.)
  • If you call this endpoint repeatedly within a short period, it may become temporarily unavailable.
Authorizations:
ApiKeyAuth
path Parameters
mac
required
string

Ethernet MAC address of BRAVIA. Separator shall be "-" and character shall be capital.

Request Body schema: application/json
required
serial
required
string

The 7-digit serial number of the device for which ownership is being claimed.

description
required
string

An arbitrary string for the user to confirm the ownership claim (up to 128 characters, ASCII printable characters only, control characters including newlines will be removed).

Responses

Request samples

Content type
application/json
{
  • "serial": "1234567",
  • "description": "string"
}

Response samples

Content type
application/json
{
  • "mac": "14-3F-A6-A1-A3-C7",
  • "deviceId": "062ed2e0-24cc-4722-b388-54db05a248a9"
}

Remove ownership claim from a device.

Removes ownership claim from the specified device.

Notes:

  • This API is only available to service providers who have been pre-approved by Sony. To obtain access, please contact your Sony representative.
Authorizations:
ApiKeyAuth
path Parameters
mac
required
string

Ethernet MAC address of BRAVIA. Separator shall be "-" and character shall be capital.

Responses

Response samples

Content type
application/json
{
  • "error": {
    }
}

Input an one time code.

Authorizations:
ApiKeyAuth
Request Body schema: application/json
required
oneTimeCode
required
string

One time code.

Responses

Request samples

Content type
application/json
{
  • "oneTimeCode": "123456"
}

Response samples

Content type
application/json
{
  • "oneTimeCode": "123456",
  • "device": {
    }
}