All URIs are relative to http://localhost
| Method | HTTP request | Description |
|---|---|---|
| GetTopologySynchronizationStreamById | Get /synchronization/topology/streams/sync | Overview of a specific Topology Stream, queried by node id or sync identifier |
| GetTopologySynchronizationStreamStatusById | Get /synchronization/topology/streams/status | Metrics of a specific Topology Stream, queried by node id |
| GetTopologySynchronizationStreams | Get /synchronization/topology/streams | Overview of the topology synchronization streams |
| PostTopologySynchronizationStreamClearErrors | Post /synchronization/topology/streams/clearErrors | Clear all the errors related to a specific sync |
TopologyStreamListItemWithErrorDetails GetTopologySynchronizationStreamById(ctx).Identifier(identifier).IdentifierType(identifierType).Execute()
Overview of a specific Topology Stream, queried by node id or sync identifier
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
identifier := "identifier_example" // string |
identifierType := openapiclient.IdentifierType("NodeId") // IdentifierType |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.TopologySynchronizationApi.GetTopologySynchronizationStreamById(context.Background()).Identifier(identifier).IdentifierType(identifierType).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `TopologySynchronizationApi.GetTopologySynchronizationStreamById``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetTopologySynchronizationStreamById`: TopologyStreamListItemWithErrorDetails
fmt.Fprintf(os.Stdout, "Response from `TopologySynchronizationApi.GetTopologySynchronizationStreamById`: %v\n", resp)
}Other parameters are passed through a pointer to a apiGetTopologySynchronizationStreamByIdRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|---|---|---|
| identifier | string | ||
| identifierType | IdentifierType |
TopologyStreamListItemWithErrorDetails
ApiToken, ServiceBearer, ServiceToken
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
TopologyStreamMetrics GetTopologySynchronizationStreamStatusById(ctx).Identifier(identifier).Execute()
Metrics of a specific Topology Stream, queried by node id
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
identifier := "identifier_example" // string |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.TopologySynchronizationApi.GetTopologySynchronizationStreamStatusById(context.Background()).Identifier(identifier).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `TopologySynchronizationApi.GetTopologySynchronizationStreamStatusById``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetTopologySynchronizationStreamStatusById`: TopologyStreamMetrics
fmt.Fprintf(os.Stdout, "Response from `TopologySynchronizationApi.GetTopologySynchronizationStreamStatusById`: %v\n", resp)
}Other parameters are passed through a pointer to a apiGetTopologySynchronizationStreamStatusByIdRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|---|---|---|
| identifier | string |
ApiToken, ServiceBearer, ServiceToken
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
TopologyStreamList GetTopologySynchronizationStreams(ctx).Execute()
Overview of the topology synchronization streams
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.TopologySynchronizationApi.GetTopologySynchronizationStreams(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `TopologySynchronizationApi.GetTopologySynchronizationStreams``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetTopologySynchronizationStreams`: TopologyStreamList
fmt.Fprintf(os.Stdout, "Response from `TopologySynchronizationApi.GetTopologySynchronizationStreams`: %v\n", resp)
}This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiGetTopologySynchronizationStreamsRequest struct via the builder pattern
ApiToken, ServiceBearer, ServiceToken
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PostTopologySynchronizationStreamClearErrors(ctx).Identifier(identifier).IdentifierType(identifierType).Execute()
Clear all the errors related to a specific sync
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
identifier := "identifier_example" // string |
identifierType := openapiclient.IdentifierType("NodeId") // IdentifierType |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.TopologySynchronizationApi.PostTopologySynchronizationStreamClearErrors(context.Background()).Identifier(identifier).IdentifierType(identifierType).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `TopologySynchronizationApi.PostTopologySynchronizationStreamClearErrors``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
}Other parameters are passed through a pointer to a apiPostTopologySynchronizationStreamClearErrorsRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|---|---|---|
| identifier | string | ||
| identifierType | IdentifierType |
(empty response body)
ApiToken, ServiceBearer, ServiceToken
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]