Skip to content

Latest commit

 

History

History
74 lines (44 loc) · 2.25 KB

ContentCategoriesAPI.md

File metadata and controls

74 lines (44 loc) · 2.25 KB

ContentCategoriesAPI

All URIs are relative to https://csp.infoblox.com/api/atcfw/v1

Method HTTP request Description
ListContentCategories Get /content_categories List Content Categories.

ListContentCategories

ContentCategoryMultiResponse ListContentCategories(ctx).Fields(fields).Execute()

List Content Categories.

Example

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

Path Parameters

Other Parameters

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.

Return type

ContentCategoryMultiResponse

Authorization

No authorization required

HTTP request headers

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

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