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

Add hash version of /shareLink #1586

Open
cjmyers opened this issue Dec 3, 2024 · 1 comment · May be fixed by #1590
Open

Add hash version of /shareLink #1586

cjmyers opened this issue Dec 3, 2024 · 1 comment · May be fixed by #1590
Assignees
Milestone

Comments

@cjmyers
Copy link
Collaborator

cjmyers commented Dec 3, 2024

This endpoint should use the original share link as the access token, and then send either in the query for a GET request or param for a POST the URI that you want a share link for.

If the object is private and the access token allows access (i.e., in same collection), then it should generate a share link for the URI sent and return that.

Otherwise, it should return an error.

@cjmyers cjmyers self-assigned this Dec 3, 2024
@cjmyers cjmyers added this to the SBH 1.6.2 milestone Dec 3, 2024
@cjmyers cjmyers linked a pull request Dec 14, 2024 that will close this issue
@cjmyers
Copy link
Collaborator Author

cjmyers commented Dec 17, 2024

Disallow /shareLink unless for a collection

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant