File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3409,6 +3409,33 @@ console.log(publicDeviceSpaces.results);
34093409
34103410</details >
34113411
3412+ <details >
3413+ <summary ><strong >retrievePublic</strong ></summary >
3414+
3415+ Retrieve a public device space by its ID.
3416+
3417+ ** Signature:**
3418+
3419+ ``` typescript
3420+ retrievePublic (id : string , options ?: Core .RequestOptions ): Core .APIPromise < DeviceSpacesParams >
3421+ ```
3422+
3423+ ** Parameters:**
3424+
3425+ - ` id ` _ (string)_ : A UUID string identifying this device space.
3426+ - ` options ` _ (Core.RequestOptions, optional)_ : Additional request options.
3427+
3428+ ** Returns:** ` Promise<DeviceSpacesParams> `
3429+
3430+ ** Example:**
3431+
3432+ ``` typescript
3433+ const publicDeviceSpace = await client .deviceSpaces .retrievePublic (' 3fa85f64-5717-4562-b3fc-2c963f66afa6' );
3434+ console .log (publicDeviceSpace .name );
3435+ ```
3436+
3437+ </details >
3438+
34123439<details >
34133440 <summary ><strong >retrieveByDeviceId</strong ></summary >
34143441
Original file line number Diff line number Diff line change @@ -32,6 +32,10 @@ export class DeviceSpaces extends APIResource {
3232 } ) ;
3333 }
3434
35+ retrievePublic ( id : string , options ?: Core . RequestOptions ) : Core . APIPromise < DeviceSpacesParams > {
36+ return this . _client . get ( `/public/device-spaces/${ id } ` , options ) ;
37+ }
38+
3539 retrieveByDeviceId ( deviceId : string , options ?: Core . RequestOptions ) : Core . APIPromise < DeviceSpacesParams > {
3640 return this . _client . get ( `/device-spaces/device/${ deviceId } ` , options ) ;
3741 }
You can’t perform that action at this time.
0 commit comments