docs: remove phantom GET /api/artist-profile endpoint (never implemented)#266
Conversation
…ted)
The reference page documents an endpoint that does not exist in the api
codebase (app/api/artist/ has only socials/; requests to prod return the
Next.js HTML 404 page). Accuracy over symmetry: remove the page, its
OpenAPI path, its two exclusively-referenced schemas, and the nav entry.
Live profile metrics are served by GET /api/artists/{id}/socials
(follower_count per platform) and GET /api/research/profile.
Found while reading Patrick Quaggin-Smith's roster via the API (chat#1851
follow-up).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
|
Warning Review limit reached
Next review available in: 59 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (4)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
Follow-up commit: |
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
Summary
Removes the Get Artist Profile reference page — it documents
GET /api/artist-profile, an endpoint that does not exist in the api codebase and never has.Evidence
recoupable/apihas no such route:app/api/artist/contains onlysocials/; a repo-wide grep forartist-profilefinds no handler.GET https://api.recoupable.dev/api/artist-profile?artist_account_id=<uuid>with a valid Bearer token returns the Next.js HTML app shell (catch-all 200), not JSON — any agent following the docs (llms.txtincluded this page) gets an unparseable response.GET /api/artists/{id}/socials(per-platformfollower_count) andGET /api/research/profile.What changed (purely deletive, 85 lines)
api-reference/artist/profile.mdx— page removedapi-reference/openapi/releases.json—/api/artist-profilepath + its two exclusively-referenced schemas (ArtistProfileResponse,ArtistProfileErrorResponse) removed via surgical text edits (no reformat; file re-validated as JSON)docs.json— nav entry removed (re-validated; removal also drops the page from generatedllms.txt)Per the house rule: an undocumented-but-real gap is better than a documented-but-false one.
🤖 Generated with Claude Code
Summary by cubic
Removed the phantom GET /api/artist-profile docs and links, and updated Quickstart to point to the real socials endpoint. This stops calls to a non-existent API and directs users to GET /api/artists/{id}/socials.
Written for commit b70c344. Summary will update on new commits.