Light Logo
JavaScript SDK (v0.56.0)Reference

HardwareResource

Resource for operations related to hardware.

Class: HardwareResource

Resource for operations related to hardware.

Extends

Constructors

Constructor

new HardwareResource(api): HardwareResource

Create a new resource.

Parameters

api

API

API client instance used to communicate with WriftAI's API.

Returns

HardwareResource

Inherited from

Resource.constructor

Methods

list()

list(options?): Promise<PaginatedResponse<Hardware>>

List hardware.

Parameters

options?

ListOptions

Options for listing hardware.

Returns

Promise<PaginatedResponse<Hardware>>

Paginated response containing hardware and navigation metadata.