Document archive/deletion reasons and group description on create - #58
Merged
Merged
Conversation
Reflects recently merged changes from outline/outline: - Add optional `reason` input to documents.archive, documents.delete, collections.archive, and collections.delete (outline/outline#13784). - Add optional `deprecatedReason` input to documents.update and collections.update, and add the read-only `deprecatedReason` field to the Document and Collection response schemas (outline/outline#13784). - Document the `description` input on groups.create (outline/outline#13791). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RRbhSVmsWtuy28THeRA5cA
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Documents API schema changes from pull requests merged in outline/outline over the last day.
Changes
Archive & deletion reasons (outline/outline#13784)
reasoninput (string, max 2000, nullable) to:documents.archivedocuments.deletecollections.archivecollections.deletedeprecatedReasoninput (string, max 2000, nullable) todocuments.updateandcollections.update. This can only be updated on an archived/deleted document or archived collection.deprecatedReasonfield to theDocumentandCollectionresponse schemas. Thereasonsupplied at archive/delete time is stored and returned here.Group description on create (outline/outline#13791)
descriptioninput ongroups.create. The endpoint now stores the description when a group is created (theGroupresponse schema already documentsdescription).Notes
spec3.ymlwas edited by hand;spec3.jsonwas regenerated by the pre-commit hooks (yamlToJSON.js).team.updatehex validation without changing the schema shape). Dependabot PRs ignored.🤖 Generated with Claude Code
https://claude.ai/code/session_01RRbhSVmsWtuy28THeRA5cA
Generated by Claude Code