Skip to content

Document personal collections and group membership creator - #69

Merged
tommoor merged 1 commit into
mainfrom
claude/sleepy-gates-6du26k
Oct 16, 2026
Merged

tommoor merged 1 commit into
mainfrom
claude/sleepy-gates-6du26k

Conversation

@tommoor

@tommoor tommoor commented Oct 14, 2026

Copy link
Copy Markdown
Member

Updates the OpenAPI spec for API changes merged in outline/outline over the last day.

Changes

  • Personal collections (outline#14062)

    • Add ownerId to the Collection schema. This is the identifier of the user who owns the collection when it is a personal collection, and null for regular shared collections (server/presenters/collection.ts).
    • documents.create and documents.import now accept the literal string personal as collectionId to target the authenticated user's personal collection (server/routes/api/documents/schema.ts). The strict format: uuid was dropped from these two fields to reflect the new allowed value, matching how other UUID-or-keyword fields (e.g. documents.info id) are documented.
  • Group memberships (outline#14071)

    • Add createdBy (the presented user who created the membership) to the GroupMembership schema, exposed via groups.memberships (server/presenters/groupUser.ts). The existing users array change in that PR is a behavior change only (creators are no longer returned there), so it needs no schema update.

Other PRs merged in the window were reviewed and excluded: dependency upgrades (Dependabot), editor/frontend fixes, search ranking tweaks, internal auth/Slack changes, the /oauth/token endpoint (not part of the documented RPC spec), and the displayTitle rename (no change to any response field name). The OAuth Client ID Metadata work (outline#14015) is already documented.

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

🤖 Generated with Claude Code

https://claude.ai/code/session_01KmZTPgBVCuvWZG9mmnT2JJ


Generated by Claude Code

- Add ownerId to the Collection schema (set for personal collections)
- Accept the literal `personal` as collectionId on documents.create and
  documents.import to target the user's personal collection
- Add createdBy (the user who created the membership) to GroupMembership

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KmZTPgBVCuvWZG9mmnT2JJ
@tommoor
tommoor merged commit 119e0cc into main Oct 16, 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