Skip to content

Latest commit

 

History

History
75 lines (46 loc) · 1.73 KB

File metadata and controls

75 lines (46 loc) · 1.73 KB

\ExportApi

All URIs are relative to http://localhost

Method HTTP request Description
ExportSettings Post /export Export settings

ExportSettings

string ExportSettings(ctx).Export(export).Execute()

Export settings

Example

package main

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

func main() {
    export := *openapiclient.NewExport() // Export | 

    configuration := openapiclient.NewConfiguration()
    apiClient := openapiclient.NewAPIClient(configuration)
    resp, r, err := apiClient.ExportApi.ExportSettings(context.Background()).Export(export).Execute()
    if err != nil {
        fmt.Fprintf(os.Stderr, "Error when calling `ExportApi.ExportSettings``: %v\n", err)
        fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
    }
    // response from `ExportSettings`: string
    fmt.Fprintf(os.Stdout, "Response from `ExportApi.ExportSettings`: %v\n", resp)
}

Path Parameters

Other Parameters

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

Name Type Description Notes
export Export

Return type

string

Authorization

ApiToken, ServiceBearer, ServiceToken

HTTP request headers

  • Content-Type: application/json
  • Accept: text/plain

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