Skip to content
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

API endpoint for shortlinks to in-app content #1435

Merged
merged 2 commits into from
Jul 28, 2022
Merged

API endpoint for shortlinks to in-app content #1435

merged 2 commits into from
Jul 28, 2022

Conversation

jace
Copy link
Member

@jace jace commented Jul 28, 2022

This PR adds an API endpoint to support #1434's need for dynamic shortlink generation (ie, generate shortlink only when share intent/dropdown is invoked).

The API endpoint is public-access and does not record the authenticating user that generated a shortlink. However, it limits URLs to those recognised to be served by the host app, including having a valid path. A custom name can be provided for the shortlink stub if the calling user is a site editor.

@jace jace requested review from vidya-ram and djamg July 28, 2022 17:55
@jace jace merged commit f6253f7 into main Jul 28, 2022
@jace jace deleted the shortlink-api branch July 28, 2022 18:35
@jace jace mentioned this pull request Jul 29, 2022
15 tasks
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