The api-catalog document points at a dead repository URL for the mobile API docs #67
Loading…
Reference in a new issue
No description provided.
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
/.well-known/api-catalogdocument publishes aservice-doclink for the mobile channel athttps://github.com/gmcintire/aprs.me/blob/main/docs/mobile-api.md. That repository answers 404, so the machine-readable pointer that crawlers and clients follow leads nowhere, while the document itself is served from the live repo and from the app.Evidence
At
2f150f66:lib/aprsme_web/controllers/page_controller.ex:106hard-codes the GitHub URL.docs/mobile-api.md:540nameshttps://github.com/aprsme/aprs.me/issuesas the project, which resolves.curl -s -o /dev/null -w '%{http_code}' https://github.com/gmcintire/aprs.meanswers 404 today, whilehttps://github.com/aprsme/aprs.meanswers 200.Expected
The catalog advertises a URL that resolves to the current mobile API document.
How to verify
curl -s https://aprs.me/.well-known/api-catalog | jq -r '.linkset[1]["service-doc"][0].href', then request that URL and check the status code.Acceptance criteria
service-dochref in the catalog resolves.Effort: S
Lens: api