ClusterAPI
All URIs are relative to https://use1-omada-northbound.tplinkcloud.com
| Method | HTTP request | Description |
|---|---|---|
| GetMspClusterNodesInfo | Get /openapi/v1/msp/{mspId}/cluster/nodes/info | Get msp cluster nodes information. |
GetMspClusterNodesInfo
OperationResponseListNodeInfoVO GetMspClusterNodesInfo(ctx, mspId).Execute()
Get msp cluster nodes information.
Example
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/Tohaker/omada-go-sdk/omada"
)
func main() {
mspId := "mspId_example" // string | MSP ID
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ClusterAPI.GetMspClusterNodesInfo(context.Background(), mspId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ClusterAPI.GetMspClusterNodesInfo``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetMspClusterNodesInfo`: OperationResponseListNodeInfoVO
fmt.Fprintf(os.Stdout, "Response from `ClusterAPI.GetMspClusterNodesInfo`: %v\n", resp)
}
Path Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| mspId | string | MSP ID |
Other Parameters
Other parameters are passed through a pointer to a apiGetMspClusterNodesInfoRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|---|---|---|
Return type
OperationResponseListNodeInfoVO
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: /
[Back to top] [Back to API list] [Back to Model list] [Back to README]