All URIs are relative to https://api.salad.com/api/public
Method | HTTP request | Description |
---|---|---|
GetQuotas | Get /organizations/{organization_name}/quotas | Get Quotas |
Quotas GetQuotas(ctx, organizationName).Execute()
Get Quotas
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
)
func main() {
organizationName := "organizationName_example" // string | The unique organization name
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.QuotasAPI.GetQuotas(context.Background(), organizationName).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `QuotasAPI.GetQuotas``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetQuotas`: Quotas
fmt.Fprintf(os.Stdout, "Response from `QuotasAPI.GetQuotas`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
organizationName | string | The unique organization name |
Other parameters are passed through a pointer to a apiGetQuotasRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]