All URIs are relative to http://localhost
Method | HTTP request | Description |
---|---|---|
AboutGetAbout | Get /About | Get About info of this Orchestration instance. |
AboutModel AboutGetAbout(ctx).CitrixCustomerId(citrixCustomerId).CitrixInstanceId(citrixInstanceId).UserAgent(userAgent).Authorization(authorization).CitrixTransactionId(citrixTransactionId).Accept(accept).CitrixLocale(citrixLocale).Execute()
Get About info of this Orchestration instance.
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/citrix/citrix-daas-rest-go/citrixorchestration"
)
func main() {
citrixCustomerId := "CitrixOnPremises" // string | Citrix Customer ID. Default is 'CitrixOnPremises'
citrixInstanceId := "citrixInstanceId_example" // string | Citrix Instance (Site) ID.
userAgent := "Mozilla/5.0" // string | User Agent type of the request. (optional)
authorization := "authorization_example" // string | Citrix authorization header: CWSAuth Bearer={token} (optional)
citrixTransactionId := "citrixTransactionId_example" // string | Transaction ID that will be used to track this request. If not provided, a new GUID will be generated and returned. (optional)
accept := "application/json" // string | Must accept application/json. (optional)
citrixLocale := "en-US" // string | Locale of the request. (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.AboutAPIsDAAS.AboutGetAbout(context.Background()).CitrixCustomerId(citrixCustomerId).CitrixInstanceId(citrixInstanceId).UserAgent(userAgent).Authorization(authorization).CitrixTransactionId(citrixTransactionId).Accept(accept).CitrixLocale(citrixLocale).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AboutAPIsDAAS.AboutGetAbout``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `AboutGetAbout`: AboutModel
fmt.Fprintf(os.Stdout, "Response from `AboutAPIsDAAS.AboutGetAbout`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiAboutGetAboutRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
citrixCustomerId | string | Citrix Customer ID. Default is 'CitrixOnPremises' | |
citrixInstanceId | string | Citrix Instance (Site) ID. | |
userAgent | string | User Agent type of the request. | |
authorization | string | Citrix authorization header: CWSAuth Bearer={token} | |
citrixTransactionId | string | Transaction ID that will be used to track this request. If not provided, a new GUID will be generated and returned. | |
accept | string | Must accept application/json. | |
citrixLocale | string | Locale of the request. |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]