Skip to content

Commit

Permalink
Added: #10280 release note tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
GPortas committed Feb 20, 2024
1 parent e5dbfa1 commit ffd69e5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/release-notes/10280-get-file-api-extension.md
Expand Up @@ -6,3 +6,5 @@ The API endpoint `api/files/{id}` has been extended to support the following opt
A new endpoint `api/files/{id}/versions/{datasetVersionId}` has been created. This endpoint returns the file metadata present in the requested dataset version. To specify the dataset version, you can use ``:latest-published``, or ``:latest``, or ``:draft`` or ``1.0`` or any other available version identifier.

The endpoint supports the `includeDeaccessioned` and `returnDatasetVersion` optional query parameters, as does the `api/files/{id}` endpoint.

`api/files/{id}/draft` endpoint is no longer available in favor of the new endpoint `api/files/{id}/versions/{datasetVersionId}`, which can use the version identifier ``:draft`` (`api/files/{id}/versions/:draft`) to obtain the same result.

0 comments on commit ffd69e5

Please sign in to comment.