chore: remove dead segments surface#141
Conversation
Deletes the three segments-related reference pages and their OpenAPI definitions. The feature is being removed from chat and api entirely; the earlier migration plan is abandoned. Part of SEGMENTS_SURFACE_REMOVAL_PLAN.md. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
📝 WalkthroughWalkthroughThis PR removes three segment-related API endpoints from the OpenAPI specifications ( Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 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 |
Segments pages are removed from the group; rename to reflect the remaining content. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Summary
api-reference/artist/segments.mdx,api-reference/chat/segment.mdx,api-reference/segment/fans.mdxdocs.jsonand renames theFans & Segmentsgroup toFans/api/artist/segments,/api/segment/fans, and/api/chats/{id}/segmentpaths from the OpenAPI JSON along with theArtistSegment*,SegmentFan*, andGetChatSegment*schemas no longer referenced by any remaining pathquickstart.mdxandindex.mdxLLM quick-reference lists to drop the removed endpointsContext
The Segments surface is being removed entirely from chat, api, and docs. The earlier migration effort (docs #135, #136, api #443, #444, chat #1679, #1680) was abandoned and those PRs were closed unmerged.
Do not merge until chat and api cleanup PRs are merged, otherwise the published surface would briefly reference live endpoints that are about to disappear — or worse, remove docs for endpoints still being called.
Depends on:
Test plan
docs.jsonrenders without broken links (Mintlify preview)/api/*segment*path