Document documents.insights, shares.create exclusivity, attachments.create size#22
Open
Document documents.insights, shares.create exclusivity, attachments.create size#22
Conversation
…reate size - Add new `/documents.insights` endpoint with `DocumentInsight` schema (outline/outline#12086) - Document mutual exclusivity of `documentId` and `collectionId` on `/shares.create` (outline/outline#12098) - Tighten `/attachments.create` `size` to a non-negative integer (outline/outline#12095) https://claude.ai/code/session_018jPBbvdbwKrxiBUgY9nJks
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.
Summary
Reflects API changes merged to
outline/outlinein the last day./documents.insights: new endpoint returning daily activity rollups (views, viewers, comments, reactions, revisions, editors) for a document. Added a correspondingDocumentInsightschema. (feat: Document insight rollups outline#12086)/shares.create: documented thatcollectionIdis accepted alongsidedocumentId, and that exactly one must be provided (oneOf). (fix: Validate that shares contain only adocumentIdorcollectionIdoutline#12098)/attachments.create: tightenedsizeto a non-negative integer. (fix: Correctly validate uploaded file size using "local" storage option outline#12095)Only
spec3.ymlwas edited by hand;spec3.jsonwas regenerated by the pre-commit hook.Test plan
yarn lintpasses with no errorsyarn validatepasses (operation IDs valid)spec3.jsoncleanlyhttps://claude.ai/code/session_018jPBbvdbwKrxiBUgY9nJks