Skip to content

Latest commit

 

History

History
80 lines (49 loc) · 1.96 KB

UniverseCDCManagementApi.md

File metadata and controls

80 lines (49 loc) · 1.96 KB

\UniverseCDCManagementApi

All URIs are relative to http://localhost

Method HTTP request Description
ListReplicationSlot Get /api/v1/customers/{cUUID}/universes/{uniUUID}/cdc_replication_slots List CDC Replication slot for a cluster

ListReplicationSlot

ListReplicationSlot(ctx, cUUID, uniUUID).Execute()

List CDC Replication slot for a cluster

Example

package main

import (
    "context"
    "fmt"
    "os"
    openapiclient "./openapi"
)

func main() {
    cUUID := TODO // string | 
    uniUUID := TODO // string | 

    configuration := openapiclient.NewConfiguration()
    api_client := openapiclient.NewAPIClient(configuration)
    resp, r, err := api_client.UniverseCDCManagementApi.ListReplicationSlot(context.Background(), cUUID, uniUUID).Execute()
    if err != nil {
        fmt.Fprintf(os.Stderr, "Error when calling `UniverseCDCManagementApi.ListReplicationSlot``: %v\n", err)
        fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
    }
}

Path Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
cUUID string
uniUUID string

Other Parameters

Other parameters are passed through a pointer to a apiListReplicationSlotRequest struct via the builder pattern

Name Type Description Notes

Return type

(empty response body)

Authorization

apiKeyAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined

[Back to top] [Back to API list] [Back to Model list] [Back to README]