All URIs are relative to http://localhost
Method | HTTP request | Description |
---|---|---|
GetTaskAudit | Get /api/v1/customers/{cUUID}/tasks/{tUUID}/audit_info | Get audit info for a task |
GetUserFromTask | Get /api/v1/customers/{cUUID}/tasks/{tUUID}/audit_user | Get the user associated with a task |
ListOfAudit | Get /api/v1/customers/{cUUID}/users/{uUUID}/audit_trail | List a user's audit entries |
Audit GetTaskAudit(ctx, cUUID, tUUID).Execute()
Get audit info for a task
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
cUUID := TODO // string |
tUUID := TODO // string |
configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.AuditApi.GetTaskAudit(context.Background(), cUUID, tUUID).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuditApi.GetTaskAudit``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetTaskAudit`: Audit
fmt.Fprintf(os.Stdout, "Response from `AuditApi.GetTaskAudit`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
cUUID | string | ||
tUUID | string |
Other parameters are passed through a pointer to a apiGetTaskAuditRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Audit GetUserFromTask(ctx, cUUID, tUUID).Execute()
Get the user associated with a task
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
cUUID := TODO // string |
tUUID := TODO // string |
configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.AuditApi.GetUserFromTask(context.Background(), cUUID, tUUID).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuditApi.GetUserFromTask``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetUserFromTask`: Audit
fmt.Fprintf(os.Stdout, "Response from `AuditApi.GetUserFromTask`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
cUUID | string | ||
tUUID | string |
Other parameters are passed through a pointer to a apiGetUserFromTaskRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]Audit ListOfAudit(ctx, cUUID, uUUID).Execute()
List a user's audit entries
package main
import (
"context"
"fmt"
"os"
openapiclient "./openapi"
)
func main() {
cUUID := TODO // string |
uUUID := TODO // string |
configuration := openapiclient.NewConfiguration()
api_client := openapiclient.NewAPIClient(configuration)
resp, r, err := api_client.AuditApi.ListOfAudit(context.Background(), cUUID, uUUID).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `AuditApi.ListOfAudit``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ListOfAudit`: []Audit
fmt.Fprintf(os.Stdout, "Response from `AuditApi.ListOfAudit`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
cUUID | string | ||
uUUID | string |
Other parameters are passed through a pointer to a apiListOfAuditRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]