curl --request GET \
--url http://localhost/mogl/mogl-compliance-backend/api/compliance/filters/dates \
--header 'Authorization: Bearer <token>'{
"status": true,
"message": "Successfully retrieved filters.",
"data": {
"all-time": {
"start_date": null,
"end_date": null
},
"last-30-days": {
"start_date": "2026-02-16",
"end_date": "2026-03-18"
},
"last-week": {
"start_date": "2026-03-09",
"end_date": "2026-03-15"
},
"this-week": {
"start_date": "2026-03-16",
"end_date": "2026-03-22"
}
}
}Returns pre-calculated date ranges for the dashboard date filter dropdown: All time (no dates), Last 30 days (default), Last week, This week. For Custom Range, the frontend sends user-selected start_date and end_date directly.
curl --request GET \
--url http://localhost/mogl/mogl-compliance-backend/api/compliance/filters/dates \
--header 'Authorization: Bearer <token>'{
"status": true,
"message": "Successfully retrieved filters.",
"data": {
"all-time": {
"start_date": null,
"end_date": null
},
"last-30-days": {
"start_date": "2026-02-16",
"end_date": "2026-03-18"
},
"last-week": {
"start_date": "2026-03-09",
"end_date": "2026-03-15"
},
"this-week": {
"start_date": "2026-03-16",
"end_date": "2026-03-22"
}
}
}Documentation Index
Fetch the complete documentation index at: https://developer.mogl.online/llms.txt
Use this file to discover all available pages before exploring further.