List audit events of an organisation.
Path Parameters
"^[a-z0-9-]+$"
Query Parameters
Optional. When omitted: pageSize=50, pageNumber=0, sortDirection=ASC
Response Body
Request was successfully processed. The response body contains the requested data.
TypeScript Definitions
Use the response body type in TypeScript.
"int64"
"int32"
"int32"
@minItems 0
"int32"
"int32"
Invalid request parameters. Please review the documentation for valid parameter values.
TypeScript Definitions
Use the response body type in TypeScript.
You do not have the necessary permissions to access this resource.
TypeScript Definitions
Use the response body type in TypeScript.
The requested resource could not be found. Please check the resource URL or identifier.
TypeScript Definitions
Use the response body type in TypeScript.
An internal error occurred on the server.
TypeScript Definitions
Use the response body type in TypeScript.
curl -X GET "https://api.avisi.cloud/api/v1/orgs/string/audit-events?pageable=%5Bobject+Object%5D"
fetch("https://api.avisi.cloud/api/v1/orgs/string/audit-events?pageable=%5Bobject+Object%5D")
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://api.avisi.cloud/api/v1/orgs/string/audit-events?pageable=%5Bobject+Object%5D"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := ioutil.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
import requests
url = "https://api.avisi.cloud/api/v1/orgs/string/audit-events?pageable=%5Bobject+Object%5D"
response = requests.request("GET", url)
print(response.text)
{
"totalElements": 0,
"totalPages": 0,
"first": true,
"last": true,
"size": 0,
"content": [
{
"createdAt": "2019-08-24T14:15:22Z",
"type": "string",
"referencedEntityIdentity": "string",
"details": {
"property1": {
"new": null,
"old": null
},
"property2": {
"new": null,
"old": null
}
},
"customerId": 0,
"customerSlug": "string",
"actorId": 0,
"actorUsername": "string",
"environmentId": 0,
"environmentSlug": "string",
"clusterId": 0,
"clusterSlug": "string",
"clusterNodePoolId": 0,
"clusterNodePoolName": "string",
"cloudAccountName": "string"
}
],
"number": 0,
"sort": {
"empty": true,
"sorted": true,
"unsorted": true
},
"numberOfElements": 0,
"pageable": {
"offset": 0,
"sort": {
"empty": true,
"sorted": true,
"unsorted": true
},
"unpaged": true,
"paged": true,
"pageNumber": 0,
"pageSize": 0
},
"empty": true
}
{
"message": "string",
"details": [
"string"
]
}
{
"message": "string",
"details": [
"string"
]
}
{
"message": "string",
"details": [
"string"
]
}
{
"message": "string",
"details": [
"string"
]
}