Get exception logs

URL: /api/logs/exception Method: GET Description : Gets the list of logs Parameters: Parameter Type Optional/Required Description search_query string Optional String that has to be searched sort_order string Optional Sort order `asc` or `desc` sort_field string Optional Field by which results has to be sorted limit string Optional Count of results that are required category_ids array […]

Read More

Get cron logs

URL: /api/logs/cron Method: GET Description : Gets the list of logs Parameters: Parameter Type Optional/Required Description search_query string Optional String that has to be searched sort_order string Optional Sort order `asc` or `desc` sort_field string Optional Field by which results has to be sorted limit string Optional Count of results that are required category_ids array […]

Read More

Get mail logs

URL: /api/logs/mail Method: GET Description : Gets the list of logs Parameters: Parameter Type Optional/Required Description search_query string Optional String that has to be searched sort_order string Optional Sort order `asc` or `desc` sort_field string Optional Field by which results has to be sorted limit string Optional Count of results that are required category_ids string […]

Read More

Get Log Category List

URL: /api/log-category-list Method: GET Description : Gets the list of log categories Parameters: Parameter Type Optional/Required Description search_query string Optional String that has to be searched limit string Optional Count of results that are required   Response: { “success”:true, “data”:{ “log_categories”: [{ “id”:1, “name”:”ticket-create” }, { “id”:2, “name”:”user-create” }, { “id”:3, “name”:”mail-fetch” }, { “id”:4, […]

Read More

Get Mail Body

URL: /api/get-log-mail-body/{logId} Method: GET Description : Gets mail body Response: { “success”:true, “data”:{ “mail_body”:”test_body” } }  

Read More

Get User By Email

URL: /api/get-user-by-email Method: GET Description : Gets the user profile by email Parameters: Parameter Type Optional/Required Description email string Required Email that has to be searched Response: { “success”:true, “data”:{ “user”:{ “id”:310, “email”:”gislason.tiana@example.net”, “user_name”:”marks.jacinthe”, “role”:”admin”, “profile_pic”:”https:\/\/secure.gravatar.com\/avatar\/3a691dea6e00f2677d227c75d76239d7?s=80&r=g&d=identicon”, “name”:”Jeffrey Streich”, “profile_link”:”http:\/\/localhost:8000\/user\/310″ } } }  

Read More

Delete Logs

URL: /api/delete-logs Method: DELETE Description : Deletes logs by category Parameters: Parameter Type Optional/Required Description categories array Required Array of logs that has to be deleted. Following are the keys : mail, cron, exception. For eg. [ ‘cron’, ‘exception’] for deleting cron-logs and exception logs delete_before string Optional The time before all logs should be […]

Read More