You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -622,6 +623,32 @@ Note that `collectionId` is an optional parameter to filter datasets by collecti
622
623
623
624
The `DatasetPreviewSubset`returned instance contains a property called `totalDatasetCount` which is necessary for pagination.
624
625
626
+
#### Get Dataset Versions Summaries
627
+
628
+
Returns an array of [DatasetVersionSummaryInfo](../src/datasets/domain/models/DatasetVersionSummaryInfo.ts) that contains information about what changed in every specific version.
@@ -1316,6 +1372,8 @@ The `fileId` parameter can be a string, for persistent identifiers, or a number,
1316
1372
1317
1373
The `uploadedFileDTO` parameter is a [UploadedFileDTO](../src/files/domain/dtos/UploadedFileDTO.ts) and includes properties related to the uploaded files. Some of these properties should be calculated from the uploaded File Blob objects and the resulting storage identifiers from the Upload File use case.
1318
1374
1375
+
The use case returns a number, which is the identifier of the new file.
* Returns a list of versions for a given dataset including a summary of differences between consecutive versions where available.
14
+
* Draft versions will only be available to users who have permission to view unpublished drafts.
15
+
*
16
+
* @param {number | string} [datasetId] - The dataset identifier, which can be a string (for persistent identifiers), or a number (for numeric identifiers).
17
+
* @returns {Promise<DatasetVersionSummaryInfo[]>} - An array of DatasetVersionSummaryInfo.
0 commit comments