learn-assignments
Get Assignment
Get an assignment by ID.
load_assignment_for_user enforces org-scope plus the ownership rule:
admin / office-admin see any assignment in their org; other roles see
only assignments belonging to their own user record. Cross-org and
cross-user accesses both return 404 without disclosing existence.
GET
Get Assignment
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Query Parameters
Include enriched data (user/ship names)
Response
Successful Response
- AssignmentDTO
- AssignmentDetailDTO
Assignment data transfer object - returned from repositories. Represents a user's assignment to a ship.
Get Assignment