README documents API endpoints that do not exist #67
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The README HTTP API table lists the following endpoints:
GET /api/v1/domains— "Configured domains and status"GET /api/v1/hostnames— "Configured hostnames and status"These endpoints are not implemented. The only routes defined in
internal/server/routes.goare:GET /healthGET /api/v1/statusGET /metrics(conditional on MetricsUsername being set)Requests to
/api/v1/domainsor/api/v1/hostnamesreturn 404.Impact
Users who read the README and try to use these endpoints will get 404s with no useful error message.
Recommendation
Either:
Category
Should-fix before 1.0. The README is the primary documentation and must be accurate.