Skip to content

Add missing optional fields to LinkMentionResponse #550

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 12, 2025

Conversation

ksinder
Copy link
Contributor

@ksinder ksinder commented Mar 12, 2025

This PR updates the SDK src/api-endpoints.ts with Notion's latest Public API spec.

Changes:

  • Add several missing fields to LinkMentionResponse, all of which are optional:
    • title, description, link_author, link_provider, thumbnail_url, icon_url, iframe_url, height, padding, padding_top

Copy link

Public API link mention response only includes href and not other supported attributes

This document is a template for reporting bugs and user issues. It includes sections for describing the problem, expected behavior, troubleshooting steps, and reproduction steps. It also has a section for attaching supporting visuals and links to a user issue tracker. The document is low priority and has only one user report.

Copy link
Contributor Author

ksinder commented Mar 12, 2025

This stack of pull requests is managed by Graphite. Learn more about stacking.

@ksinder ksinder marked this pull request as ready for review March 12, 2025 18:46
@ksinder ksinder requested review from mquan and seemaullal March 12, 2025 18:46
Copy link
Contributor Author

ksinder commented Mar 12, 2025

Merge activity

  • Mar 12, 4:26 PM EDT: A user started a stack merge that includes this pull request via Graphite.
  • Mar 12, 4:26 PM EDT: A user merged this pull request with Graphite.

@ksinder ksinder merged commit 4194aa4 into main Mar 12, 2025
7 checks passed
@ksinder ksinder deleted the ksinder-TASK-238917-sdk-change branch March 12, 2025 20:26
ksinder added a commit that referenced this pull request Mar 12, 2025
Ran `npm version patch`

This new version tag will include the changes from #550
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