All URIs are relative to https://gateway.stackpath.com
| Method | HTTP request | Description |
|---|---|---|
| GetWAFOrganizations | Get /waf/v1/organizations | Get WHOIS organizations |
WafGetWAFOrganizationsResponse GetWAFOrganizations(ctx).PageRequestFirst(pageRequestFirst).PageRequestAfter(pageRequestAfter).PageRequestFilter(pageRequestFilter).PageRequestSortBy(pageRequestSortBy).Execute()
Get WHOIS organizations
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
pageRequestFirst := "pageRequestFirst_example" // string | The number of items desired. (optional)
pageRequestAfter := "pageRequestAfter_example" // string | The cursor value after which data will be returned. (optional)
pageRequestFilter := "pageRequestFilter_example" // string | SQL-style constraint filters. (optional)
pageRequestSortBy := "pageRequestSortBy_example" // string | Sort the response by the given field. (optional)
configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.InfrastructureApi.GetWAFOrganizations(context.Background(), ).PageRequestFirst(pageRequestFirst).PageRequestAfter(pageRequestAfter).PageRequestFilter(pageRequestFilter).PageRequestSortBy(pageRequestSortBy).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `InfrastructureApi.GetWAFOrganizations``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetWAFOrganizations`: WafGetWAFOrganizationsResponse
fmt.Fprintf(os.Stdout, "Response from `InfrastructureApi.GetWAFOrganizations`: %v\n", resp)
}Other parameters are passed through a pointer to a apiGetWAFOrganizationsRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|---|---|---|
| pageRequestFirst | string | The number of items desired. | |
| pageRequestAfter | string | The cursor value after which data will be returned. | |
| pageRequestFilter | string | SQL-style constraint filters. | |
| pageRequestSortBy | string | Sort the response by the given field. |
WafGetWAFOrganizationsResponse
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]