A User
in R2R represents an authenticated entity that can interact with the system. Users are the foundation of R2R’s access control system, enabling granular permissions management, activity tracking, and content organization through collections.
Users in R2R provide:
- Authentication and authorization
- Collection membership management
- Activity tracking and analyticsMetadata customization
- Superuser capabilities for system administration
Available Endpoints
Method | Endpoint | Description |
---|---|---|
GET | /users/{user_id} | Get detailed information about a specific user |
GET | /users/{user_id}/collections | List all collections that the user is a member of |
POST | /users/{user_id}/collections/{collection_id} | Add the user to a specified collection |
DELETE | /users/{user_id}/collections/{collection_id} | Remove the user from a specified collection |
GET | /users/{user_id}/limits | Fetch User Limits |
GET | /users/me | Get authenticated user details |