Skip to content

Document share slug as a valid id for shares.info - #57

Merged
tommoor merged 1 commit into
mainfrom
claude/sleepy-gates-2huuhz
Sep 20, 2026
Merged

tommoor merged 1 commit into
mainfrom
claude/sleepy-gates-2huuhz

Conversation

@tommoor

@tommoor tommoor commented Sep 18, 2026

Copy link
Copy Markdown
Member

Summary

Reviewed pull requests merged to outline/outline in the last day and updated the OpenAPI documentation to reflect the one change affecting a documented, non-internal API endpoint.

outline/outline#13766 – "Validate share id on public share endpoints" tightened input validation on the shares endpoints so that the id parameter is validated with zodShareIdType(), which accepts either a UUID or a share slug. The shares.info documentation previously declared id as format: uuid only, which understated the accepted input.

Changes

  • shares.info: id no longer carries format: uuid and its description now notes that either the UUID or the share slug is acceptable — matching the codebase and the existing convention used elsewhere in the spec (e.g. documents.info).

Notes

  • Only the YAML (spec3.yml) was edited by hand; spec3.json was regenerated by the pre-commit hook.
  • yarn validate passes (Spectral lint, operation IDs, sort check).
  • The remaining shares-schema changes in that PR (shares.sitemap, shares.subscribe) are on public web/email-flow endpoints that are not part of the documented API, so they were not changed.
  • All other PRs merged in the window were frontend/editor changes, plugin webhook internals, or import/queue processing that do not affect the documented API input schema or output shape. Dependabot PRs were ignored per instructions.

🤖 Generated with Claude Code

https://claude.ai/code/session_01JcjfwaotNz7pfJmehEsnkF


Generated by Claude Code

The shares.info endpoint accepts either a UUID or a share slug for the
id parameter (server-side validation via zodShareIdType). Update the
documentation to reflect that the share slug is also acceptable, matching
the actual accepted input.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JcjfwaotNz7pfJmehEsnkF
@tommoor
tommoor merged commit e8461ce into main Sep 20, 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