Untitled
unknown
plain_text
a month ago
345 B
6
Indexable
📡 API Endpoints
1. Get My Permissions (Mobile App)
http
GET /api/mobile-permissions/me
Headers:
text
Authorization: Bearer <your_token>
Response (200 OK):
json
{
"username": "jean.tech",
"checklist": true,
"securite": true,
"intervention": false
}
Error (401 Unauthorized):
json
{
"error": "Invalid token"
}Editor is loading...
Leave a Comment