Develop a backend API endpoint that allows the retrieval of detailed information about a specific role associated with a given organization. The endpoint will utilize the organization’s ID and the role’s ID to fetch the relevant data.
Acceptance Criteria
The endpoint successfully retrieves the correct role details for a given organization and role ID.
The response is formatted as a JSON object with the expected fields.
The endpoint handles errors correctly and returns appropriate HTTP status codes (e.g., 404 for not found).
The endpoint is well-documented with clear explanations of the parameters, response format, and error handling.
Description
Develop a backend API endpoint that allows the retrieval of detailed information about a specific role associated with a given organization. The endpoint will utilize the organization’s ID and the role’s ID to fetch the relevant data.
Acceptance Criteria
Links
https://www.figma.com/design/VEItfX6St5NSAqqNHImcxD/HNG-Boilerplate-Designs?node-id=4-33159&t=hHwJaKsR0WUN3DlO-0
Images