Repository navigation
Conversation
Adds the new expiresAt field to the Share schema and to the shares.create and shares.update request bodies, following the addition of expiry dates for public share links in outline/outline. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016MJXFh5PApxZ4fHzTyCULE
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
Documents the new
expiresAtfield for public share links, introduced in outline/outline #14513 ("Add expiry dates for public share links").Changes
Shareschema — adds theexpiresAtoutput field (nullabledate-time).shares.create— addsexpiresAtto the request body.shares.update— addsexpiresAtto the request body.In the upstream code,
expiresAtis az.coerce.date().nullish()field on both the create and update schemas, and the share presenter now serializesexpiresAt. Passingnullmeans the link never expires.Only the YAML was edited by hand;
spec3.jsonwas regenerated by the pre-commit hook.Other merged PRs reviewed (no doc changes needed)
feat: Display links, documents and collections as preview cards(#14511) — touches the undocumented/urlsendpoints and the unfurl presenter only.defaultShareExpiryDaysadded in #14513 lives onteams.update, which is not part of the documented public spec.