You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Develop an endpoint to allow admin users to filter activity logs based on specific actions performed by users. Currently, the API does not support this feature. This implementation will enable admin users to troubleshoot issues related to specific actions more effectively.
Endpoint
Filter Activity Log by Action
Method:GET
URL:/api/v1/activity-logs?action="login"
Authorization: Admin-only access required.
Request Sample
GET /api/v1/activity-logs?action="login"
Authorization: Bearer <admin_token>
Description
Develop an endpoint to allow admin users to filter activity logs based on specific actions performed by users. Currently, the API does not support this feature. This implementation will enable admin users to troubleshoot issues related to specific actions more effectively.
Endpoint
Filter Activity Log by Action
GET
/api/v1/activity-logs?action="login"
Request Sample
Response Sample
Response Sample (Unauthorized Access)
Response Sample (Action Not Found)
Requirements
Motivation and Context
Types of changes
Checklist:
The text was updated successfully, but these errors were encountered: