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
Copy file name to clipboardExpand all lines: docs/useCases.md
+31Lines changed: 31 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,7 @@ The different use cases currently available in the package are classified below,
27
27
-[Get Dataset Locks](#get-dataset-locks)
28
28
-[Get Dataset Summary Field Names](#get-dataset-summary-field-names)
29
29
-[Get User Permissions on a Dataset](#get-user-permissions-on-a-dataset)
30
+
-[Get Differences between Two Dataset Versions](#get-differences-between-two-dataset-versions)
30
31
-[List All Datasets](#list-all-datasets)
31
32
-[Datasets write use cases](#datasets-write-use-cases)
32
33
-[Create a Dataset](#create-a-dataset)
@@ -457,6 +458,36 @@ _See [use case](../src/datasets/domain/useCases/GetDatasetUserPermissions.ts) im
457
458
458
459
The `datasetId` parameter can be a string, for persistent identifiers, or a number, for numeric identifiers.
459
460
461
+
#### Get Differences between Two Dataset Versions
462
+
463
+
Returns an instance of [DatasetVersionDiff](../src/datasets/domain/models/DatasetVersionDiff.ts) that contains the differences between two Dataset Versions.
The `datasetId` parameter can be a string, for persistent identifiers, or a number, for numeric identifiers.
488
+
489
+
The `oldVersion` and `newVersion` parameters specify the versions of the dataset to compare.
490
+
460
491
#### List All Datasets
461
492
462
493
Returns an instance of [DatasetPreviewSubset](../src/datasets/domain/models/DatasetPreviewSubset.ts) that contains reduced information for each dataset that the calling user can access in the installation.
* Returns a DatasetVersionDiff instance, which contains the differences between the two given versions.
14
+
* @param {number | string} [datasetId] - The dataset identifier, which can be a string (for persistent identifiers), or a number (for numeric identifiers).
15
+
* @param {string } [oldVersionId] - The dataset version identifier, which can be a version-specific numeric string (for example, 1.0) or a DatasetNotNumberedVersion enum value.
16
+
* @param {string } [newVersionId] - The dataset version identifier, which can be a version-specific numeric string (for example, 1.0) or a DatasetNotNumberedVersion enum value.
0 commit comments