Skip to content

Latest commit

 

History

History
79 lines (49 loc) · 1.95 KB

QuotasAPI.md

File metadata and controls

79 lines (49 loc) · 1.95 KB

\QuotasAPI

All URIs are relative to https://api.salad.com/api/public

Method HTTP request Description
GetQuotas Get /organizations/{organization_name}/quotas Get Quotas

GetQuotas

Quotas GetQuotas(ctx, organizationName).Execute()

Get Quotas

Example

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)
}

Path Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
organizationName string The unique organization name

Other Parameters

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

Name Type Description Notes

Return type

Quotas

Authorization

ApiKeyAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

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