@dialstack/sdk-dev / js/src / CreateDeviceResponse
Interface: CreateDeviceResponse
Defined in: sdk/js/src/types/device.ts:302
Minimal response returned by POST /v1/devices. Carries only the
server-assigned ID and the discriminator; call
dialstack.devices.retrieve(id) to fetch the full device.
Properties
id
TypeScript
id: string;
Defined in: sdk/js/src/types/device.ts:304
TypeID with dev_, dectb_, or decth_ prefix
type
TypeScript
type: DeviceType;
Defined in: sdk/js/src/types/device.ts:306
The kind of device that was created.