All URIs are relative to https://csp.infoblox.com/api/atcfw/v1
Method | HTTP request | Description |
---|---|---|
ListAppApprovals | Get /app_approvals | |
ReplaceAppApprovals | Put /app_approvals | Update Application Approval. |
UpdateAppApprovals | Patch /app_approvals |
AppApprovalMultiResponse ListAppApprovals(ctx).Filter(filter).Execute()
package main
import (
"context"
"fmt"
"os"
"github.com/infobloxopen/bloxone-go-client/fw"
)
func main() {
apiClient := fw.NewAPIClient()
resp, r, err := apiClient.AppApprovalsAPI.ListAppApprovals(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AppApprovalsAPI.ListAppApprovals``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ListAppApprovals`: AppApprovalMultiResponse
fmt.Fprintf(os.Stdout, "Response from `AppApprovalsAPI.ListAppApprovals`: %v\n", resp)
}
Other parameters are passed through a pointer to a AppApprovalsAPIListAppApprovalsRequest
struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
filter | string | A collection of response resources can be filtered by a logical expression string that includes JSON tag references to values in each resource, literal values, and logical operators. If a resource does not have the specified tag, its value is assumed to be null. Literal values include numbers (integer and floating-point), and quoted (both single- or double-quoted) literal strings, and 'null'. The following operators are commonly used in filter expressions: | Op |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
AppApprovalMultiResponse ReplaceAppApprovals(ctx).Body(body).Execute()
Update Application Approval.
package main
import (
"context"
"fmt"
"os"
"github.com/infobloxopen/bloxone-go-client/fw"
)
func main() {
body := *fw.NewAppApprovalsReplaceRequest() // AppApprovalsReplaceRequest |
apiClient := fw.NewAPIClient()
resp, r, err := apiClient.AppApprovalsAPI.ReplaceAppApprovals(context.Background()).Body(body).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AppApprovalsAPI.ReplaceAppApprovals``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ReplaceAppApprovals`: AppApprovalMultiResponse
fmt.Fprintf(os.Stdout, "Response from `AppApprovalsAPI.ReplaceAppApprovals`: %v\n", resp)
}
Other parameters are passed through a pointer to a AppApprovalsAPIReplaceAppApprovalsRequest
struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
body | AppApprovalsReplaceRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
AppApprovalMultiResponse UpdateAppApprovals(ctx).Body(body).Execute()
package main
import (
"context"
"fmt"
"os"
"github.com/infobloxopen/bloxone-go-client/fw"
)
func main() {
body := *fw.NewAppApprovalsUpdateRequest() // AppApprovalsUpdateRequest |
apiClient := fw.NewAPIClient()
resp, r, err := apiClient.AppApprovalsAPI.UpdateAppApprovals(context.Background()).Body(body).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AppApprovalsAPI.UpdateAppApprovals``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `UpdateAppApprovals`: AppApprovalMultiResponse
fmt.Fprintf(os.Stdout, "Response from `AppApprovalsAPI.UpdateAppApprovals`: %v\n", resp)
}
Other parameters are passed through a pointer to a AppApprovalsAPIUpdateAppApprovalsRequest
struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
body | AppApprovalsUpdateRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]