Get Event
Description
Get activity events definition from FortiCWP.
URL
/api/v1/event
Method: Get
Request Headers
Key |
Value |
Type |
Description |
---|---|---|---|
Authorization | Bearer <Authorization Token> | String | Authorization credential generated by FortiCWP |
Content-Type | application/json | String |
Sample Request
Request URL |
GET https://www.forticwp.com/api/v1/event |
Request Header |
Authorization: Bearer <Authorization_Token> Content-Type: application/json |
Response Variables
Name |
Type |
Description |
---|---|---|
id | integer | operation ID number of application event |
name | String | Display name of operation of application event |
nameEnum | String | Operation ENUM of application event |
value | String | Aggregation of common events |
category | String | Event type |
searchField | String | Sign of common events and unique application events |
Sample Response
[
{
"id":1002,
"name":"Login Success",
"nameEnum":"LOGIN_SUCCESS",
"value":"LOGIN_SUCCESS",
"category":"LOGIN",
"searchField":"subOperationList"
},
{
"id":1003,
"name":"Login Failed",
"nameEnum":"LOGIN_FAILED",
"value":"LOGIN_FAILED",
"category":"LOGIN",
"searchField":"subOperationList"
},
{
"id":1004,
"name":"Attach Role Policy",
"nameEnum":"ATTACH_ROLE_POLICY",
"value":"1004",
"category":"USER",
"searchField":"activity"
}
]