Skip to content

fix(ui): Update API endpoints from /admin/v0 to /v0 after backend refactor#208

Merged
timflannagan merged 1 commit intoagentregistry-dev:mainfrom
aryehklein:fix-ui-admin-endpoints
Feb 23, 2026
Merged

fix(ui): Update API endpoints from /admin/v0 to /v0 after backend refactor#208
timflannagan merged 1 commit intoagentregistry-dev:mainfrom
aryehklein:fix-ui-admin-endpoints

Conversation

@aryehklein
Copy link
Copy Markdown
Contributor

@aryehklein aryehklein commented Feb 22, 2026

Description

After PR #185 (commit fb54b9f), which removed /admin/v0 endpoints from the backend, the UI was not updated and continues trying to call the now-deleted endpoints. This causes all admin UI pages to fail with 404 errors.

What changed:

  • Updated ui/lib/admin-api.ts to use /v0/* endpoints instead of /admin/v0/*, matching the current backend API structure
  • Changed all 26 occurrences of /admin/v0 to /v0
  • Updated comment to reflect correct API path

Testing:

  • ✅ Verified UI can successfully fetch servers, agents, skills, and deployments
  • ✅ Confirmed all admin UI pages load without 404 errors
  • ✅ Tested against local registry server

Fixes the admin UI broken since PR #185.

Change Type

/kind fix

Changelog

fix(ui): Update API client to use /v0 endpoints after backend refactor removed /admin/v0 routes

Additional Notes

This is a critical bug fix - the admin UI has been completely non-functional since the backend refactor in PR #185. All API calls were returning 404 errors because the UI was calling endpoints that no longer exist.

…actor

After PR agentregistry-dev#185 (commit fb54b9f), which removed /admin/v0 endpoints from
the backend, the UI was not updated and continues trying to call the
now-deleted endpoints. This causes all admin UI pages to fail with 404
errors.

This commit updates ui/lib/admin-api.ts to use /v0/* endpoints instead
of /admin/v0/*, matching the current backend API structure.

Changes:
- Replace all /admin/v0 references with /v0 in ui/lib/admin-api.ts
- Update comment to reflect correct API path

Testing:
- Verified UI can successfully fetch servers, agents, skills, and deployments
- Confirmed all admin UI pages load without 404 errors
- Tested against local registry server

Fixes the admin UI broken since PR agentregistry-dev#185.
@timflannagan
Copy link
Copy Markdown
Collaborator

Looks like the workflows are stuck. Going to try closing/re-opening to see if that unsticks CI.

@timflannagan timflannagan merged commit 3fffbb1 into agentregistry-dev:main Feb 23, 2026
9 of 10 checks passed
christian-posta pushed a commit to christian-posta/agentregistry that referenced this pull request Mar 9, 2026
…actor (agentregistry-dev#208)

# Description

After PR agentregistry-dev#185 (commit fb54b9f), which removed `/admin/v0` endpoints from
the backend, the UI was not updated and continues trying to call the
now-deleted endpoints. This causes all admin UI pages to fail with 404
errors.

**What changed:**
- Updated `ui/lib/admin-api.ts` to use `/v0/*` endpoints instead of
`/admin/v0/*`, matching the current backend API structure
- Changed all 26 occurrences of `/admin/v0` to `/v0`
- Updated comment to reflect correct API path

**Testing:**
- ✅ Verified UI can successfully fetch servers, agents, skills, and
deployments
- ✅ Confirmed all admin UI pages load without 404 errors
- ✅ Tested against local registry server

Fixes the admin UI broken since PR agentregistry-dev#185.

# Change Type

/kind fix

# Changelog

```release-note
fix(ui): Update API client to use /v0 endpoints after backend refactor removed /admin/v0 routes
```

# Additional Notes

This is a critical bug fix - the admin UI has been completely
non-functional since the backend refactor in PR agentregistry-dev#185. All API calls were
returning 404 errors because the UI was calling endpoints that no longer
exist.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants