Skip to content

Latest commit

 

History

History
73 lines (44 loc) · 1.64 KB

VariableManagementApi.md

File metadata and controls

73 lines (44 loc) · 1.64 KB

\VariableManagementApi

All URIs are relative to https://localhost

Method HTTP request Description
CreateVariables Post /iso/dsm/v2/variables Register Environment Variables

CreateVariables

CreateVariables(ctx).Body(body).Execute()

Register Environment Variables

Example

package main

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

func main() {
    body := map[string]interface{}{ ... } // map[string]interface{} |  (optional)

    configuration := openapiclient.NewConfiguration()
    apiClient := openapiclient.NewAPIClient(configuration)
    resp, r, err := apiClient.VariableManagementApi.CreateVariables(context.Background()).Body(body).Execute()
    if err != nil {
        fmt.Fprintf(os.Stderr, "Error when calling `VariableManagementApi.CreateVariables``: %v\n", err)
        fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
    }
}

Path Parameters

Other Parameters

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

Name Type Description Notes
body map[string]interface{}

Return type

(empty response body)

Authorization

oauth2

HTTP request headers

  • Content-Type: application/json
  • Accept: Not defined

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