Skip to content

Commit 5c9725b

Browse files
authored
docs(iot): revamp (#624)
1 parent 5ce6957 commit 5c9725b

File tree

1 file changed

+15
-8
lines changed

1 file changed

+15
-8
lines changed

packages/clients/src/api/iot/v1/api.gen.ts

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,9 @@ const jsonContentHeaders = {
102102
}
103103

104104
/**
105-
* IoT API.
105+
* IoT Hub API.
106106
*
107-
* This API allows you to manage IoT hubs and devices. IoT API.
107+
* This API allows you to manage IoT hubs and devices. IoT Hub API.
108108
*/
109109
export class API extends ParentAPI {
110110
/** Lists the available regions of the API. */
@@ -286,7 +286,8 @@ export class API extends ParentAPI {
286286
})
287287

288288
/**
289-
* Get a hub's metrics.
289+
* Get a hub's metrics. Get the metrics of an existing IoT Hub, specified by
290+
* its Hub ID.
290291
*
291292
* @deprecated
292293
* @param request - The request {@link GetHubMetricsRequest}
@@ -576,7 +577,8 @@ export class API extends ParentAPI {
576577
})
577578

578579
/**
579-
* Get a device's metrics.
580+
* Get a device's metrics. Get the metrics of an existing device, specified by
581+
* its device ID.
580582
*
581583
* @deprecated
582584
* @param request - The request {@link GetDeviceMetricsRequest}
@@ -743,7 +745,7 @@ export class API extends ParentAPI {
743745
)
744746

745747
/**
746-
* List the Networks.
748+
* List the networks.
747749
*
748750
* @param request - The request {@link ListNetworksRequest}
749751
* @returns A Promise of ListNetworksResponse
@@ -752,7 +754,9 @@ export class API extends ParentAPI {
752754
enrichForPagination('networks', this.pageOfListNetworks, request)
753755

754756
/**
755-
* Create a new Network.
757+
* Create a new network. Create a new network for an existing hub. Beside the
758+
* default network, you can add networks for different data providers.
759+
* Possible network types are Sigfox and REST.
756760
*
757761
* @param request - The request {@link CreateNetworkRequest}
758762
* @returns A Promise of CreateNetworkResponse
@@ -774,7 +778,9 @@ export class API extends ParentAPI {
774778
)
775779

776780
/**
777-
* Retrieve a specific Network.
781+
* Retrieve a specific network. Retrieve an existing network, specified by its
782+
* network ID. The response returns full details of the network, including its
783+
* type, the topic prefix and its endpoint.
778784
*
779785
* @param request - The request {@link GetNetworkRequest}
780786
* @returns A Promise of Network
@@ -792,7 +798,8 @@ export class API extends ParentAPI {
792798
)
793799

794800
/**
795-
* Delete a Network.
801+
* Delete a Network. Delete an existing network, specified by its network ID.
802+
* Deleting a network is permanent, and cannot be undone.
796803
*
797804
* @param request - The request {@link DeleteNetworkRequest}
798805
*/

0 commit comments

Comments
 (0)