Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Endpoint: Fetch All Domains #23

Open
MakMuftic opened this issue Oct 29, 2024 · 0 comments · May be fixed by #40
Open

Endpoint: Fetch All Domains #23

MakMuftic opened this issue Oct 29, 2024 · 0 comments · May be fixed by #40

Comments

@MakMuftic
Copy link
Contributor

Implementation details

Create an API endpoint to retrieve all domains along with their related data (icons, explorer-URL, etc.) with the following specifications:

  • Method: GET
  • URL: /domains
  • Additional: Develop end-to-end (e2e) tests to ensure the endpoint functions correctly. Update the Swagger documentation to include detailed information about the endpoint, its parameters, and responses.

Ensure that the endpoint fetches all necessary related data for each domain from the PostgreSQL database and presents it in a structured format.

Testing details

  • Write e2e tests to verify that the /domains endpoint returns all domains with their related data.
  • Test the endpoint's response with no domains available to ensure it handles empty datasets gracefully.
  • Ensure that Swagger documentation accurately describes the endpoint's functionality and usage.

Acceptance Criteria

  • The /domains endpoint correctly retrieves all domains along with their related data, such as icons and explorer URLs.
  • Comprehensive e2e tests are in place and passing.
  • Swagger documentation is updated and accurately reflects the new endpoint.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant