-
Notifications
You must be signed in to change notification settings - Fork 494
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into 9507-show-linked-collections
- Loading branch information
Showing
40 changed files
with
1,354 additions
and
308 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
Extended the existing endpoints: | ||
|
||
- getVersionFiles (/api/datasets/{id}/versions/{versionId}/files) | ||
- getVersionFileCounts (/api/datasets/{id}/versions/{versionId}/files/counts) | ||
|
||
The above endpoints now accept a new boolean optional query parameter "includeDeaccessioned", which, if enabled, causes the endpoint to consider deaccessioned versions when searching for versions to obtain files or file counts. | ||
|
||
Additionally, a new endpoint has been developed to support version deaccessioning through API (Given a dataset and a version). | ||
|
||
- deaccessionDataset (/api/datasets/{id}/versions/{versionId}/deaccession) | ||
|
||
Finally, the DataFile API payload has been extended to add the field "friendlyType" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
Extended the getVersionFileCounts endpoint (/api/datasets/{id}/versions/{versionId}/files/counts) to support filtering by criteria. | ||
|
||
In particular, the endpoint now accepts the following optional criteria query parameters: | ||
|
||
- contentType | ||
- accessStatus | ||
- categoryName | ||
- tabularTagName | ||
- searchText | ||
|
||
This filtering criteria is the same as the one for the getVersionFiles endpoint. |
9 changes: 9 additions & 0 deletions
9
doc/release-notes/9958-dataset-api-downloadsize-ignore-tabular-size.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Added a new optional query parameter "mode" to the "getDownloadSize" API endpoint ("api/datasets/{identifier}/versions/{versionId}/downloadsize"). | ||
|
||
This parameter applies a filter criteria to the operation and supports the following values: | ||
|
||
- All (Default): Includes both archival and original sizes for tabular files | ||
|
||
- Archival: Includes only the archival size for tabular files | ||
|
||
- Original: Includes only the original size for tabular files |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.