MetadataApi
Method
HTTP request
Description
InfosVersionGet
var result APIVersion = InfosVersionGet(ctx)
.Execute()Example
package main
import (
"context"
"fmt"
"os"
mongo "github.com/ionos-cloud/sdk-go-bundle/products/mongo"
"github.com/ionos-cloud/sdk-go-bundle/shared"
)
func main() {
configuration := shared.NewConfiguration("USERNAME", "PASSWORD", "TOKEN", "HOST_URL")
apiClient := mongo.NewAPIClient(configuration)
resource, resp, err := apiClient.MetadataApi.InfosVersionGet(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `MetadataApi.InfosVersionGet``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", resp)
}
// response from `InfosVersionGet`: APIVersion
fmt.Fprintf(os.Stdout, "Response from `MetadataApi.InfosVersionGet`: %v\n", resource)
}Path Parameters
Other Parameters
Return type
HTTP request headers
InfosVersionsGet
Example
Path Parameters
Other Parameters
Return type
HTTP request headers
VersionsGet
Example
Path Parameters
Other Parameters
Return type
HTTP request headers
Last updated
Was this helpful?