All URIs are relative to https://api.aptible.com
Method | HTTP request | Description |
---|---|---|
GetRoot | Get / | show home |
GetRoot200Response GetRoot(ctx).Execute()
show home
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/aptible/aptible-api-go/aptibleapi"
)
func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.DefaultAPI.GetRoot(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DefaultAPI.GetRoot``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetRoot`: GetRoot200Response
fmt.Fprintf(os.Stdout, "Response from `DefaultAPI.GetRoot`: %v\n", resp)
}
This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiGetRootRequest struct via the builder pattern
- Content-Type: Not defined
- Accept: application/hal+json
[Back to top] [Back to API list] [Back to Model list] [Back to README]