Skip to content

PreviewURL use cases and extension on dataset and file use cases - #473

Draft
ChengShi-1 wants to merge 3 commits into
developfrom
TakePreviewURLToken
Draft

PreviewURL use cases and extension on dataset and file use cases#473
ChengShi-1 wants to merge 3 commits into
developfrom
TakePreviewURLToken

Conversation

@ChengShi-1

@ChengShi-1 ChengShi-1 commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

What this PR does / why we need it:

  • Datasets/Files: Added optional Preview URL (previewUrlToken) support to getDataset, getDatasetFiles, getDatasetFileCounts, getDatasetFilesTotalDownloadSize, getFile, and getFileAndDataset
  • Datasets: Added createPreviewUrl, getPreviewUrl, and deletePreviewUrl use cases

Which issue(s) this PR closes:

Related Dataverse PRs:

  • Depends on #

Special notes for your reviewer:

  • toApiQueryParams is needed because the internal query object uses previewUrlToken, but the actual Dataverse API expects that token as query param key. Thus, I mapped key to previewUrlToken for better clarification.

Suggestions on how to test this:

Is there a release notes or changelog update needed for this change?:

Changlog updated

Additional documentation:

@ChengShi-1 ChengShi-1 linked an issue Aug 3, 2026 that may be closed by this pull request
@github-actions github-actions Bot added FY26 Sprint 3 (2025-07-30 - 2025-08-13) GREI Re-arch GREI re-architecture-related SPA labels Aug 3, 2026
@ChengShi-1 ChengShi-1 added the Size: 10 A percentage of a sprint. 7 hours. label Aug 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

FY26 Sprint 3 (2025-07-30 - 2025-08-13) GREI Re-arch GREI re-architecture-related Size: 10 A percentage of a sprint. 7 hours. SPA

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

Extend Dataset and File use cases: add privateUrlToken

1 participant