Add Oudelaa dashboard API integration
فشلت بعض الفحوصات
Deploy To Ghaymah / deploy (push) Has been cancelled
فشلت بعض الفحوصات
Deploy To Ghaymah / deploy (push) Has been cancelled
هذا الالتزام موجود في:
81
oudelaa_dashboard/postman/oudelaa-route-map.json
Normal file
81
oudelaa_dashboard/postman/oudelaa-route-map.json
Normal file
@@ -0,0 +1,81 @@
|
||||
{
|
||||
"baseUrl": "{{baseUrl}}",
|
||||
"dashboardType": "SuperAdmin",
|
||||
"notes": [
|
||||
"This dashboard must authenticate with /auth/superadmin/* routes only.",
|
||||
"User-only routes are not a valid contract for this dashboard unless they have a dedicated /admin or /superadmin variant.",
|
||||
"The dashboard proxy should target the Nest backend API base URL defined in .env.local."
|
||||
],
|
||||
"modules": {
|
||||
"auth": [
|
||||
"POST /auth/superadmin/login",
|
||||
"POST /auth/superadmin/refresh",
|
||||
"POST /auth/superadmin/logout",
|
||||
"GET /auth/superadmin/sessions",
|
||||
"POST /auth/superadmin/sessions/:sessionId/revoke"
|
||||
],
|
||||
"users": [
|
||||
"GET /users/admin",
|
||||
"GET /users/admin/admins",
|
||||
"GET /users/admin/:userId",
|
||||
"PATCH /users/admin/:userId",
|
||||
"PATCH /users/admin/:userId/disable",
|
||||
"PATCH /users/admin/:userId/enable",
|
||||
"PATCH /users/admin/:userId/role",
|
||||
"DELETE /users/admin/:userId",
|
||||
"PATCH /users/admin/admins/:userId",
|
||||
"DELETE /users/admin/admins/:userId",
|
||||
"POST /users/admin/create-admin",
|
||||
"GET /users/admin/discover",
|
||||
"GET /users/admin/:userId/profile-overview",
|
||||
"PATCH /superadmin/users/:userId/status"
|
||||
],
|
||||
"posts": [
|
||||
"GET /posts/admin/moderation",
|
||||
"DELETE /posts/admin/:postId",
|
||||
"PATCH /superadmin/posts/:postId/status"
|
||||
],
|
||||
"comments": [
|
||||
"GET /comments/admin",
|
||||
"DELETE /comments/admin/:commentId",
|
||||
"PATCH /superadmin/comments/:commentId/status"
|
||||
],
|
||||
"notifications": [
|
||||
"GET /notifications/superadmin"
|
||||
],
|
||||
"marketplace": [
|
||||
"GET /marketplace/home",
|
||||
"GET /marketplace/listings",
|
||||
"GET /marketplace/repair-shops",
|
||||
"GET /marketplace/superadmin/listings",
|
||||
"PATCH /marketplace/superadmin/listings/:listingId/status",
|
||||
"DELETE /marketplace/superadmin/listings/:listingId",
|
||||
"GET /marketplace/superadmin/repair-shops",
|
||||
"PATCH /marketplace/superadmin/repair-shops/:repairShopId/status",
|
||||
"DELETE /marketplace/superadmin/repair-shops/:repairShopId"
|
||||
],
|
||||
"audit": [
|
||||
"GET /audit/superadmin/logs"
|
||||
],
|
||||
"superadmin": [
|
||||
"GET /superadmin/overview",
|
||||
"GET /superadmin/charts",
|
||||
"GET /superadmin/recent-activity",
|
||||
"GET /superadmin/reports",
|
||||
"GET /superadmin/settings",
|
||||
"PATCH /superadmin/settings"
|
||||
]
|
||||
},
|
||||
"dashboardPages": [
|
||||
"/dashboard",
|
||||
"/users",
|
||||
"/analytics",
|
||||
"/content",
|
||||
"/marketplace",
|
||||
"/notifications",
|
||||
"/messages",
|
||||
"/security",
|
||||
"/settings",
|
||||
"/orders"
|
||||
]
|
||||
}
|
||||
المرجع في مشكلة جديدة
حظر مستخدم