Skip to content

Split API docs into per-resource sections under docs/api/#2793

Merged
flavorjones merged 4 commits into
basecamp:mainfrom
robzolkos:api-docs-split
Apr 6, 2026
Merged

Split API docs into per-resource sections under docs/api/#2793
flavorjones merged 4 commits into
basecamp:mainfrom
robzolkos:api-docs-split

Conversation

@robzolkos

@robzolkos robzolkos commented Apr 3, 2026

Copy link
Copy Markdown
Collaborator

The single docs/API.md was growing large and more endpoints are on the way. Split it into a docs/api/ directory with a README.md index and individual section files per resource.

Ref: https://3.basecamp.com/2914079/buckets/46292715/todos/9750753261

Structure

  • docs/api/README.md — entry point covering authentication summary, caching, errors, pagination, list parameters, file uploads, rich text summary, and a linked index of all sections
  • docs/api/sections/authentication.md — full auth guide (personal access tokens, magic links, session management)
  • docs/api/sections/rich_text.md — rich text format and the direct upload flow
  • One file per resource: boards, columns, cards, pins, steps, comments, reactions, tags, users, notifications, webhooks, identity, account

Opened the corresponding SDK maintenance PR here:

This doesn't change SDK generation itself, but it updates fizzy-sdk to treat the new split API docs layout as a formal upstream input to spec maintenance by:

  • tracking docs/api/README.md and docs/api/sections/ in provenance
  • documenting the docs/app → Smithy relationship in spec/README.md
  • updating contributor guidance
  • making make sync-status docs-aware

Copilot AI review requested due to automatic review settings April 3, 2026 15:43

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Claude Code Review

This pull request is from a fork — automated review is disabled. A repository maintainer can comment @claude review to run a one-time review.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR reorganizes the API documentation by splitting the large monolithic docs/API.md file into a modular structure under docs/api/, creating a more maintainable and navigable documentation set.

Changes:

  • Deleted the large 1,779-line docs/API.md file
  • Created docs/api/README.md as the main entry point with cross-links to all resource documentation
  • Created 15 individual resource documentation files under docs/api/sections/ for each API resource

Reviewed changes

Copilot reviewed 17 out of 17 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
docs/api/README.md New main API documentation entry point with authentication guide links, caching, errors, pagination, and complete endpoint index
docs/api/sections/authentication.md Complete authentication guide including personal access tokens and magic link authentication
docs/api/sections/identity.md Identity endpoint documentation
docs/api/sections/account.md Account settings and configuration endpoints
docs/api/sections/boards.md Board management endpoints (contains JSON syntax error)
docs/api/sections/columns.md Column/workflow stage endpoints
docs/api/sections/cards.md Card/task management endpoints
docs/api/sections/pins.md Card pinning endpoints
docs/api/sections/steps.md Step/checklist item endpoints
docs/api/sections/comments.md Comment endpoints with rich text support
docs/api/sections/reactions.md Reaction/boost endpoints for cards and comments
docs/api/sections/tags.md Tag management endpoints
docs/api/sections/users.md User management endpoints
docs/api/sections/notifications.md Notification endpoints
docs/api/sections/webhooks.md Webhook management endpoints
docs/api/sections/rich_text.md Rich text format guide and file upload flow
docs/API.md Deleted original monolithic documentation file

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/api/sections/boards.md Outdated
Copilot AI review requested due to automatic review settings April 3, 2026 15:53

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 17 out of 17 changed files in this pull request and generated 3 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/api/sections/cards.md Outdated
Comment thread docs/api/sections/identity.md
Comment thread docs/api/README.md

@flavorjones flavorjones left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

oh, this is sorely needed!

@flavorjones flavorjones merged commit cdd13c1 into basecamp:main Apr 6, 2026
6 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.

3 participants