WebApiEventArgs

The WebApiEventArgs class contains information about a web API event, which occurs any time an API endpoint is hit. For more info see Plugins

Properties

Property Type Description
Api string API endpoint that was called.
StatusCode int HTTP status code of the response.
Message string Message associated with the event.
User string Username of the requester.
Role string Role of the user (e.g., "Admin", "User").
Args Dictionary<string, object> Additional arguments or parameters of the request.

Methods