Skip to content

Conversation

Yuan325
Copy link
Contributor

@Yuan325 Yuan325 commented Aug 28, 2025

Description


Add the /admin/<resource> endpoint. This endpoint will return a list of resource.

This PR also make the following updates:

  1. Move common errResponse from api.go to util.go since that will be shared across the two /api and /admin endpoint.
  2. Update common_test.go's setUpResources() and setUpServer() to also take mock source and mock auth services.

endpoint urls:
GET /admin/source
GET /admin/authservice
GET /admin/tool
GET /admin/toolset

@Yuan325 Yuan325 requested a review from a team as a code owner August 28, 2025 23:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants