Skip to content

Document maxLength on comment and other request fields - #60

Merged
tommoor merged 2 commits into
mainfrom
claude/sleepy-gates-duefp3
Sep 22, 2026
Merged

tommoor merged 2 commits into
mainfrom
claude/sleepy-gates-duefp3

Conversation

@tommoor

@tommoor tommoor commented Sep 21, 2026 •

Copy link
Copy Markdown
Member

Summary

Reviewing pull requests merged to outline/outline in the last day, the only change affecting the public API input schema or output shape was:

This is documented on the comments.create text field via maxLength: 10000.

Additional consistency pass

While here, maxLength was added to request-body string fields across endpoints so the documented constraints match the limits Outline actually enforces in shared/validations.ts:

Endpoint(s) Field maxLength
apiKeys.create name 255
collections.create / .update / .duplicate name 100
collections.create / .update description 100000
documents.create / .update / .duplicate title 100
groups.create / .update name 255
groups.create description 2000
oauthClients.create / .update name 100
oauthClients.create / .update description 255
oauthClients.create / .update developerName 100
oauthClients.create / .update developerUrl, avatarUrl, redirectUris[] 1024
revisions.update name 255
users.update name 255

Fields that already carried a maxLength (documents text, share/webhook/collection-reason fields, etc.) were left unchanged. Endpoints with no corresponding validation constant (attachments, data attributes, comment anchors, webhook secret) were left as-is.

Other merged PRs reviewed — no doc change needed

UI/editor/internal-logic/bug fixes with no request or response schema impact: #13818, #13817, #13816, #13815, #13809.

Only spec3.yml was hand-edited; spec3.json was regenerated by the pre-commit hook.

🤖 Generated with Claude Code

https://claude.ai/code/session_01A5XTVDVVYNbVFtppBGu3Sd

The maximum comment length was raised from 1,000 to 10,000 characters in
outline/outline#13814. Document this limit on the comments.create text
field, matching how documents document their body text maxLength.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01A5XTVDVVYNbVFtppBGu3Sd
Add maxLength constraints to request-body string fields across endpoints
to reflect the limits Outline actually enforces (shared/validations.ts):

- apiKeys.create name (255)
- collections.create/update/duplicate name (100), description (100000)
- documents.create/update/duplicate title (100)
- groups.create/update name (255), description (2000)
- oauthClients.create/update name (100), description (255),
  developerName (100), developerUrl/avatarUrl/redirectUris items (1024)
- revisions.update name (255)
- users.update name (255)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01A5XTVDVVYNbVFtppBGu3Sd
@tommoor tommoor changed the title Document increased comment max length Document maxLength on comment and other request fields Sep 22, 2026
@tommoor
tommoor merged commit c0289f0 into main Sep 22, 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.

2 participants