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: CHANGELOG.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,9 @@ This changelog follows the principles of [Keep a Changelog](https://keepachangel
27
27
- New Use Case: [Create a Template](./docs/useCases.md#create-a-template) under Templates.
28
28
- New Use Case: [Get a Template](./docs/useCases.md#get-a-template) under Templates.
29
29
- New Use Case: [Delete a Template](./docs/useCases.md#delete-a-template) under Templates.
30
+
- New Use Case: [Update Template Metadata](./docs/useCases.md#update-template-metadata) under Templates.
31
+
- New Use Case: [Update Template License Terms](./docs/useCases.md#update-template-license-terms) under Templates.
32
+
- New Use Case: [Update Template Terms Of Access](./docs/useCases.md#update-template-terms-of-access) under Templates.
30
33
- Templates: Added `setTemplateAsDefault` use case and repository method to support Dataverse endpoint `POST /dataverses/{id}/template/default/{templateId}`.
31
34
- Templates: Added `unsetTemplateAsDefault` use case and repository method to support Dataverse endpoint `DELETE /dataverses/{id}/template/default`.
32
35
- New Use Case: [Update Terms of Access](./docs/useCases.md#update-terms-of-access).
The `collectionIdOrAlias` is a generic collection identifier, which can be either a string (for queries by CollectionAlias), or a number (for queries by CollectionId).
244
+
245
+
The optional `getEffective` parameter defaults to `false`. Set it to `true` to retrieve the effective storage driver after inheritance/default resolution.
246
+
247
+
#### Get Allowed Collection Storage Drivers
248
+
249
+
Returns an [AllowedStorageDrivers](../src/collections/domain/models/AllowedStorageDrivers.ts) object whose keys are driver labels and whose values are storage driver ids.
The `collectionIdOrAlias` is a generic collection identifier, which can be either a string (for queries by CollectionAlias), or a number (for queries by CollectionId).
272
+
207
273
#### Get Collection Facets
208
274
209
275
Returns a [CollectionFacet](../src/collections/domain/models/CollectionFacet.ts) array containing the facets of the requested collection, given the collection identifier or alias.
@@ -474,6 +540,57 @@ The above example creates the new collection in the root collection since no col
474
540
475
541
The use case returns a number, which is the identifier of the created collection.
476
542
543
+
#### Set Collection Storage Driver
544
+
545
+
Assigns a storage driver to a collection by driver label and returns the backend success message.
The `collectionIdOrAlias` is a generic collection identifier, which can be either a string (for queries by CollectionAlias), or a number (for queries by CollectionId).
567
+
568
+
The `driverLabel` parameter must match the storage driver's label, not its id.
569
+
570
+
#### Delete Collection Storage Driver
571
+
572
+
Clears the directly assigned storage driver from a collection so it falls back to inherited/default storage, and returns the backend success message.
The `collectionIdOrAlias` is a generic collection identifier, which can be either a string (for queries by CollectionAlias), or a number (for queries by CollectionId).
593
+
477
594
#### Update a Collection
478
595
479
596
Updates an existing collection, given a collection identifier and a [CollectionDTO](../src/collections/domain/dtos/CollectionDTO.ts) including the updated collection data.
Returns a [StorageDriver](../src/datasets/domain/models/StorageDriver.ts) instance with storage driver configuration for a dataset, including properties like name, type, label, and upload/download capabilities.
1703
+
Returns a [StorageDriver](../src/core/domain/models/StorageDriver.ts) instance with storage driver configuration for a dataset, including properties like name, type, label, and upload/download capabilities.
0 commit comments