registry/internal/api/handlers/v0
Repository files (latest commit first)
Filename Latest commit message Latest commit date
adam jones 4f453ff2bd
Drop GET /v0/servers/{serverName} endpoint (#618)
Remove redundant endpoint as suggested in #617. Clients should now use
`GET /v0/servers/{serverName}/versions/latest` instead (using `latest`
as a special version value in the existing endpoint).

This simplifies the API surface and reduces implementation burden for
subregistries, while maintaining a clear migration path for consumers.

## Changes
- Removed `GET /v0/servers/{serverName}` endpoint
- Updated `GET /v0/servers/{serverName}/versions/{version}` to accept
`latest` as special version
- Updated all tests to use new endpoint pattern
- Updated documentation and OpenAPI spec
- Added breaking change notice to CHANGELOG

Fixes #617

Co-authored-by: Claude <noreply@anthropic.com>
2025-10-07 13:56:45 +03:00
..
auth Apply gofmt formatting to all Go files (#588) 2025-09-30 17:32:22 +03:00
edit.go Apply gofmt formatting to all Go files (#588) 2025-09-30 17:32:22 +03:00
edit_test.go Enforce schema validation on the publish and edit API level (#598) 2025-10-05 13:57:10 +01:00
health.go Add OpenTelemetry metrics instrumentation (#290) 2025-08-21 14:23:37 +01:00
health_test.go Add OpenTelemetry metrics instrumentation (#290) 2025-08-21 14:23:37 +01:00
ping.go api: Use Huma to generate swagger docs and parse JSON automatically (#262) 2025-08-13 16:57:55 +01:00
ping_test.go auth: New auth flow (#273) 2025-08-15 13:03:35 +01:00
publish.go Apply gofmt formatting to all Go files (#588) 2025-09-30 17:32:22 +03:00
publish_integration_test.go Enforce schema validation on the publish and edit API level (#598) 2025-10-05 13:57:10 +01:00
publish_registry_validation_test.go Enforce schema validation on the publish and edit API level (#598) 2025-10-05 13:57:10 +01:00
publish_test.go Enforce schema validation on the publish and edit API level (#598) 2025-10-05 13:57:10 +01:00
response.go auth: New auth flow (#273) 2025-08-15 13:03:35 +01:00
servers.go Drop GET /v0/servers/{serverName} endpoint (#618) 2025-10-07 13:56:45 +03:00
servers_test.go Drop GET /v0/servers/{serverName} endpoint (#618) 2025-10-07 13:56:45 +03:00
telemetry_test.go Drop GET /v0/servers/{serverName} endpoint (#618) 2025-10-07 13:56:45 +03:00