Skip to content

Latest commit

 

History

History
872 lines (568 loc) · 29.3 KB

ServiceModelApiAPI.md

File metadata and controls

872 lines (568 loc) · 29.3 KB

\ServiceModelApiAPI

All URIs are relative to https://api.omnistrate.cloud

Method HTTP request Description
ServiceModelApiAddAccountConfigToServiceModel Post /2022-09-01-00/service/{serviceId}/model/{id}/account-config AddAccountConfigToServiceModel service-model-api
ServiceModelApiCopyServiceModel Post /2022-09-01-00/service/{serviceId}/model/copy/{sourceId} CopyServiceModel service-model-api
ServiceModelApiCreateServiceModel Post /2022-09-01-00/service/{serviceId}/model CreateServiceModel service-model-api
ServiceModelApiDeleteServiceModel Delete /2022-09-01-00/service/{serviceId}/model/{id} DeleteServiceModel service-model-api
ServiceModelApiDescribeServiceModel Get /2022-09-01-00/service/{serviceId}/model/{id} DescribeServiceModel service-model-api
ServiceModelApiDisableServiceModelFeature Delete /2022-09-01-00/service/{serviceId}/model/{id}/feature DisableServiceModelFeature service-model-api
ServiceModelApiEnableServiceModelFeature Put /2022-09-01-00/service/{serviceId}/model/{id}/feature EnableServiceModelFeature service-model-api
ServiceModelApiListServiceModel Get /2022-09-01-00/service/{serviceId}/serviceapi/{serviceApiId}/model ListServiceModel service-model-api
ServiceModelApiReleaseServiceModelStatus Get /2022-09-01-00/service/{serviceId}/model/{id}/release ReleaseServiceModelStatus service-model-api
ServiceModelApiRemoveAccountConfigFromServiceModel Delete /2022-09-01-00/service/{serviceId}/model/{id}/account-config RemoveAccountConfigFromServiceModel service-model-api
ServiceModelApiSetActiveAccountConfig Post /2022-09-01-00/service/{serviceId}/model/{id}/account-config/{accountConfigId}/active SetActiveAccountConfig service-model-api
ServiceModelApiUpdateServiceModel Patch /2022-09-01-00/service/{serviceId}/model/{id} UpdateServiceModel service-model-api

ServiceModelApiAddAccountConfigToServiceModel

ServiceModelApiAddAccountConfigToServiceModel(ctx, serviceId, id).AddAccountConfigToServiceModelRequestBody(addAccountConfigToServiceModelRequestBody).Execute()

AddAccountConfigToServiceModel service-model-api

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/omnistrate-oss/omnistrate-sdk-go/v1"
)

func main() {
	serviceId := "s-12345678" // string | The service ID this model belongs to
	id := "sm-12345678" // string | The service model ID
	addAccountConfigToServiceModelRequestBody := *openapiclient.NewAddAccountConfigToServiceModelRequestBody("ac-12345678") // AddAccountConfigToServiceModelRequestBody | 

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	r, err := apiClient.ServiceModelApiAPI.ServiceModelApiAddAccountConfigToServiceModel(context.Background(), serviceId, id).AddAccountConfigToServiceModelRequestBody(addAccountConfigToServiceModelRequestBody).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `ServiceModelApiAPI.ServiceModelApiAddAccountConfigToServiceModel``: %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.
serviceId string The service ID this model belongs to
id string The service model ID

Other Parameters

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

Name Type Description Notes

addAccountConfigToServiceModelRequestBody | AddAccountConfigToServiceModelRequestBody | |

Return type

(empty response body)

Authorization

api_key_header_Authorization

HTTP request headers

  • Content-Type: application/json
  • Accept: application/vnd.goa.error

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

ServiceModelApiCopyServiceModel

string ServiceModelApiCopyServiceModel(ctx, serviceId, sourceId).CopyServiceModelRequestBody(copyServiceModelRequestBody).Execute()

CopyServiceModel service-model-api

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/omnistrate-oss/omnistrate-sdk-go/v1"
)

func main() {
	serviceId := "s-12345678" // string | The service ID this model belongs to
	sourceId := "sm-12345678" // string | The source service model ID
	copyServiceModelRequestBody := *openapiclient.NewCopyServiceModelRequestBody("A MySQL Hosted SaaS specializing in multi-writer clusters for high availability", "MySQL multi-writer service hosted model", "CUSTOMER_HOSTED") // CopyServiceModelRequestBody | 

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

Path Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
serviceId string The service ID this model belongs to
sourceId string The source service model ID

Other Parameters

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

Name Type Description Notes

copyServiceModelRequestBody | CopyServiceModelRequestBody | |

Return type

string

Authorization

api_key_header_Authorization

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json, application/vnd.goa.error

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

ServiceModelApiCreateServiceModel

string ServiceModelApiCreateServiceModel(ctx, serviceId).CreateServiceModelRequestBody(createServiceModelRequestBody).Execute()

CreateServiceModel service-model-api

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/omnistrate-oss/omnistrate-sdk-go/v1"
)

func main() {
	serviceId := "s-12345678" // string | The service this model is for
	createServiceModelRequestBody := *openapiclient.NewCreateServiceModelRequestBody("A MySQL Hosted SaaS specializing in multi-writer clusters for high availability", "CUSTOMER_HOSTED", "MySQL multi-writer service hosted model", "sa-12345678") // CreateServiceModelRequestBody | 

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

Path Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
serviceId string The service this model is for

Other Parameters

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

Name Type Description Notes

createServiceModelRequestBody | CreateServiceModelRequestBody | |

Return type

string

Authorization

api_key_header_Authorization

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json, application/vnd.goa.error

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

ServiceModelApiDeleteServiceModel

ServiceModelApiDeleteServiceModel(ctx, serviceId, id).Execute()

DeleteServiceModel service-model-api

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/omnistrate-oss/omnistrate-sdk-go/v1"
)

func main() {
	serviceId := "s-12345678" // string | The service ID this model belongs to
	id := "sm-12345678" // string | The service model ID

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	r, err := apiClient.ServiceModelApiAPI.ServiceModelApiDeleteServiceModel(context.Background(), serviceId, id).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `ServiceModelApiAPI.ServiceModelApiDeleteServiceModel``: %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.
serviceId string The service ID this model belongs to
id string The service model ID

Other Parameters

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

Name Type Description Notes

Return type

(empty response body)

Authorization

api_key_header_Authorization

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/vnd.goa.error

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

ServiceModelApiDescribeServiceModel

DescribeServiceModelResult ServiceModelApiDescribeServiceModel(ctx, serviceId, id).Execute()

DescribeServiceModel service-model-api

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/omnistrate-oss/omnistrate-sdk-go/v1"
)

func main() {
	serviceId := "s-12345678" // string | The service ID this model belongs to
	id := "sm-12345678" // string | The service model ID

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

Path Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
serviceId string The service ID this model belongs to
id string The service model ID

Other Parameters

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

Name Type Description Notes

Return type

DescribeServiceModelResult

Authorization

api_key_header_Authorization

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json, application/vnd.goa.error

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

ServiceModelApiDisableServiceModelFeature

ServiceModelApiDisableServiceModelFeature(ctx, serviceId, id).DisableServiceModelFeatureRequestBody(disableServiceModelFeatureRequestBody).Execute()

DisableServiceModelFeature service-model-api

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/omnistrate-oss/omnistrate-sdk-go/v1"
)

func main() {
	serviceId := "s-12345678" // string | The service ID this model belongs to
	id := "sm-12345678" // string | The service model ID
	disableServiceModelFeatureRequestBody := *openapiclient.NewDisableServiceModelFeatureRequestBody("Sit ipsam eum omnis commodi commodi.") // DisableServiceModelFeatureRequestBody | 

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	r, err := apiClient.ServiceModelApiAPI.ServiceModelApiDisableServiceModelFeature(context.Background(), serviceId, id).DisableServiceModelFeatureRequestBody(disableServiceModelFeatureRequestBody).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `ServiceModelApiAPI.ServiceModelApiDisableServiceModelFeature``: %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.
serviceId string The service ID this model belongs to
id string The service model ID

Other Parameters

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

Name Type Description Notes

disableServiceModelFeatureRequestBody | DisableServiceModelFeatureRequestBody | |

Return type

(empty response body)

Authorization

api_key_header_Authorization

HTTP request headers

  • Content-Type: application/json
  • Accept: application/vnd.goa.error

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

ServiceModelApiEnableServiceModelFeature

ServiceModelApiEnableServiceModelFeature(ctx, serviceId, id).ServiceModelFeatureDetail(serviceModelFeatureDetail).Execute()

EnableServiceModelFeature service-model-api

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/omnistrate-oss/omnistrate-sdk-go/v1"
)

func main() {
	serviceId := "s-12345678" // string | The service ID this model belongs to
	id := "sm-12345678" // string | The service model ID
	serviceModelFeatureDetail := *openapiclient.NewServiceModelFeatureDetail(map[string]interface{}{"key": interface{}(123)}, "Excepturi aliquid ducimus molestiae quod eius a.") // ServiceModelFeatureDetail | 

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	r, err := apiClient.ServiceModelApiAPI.ServiceModelApiEnableServiceModelFeature(context.Background(), serviceId, id).ServiceModelFeatureDetail(serviceModelFeatureDetail).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `ServiceModelApiAPI.ServiceModelApiEnableServiceModelFeature``: %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.
serviceId string The service ID this model belongs to
id string The service model ID

Other Parameters

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

Name Type Description Notes

serviceModelFeatureDetail | ServiceModelFeatureDetail | |

Return type

(empty response body)

Authorization

api_key_header_Authorization

HTTP request headers

  • Content-Type: application/json
  • Accept: application/vnd.goa.error

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

ServiceModelApiListServiceModel

ListServiceEnvironmentsResult ServiceModelApiListServiceModel(ctx, serviceId, serviceApiId).Execute()

ListServiceModel service-model-api

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/omnistrate-oss/omnistrate-sdk-go/v1"
)

func main() {
	serviceId := "s-12345678" // string | The service ID
	serviceApiId := "sa-12345678" // string | The service API ID

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

Path Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
serviceId string The service ID
serviceApiId string The service API ID

Other Parameters

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

Name Type Description Notes

Return type

ListServiceEnvironmentsResult

Authorization

api_key_header_Authorization

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json, application/vnd.goa.error

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

ServiceModelApiReleaseServiceModelStatus

OmnistrateServiceHealthResult ServiceModelApiReleaseServiceModelStatus(ctx, serviceId, id).Execute()

ReleaseServiceModelStatus service-model-api

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/omnistrate-oss/omnistrate-sdk-go/v1"
)

func main() {
	serviceId := "s-12345678" // string | The service ID this model belongs to
	id := "sm-12345678" // string | The service model ID

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

Path Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
serviceId string The service ID this model belongs to
id string The service model ID

Other Parameters

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

Name Type Description Notes

Return type

OmnistrateServiceHealthResult

Authorization

api_key_header_Authorization

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json, application/vnd.goa.error

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

ServiceModelApiRemoveAccountConfigFromServiceModel

ServiceModelApiRemoveAccountConfigFromServiceModel(ctx, serviceId, id).AddAccountConfigToServiceModelRequestBody(addAccountConfigToServiceModelRequestBody).Execute()

RemoveAccountConfigFromServiceModel service-model-api

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/omnistrate-oss/omnistrate-sdk-go/v1"
)

func main() {
	serviceId := "s-12345678" // string | The service ID this model belongs to
	id := "sm-12345678" // string | The service model ID
	addAccountConfigToServiceModelRequestBody := *openapiclient.NewAddAccountConfigToServiceModelRequestBody("ac-12345678") // AddAccountConfigToServiceModelRequestBody | 

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	r, err := apiClient.ServiceModelApiAPI.ServiceModelApiRemoveAccountConfigFromServiceModel(context.Background(), serviceId, id).AddAccountConfigToServiceModelRequestBody(addAccountConfigToServiceModelRequestBody).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `ServiceModelApiAPI.ServiceModelApiRemoveAccountConfigFromServiceModel``: %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.
serviceId string The service ID this model belongs to
id string The service model ID

Other Parameters

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

Name Type Description Notes

addAccountConfigToServiceModelRequestBody | AddAccountConfigToServiceModelRequestBody | |

Return type

(empty response body)

Authorization

api_key_header_Authorization

HTTP request headers

  • Content-Type: application/json
  • Accept: application/vnd.goa.error

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

ServiceModelApiSetActiveAccountConfig

ServiceModelApiSetActiveAccountConfig(ctx, serviceId, id, accountConfigId).Execute()

SetActiveAccountConfig service-model-api

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/omnistrate-oss/omnistrate-sdk-go/v1"
)

func main() {
	serviceId := "s-12345678" // string | The service ID this model belongs to
	id := "sm-12345678" // string | The service model ID
	accountConfigId := "ac-12345678" // string | The infrastructure account configuration ID

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	r, err := apiClient.ServiceModelApiAPI.ServiceModelApiSetActiveAccountConfig(context.Background(), serviceId, id, accountConfigId).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `ServiceModelApiAPI.ServiceModelApiSetActiveAccountConfig``: %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.
serviceId string The service ID this model belongs to
id string The service model ID
accountConfigId string The infrastructure account configuration ID

Other Parameters

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

Name Type Description Notes

Return type

(empty response body)

Authorization

api_key_header_Authorization

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/vnd.goa.error

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

ServiceModelApiUpdateServiceModel

ServiceModelApiUpdateServiceModel(ctx, serviceId, id).UpdateServiceModelRequestBody(updateServiceModelRequestBody).Execute()

UpdateServiceModel service-model-api

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/omnistrate-oss/omnistrate-sdk-go/v1"
)

func main() {
	serviceId := "s-12345678" // string | The service ID this model belongs to
	id := "sm-12345678" // string | The service model ID
	updateServiceModelRequestBody := *openapiclient.NewUpdateServiceModelRequestBody() // UpdateServiceModelRequestBody | 

	configuration := openapiclient.NewConfiguration()
	apiClient := openapiclient.NewAPIClient(configuration)
	r, err := apiClient.ServiceModelApiAPI.ServiceModelApiUpdateServiceModel(context.Background(), serviceId, id).UpdateServiceModelRequestBody(updateServiceModelRequestBody).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `ServiceModelApiAPI.ServiceModelApiUpdateServiceModel``: %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.
serviceId string The service ID this model belongs to
id string The service model ID

Other Parameters

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

Name Type Description Notes

updateServiceModelRequestBody | UpdateServiceModelRequestBody | |

Return type

(empty response body)

Authorization

api_key_header_Authorization

HTTP request headers

  • Content-Type: application/json
  • Accept: application/vnd.goa.error

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