DeviceService

POST /v1alpha1/device

Changed on

Add new device for approval flow

Request

  • Base URL
    http://localhost:4000
  • Auth
    HTTP bearer and API key in header x-id-api-key

Request body

idstring

A unique identifier for the Device.

userIdstring

User ID associated with the Device.

subscriptionTokenstring

Subscription Token for the Device.

namestring

The device human-readable name.

createdAtstring date-time

The creation time of the Device.

Response

OK

idstring

A unique identifier for the Device.

userIdstring

User ID associated with the Device.

subscriptionTokenstring

Subscription Token for the Device.

namestring

The device human-readable name.

createdAtstring date-time

The creation time of the Device.

Changes

    • info

      the request optional property became not read-only

    • info

      the request optional property became not read-only

    • info

      the response optional property became not read-only for the status

    • info

      the response optional property became not read-only for the status