Skip to content

fix: address PR #102 review feedback#103

Merged
sweetmantech merged 6 commits intomainfrom
fix/pr-102-review-feedback
Apr 6, 2026
Merged

fix: address PR #102 review feedback#103
sweetmantech merged 6 commits intomainfrom
fix/pr-102-review-feedback

Conversation

@sweetmantech
Copy link
Copy Markdown
Collaborator

@sweetmantech sweetmantech commented Apr 6, 2026

Summary

  • Fix section count from "five" to "six" to match the actual number of API section cards
  • Add missing track and instagram-posts endpoints to the LLM quick reference
  • Revert base URL to api.recoupable.com for consistency with authentication.mdx and openapi.json

Addresses review comments from #102.

Test plan

  • Verify home page shows correct section count
  • Verify LLM reference lists all 30 research endpoints
  • Verify base URL is consistent across index, quickstart, and authentication pages

🤖 Generated with Claude Code


Summary by cubic

Fix docs and wording per PR #102 feedback. Standardizes the base URL, corrects counts and ordering, simplifies copy, updates endpoint references, and clarifies the /api/artists description in openapi.json.

  • Bug Fixes
    • Home: "five" → "six" API sections.
    • LLM quick reference: add track and instagram-posts; list /api/artists/* before /api/research/*.
    • Use https://recoup-api.vercel.app/api as the base URL across docs.
    • Simplify copy: intro emphasizes content and catalogs; remove "AI-powered" from Chat and "AI" from Content Agent.
    • Content tab: move "Content Creation" to the first group.
    • OpenAPI: simplify /api/artists list endpoint description.

Written for commit 200c2e8. Summary will update on new commits.

- Fix section count: "five" → "six" to match actual card count
- Add missing research endpoints (track, instagram-posts) to LLM reference
- Revert base URL to api.recoupable.com for consistency with
  authentication.mdx and openapi.json

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Apr 6, 2026

Warning

Rate limit exceeded

@sweetmantech has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 23 minutes and 52 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 23 minutes and 52 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: e45eb9d0-0813-4cba-8f68-2b4a906b9947

📥 Commits

Reviewing files that changed from the base of the PR and between 38c6671 and 200c2e8.

📒 Files selected for processing (1)
  • api-reference/openapi.json
📝 Walkthrough

Walkthrough

This PR updates documentation files by revising API endpoint URLs in authentication examples, reordering navigation structure in the sidebar configuration, and refreshing marketing copy with adjusted endpoint listings and section counts.

Changes

Cohort / File(s) Summary
Authentication URL Updates
authentication.mdx
Updated curl command base URLs from https://api.recoupable.com/api/tasks to https://recoup-api.vercel.app/api/tasks in two API key and Bearer token examples.
Navigation Structure
docs.json
Reordered the "Posts & Comments" group within the Content tab navigation to appear after the "Content Creation" group; page entries remain unchanged.
Marketing Copy & Endpoints
index.mdx
Updated welcome description to highlight "Generate content," "Manage catalogs," "Team chats," and "task automation"; changed API Sections count from five to six; removed "AI-powered" and "AI" qualifiers from Chat and Content Agent cards; reorganized endpoint listing with /api/artists/* added explicitly first, /api/research/* expanded with additional path segments, and duplicate entry removed.

Estimated Code Review Effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly Related PRs

Poem

🐰 URLs hop to the cloud, navigation flows clean,
Copy dances with freshness—the best I have seen!
Six sections instead of just five, a leap of delight,
Marketing sparkles, endpoints shine bright! ✨

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
Title check ❓ Inconclusive The title 'fix: address PR #102 review feedback' is vague and does not clearly communicate the specific changes made (API section count correction, endpoint additions, URL updates, content reordering, copy simplification). Consider a more specific title that highlights the primary changes, such as 'docs: fix API section count, add LLM endpoints, and reorder content navigation' or 'docs: address review feedback on API docs and home page copy'.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/pr-102-review-feedback

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Update index, quickstart, and authentication pages to consistently
use recoup-api.vercel.app as the canonical API base URL.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 2 files

sweetmantech and others added 2 commits April 5, 2026 20:12
- Update intro text to highlight content generation and catalogs
- KISS: remove "AI-powered" from Chat card description
- KISS: remove "AI" from Content Agent card description
- Move /api/artists/* to first in LLM quick reference

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
index.mdx Outdated
# Welcome to the Recoup API

Use the Recoup API to build your record label. Access artist analytics, fan segmentation, AI-powered chat, content creation, and task automation to power your music business.
Use the Recoup API to build your record label. Generate content, Access artist analytics, Manage your catalogs, AI-powered chat, and task automation to power your music business.
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

KISS

Suggested change
Use the Recoup API to build your record label. Generate content, Access artist analytics, Manage your catalogs, AI-powered chat, and task automation to power your music business.
Use the Recoup API to build your record label. Generate content, Access artist analytics, Manage catalogs, Team chats, and task automation to power your record labels.

sweetmantech and others added 2 commits April 5, 2026 20:16
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy link
Copy Markdown

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

♻️ Duplicate comments (1)
index.mdx (1)

8-8: ⚠️ Potential issue | 🟡 Minor

Polish the hero sentence grammar/casing for readability.

Mid-sentence capitalization and pluralization make this line read awkwardly (Access, Manage, Team, record labels). Suggest a quick copy pass for consistency and scanability.
As per coding guidelines: "Keep documentation content concise and scannable."

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@index.mdx` at line 8, Update the hero sentence in index.mdx to use sentence
case and a parallel list structure: make verbs lowercased and consistent (e.g.,
"generate content, access artist analytics, manage catalogs"), fix pluralization
for "record label(s)" to match the product focus, and ensure items are scannable
and punctuated consistently (use commas and an Oxford comma). Locate the hero
line text ("Use the Recoup API to build your record label. Generate content,
Access artist analytics, Manage catalogs, Team chats, and task automation to
power your record labels.") and replace it with a single, grammatically
consistent sentence that follows sentence case and parallel verb forms.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@authentication.mdx`:
- Line 38: Replace the non-canonical domain used in the curl examples by
updating the URL string "https://recoup-api.vercel.app/api/tasks" (and the other
occurrence at line 60) to the canonical API base "https://api.recoupable.com" so
the authentication.mdx examples match api-reference/openapi.json; ensure both
instances are changed to avoid docs/spec drift.

---

Duplicate comments:
In `@index.mdx`:
- Line 8: Update the hero sentence in index.mdx to use sentence case and a
parallel list structure: make verbs lowercased and consistent (e.g., "generate
content, access artist analytics, manage catalogs"), fix pluralization for
"record label(s)" to match the product focus, and ensure items are scannable and
punctuated consistently (use commas and an Oxford comma). Locate the hero line
text ("Use the Recoup API to build your record label. Generate content, Access
artist analytics, Manage catalogs, Team chats, and task automation to power your
record labels.") and replace it with a single, grammatically consistent sentence
that follows sentence case and parallel verb forms.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 7ac64917-c521-4ee8-81e0-0331822c5503

📥 Commits

Reviewing files that changed from the base of the PR and between 819e1e7 and 38c6671.

📒 Files selected for processing (3)
  • authentication.mdx
  • docs.json
  • index.mdx


```bash
curl -X GET "https://api.recoupable.com/api/tasks" \
curl -X GET "https://recoup-api.vercel.app/api/tasks" \
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

Use one canonical API base URL here to avoid spec/docs drift.

These two examples now point to recoup-api.vercel.app, but api-reference/openapi.json still declares https://api.recoupable.com and the PR objective says to revert to that domain. This mismatch will confuse users and breaks consistency.

Proposed fix
-curl -X GET "https://recoup-api.vercel.app/api/tasks" \
+curl -X GET "https://api.recoupable.com/api/tasks" \
   -H "x-api-key: YOUR_API_KEY"
-curl -X GET "https://recoup-api.vercel.app/api/tasks" \
+curl -X GET "https://api.recoupable.com/api/tasks" \
   -H "Authorization: Bearer YOUR_PRIVY_JWT"

Also applies to: 60-60

🧰 Tools
🪛 Betterleaks (1.1.1)

[high] 38-39: Discovered a potential authorization token provided in a curl command header, which could compromise the curl accessed resource.

(curl-auth-header)

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@authentication.mdx` at line 38, Replace the non-canonical domain used in the
curl examples by updating the URL string
"https://recoup-api.vercel.app/api/tasks" (and the other occurrence at line 60)
to the canonical API base "https://api.recoupable.com" so the authentication.mdx
examples match api-reference/openapi.json; ensure both instances are changed to
avoid docs/spec drift.

@sweetmantech sweetmantech merged commit 81858c2 into main Apr 6, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant