All URIs are relative to https://csp.infoblox.com/api/atcfw/v1
Method | HTTP request | Description |
---|---|---|
ListContentCategories | Get /content_categories | List Content Categories. |
ContentCategoryMultiResponse ListContentCategories(ctx).Fields(fields).Execute()
List Content Categories.
package main
import (
"context"
"fmt"
"os"
"github.com/infobloxopen/bloxone-go-client/fw"
)
func main() {
apiClient := fw.NewAPIClient()
resp, r, err := apiClient.ContentCategoriesAPI.ListContentCategories(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ContentCategoriesAPI.ListContentCategories``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ListContentCategories`: ContentCategoryMultiResponse
fmt.Fprintf(os.Stdout, "Response from `ContentCategoriesAPI.ListContentCategories`: %v\n", resp)
}
Other parameters are passed through a pointer to a ContentCategoriesAPIListContentCategoriesRequest
struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
fields | string | A collection of response resources can be transformed by specifying a set of JSON tags to be returned. For a “flat” resource, the tag name is straightforward. If field selection is allowed on non-flat hierarchical resources, the service should implement a qualified naming scheme such as dot-qualification to reference data down the hierarchy. If a resource does not have the specified tag, the tag does not appear in the output resource. Specify this parameter as a comma-separated list of JSON tag names. |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]