Skip to content

[Feature] (PHP): Implement Endpoint for Retrieving Role Details by Organization and Role IDs #1445

@Paul-Ajibola

Description

@Paul-Ajibola

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

  1. The endpoint successfully retrieves the correct role details for a given organization and role ID.
  2. The response is formatted as a JSON object with the expected fields.
  3. The endpoint handles errors correctly and returns appropriate HTTP status codes (e.g., 404 for not found).
  4. The endpoint is well-documented with clear explanations of the parameters, response format, and error handling.

Links

https://www.figma.com/design/VEItfX6St5NSAqqNHImcxD/HNG-Boilerplate-Designs?node-id=4-33159&t=hHwJaKsR0WUN3DlO-0

Images

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    triageThis Ticket is yet to be verified as a valid ticket

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions