-
Notifications
You must be signed in to change notification settings - Fork 10
Closed
Labels
FY25 Sprint 26FY25 Sprint 26 (2025-06-18 - 2025-07-02)FY25 Sprint 26 (2025-06-18 - 2025-07-02)GREI Re-archGREI re-architecture-relatedGREI re-architecture-relatedOriginal size: 10SPA.Q2Not related to any specific Q2 featureNot related to any specific Q2 featureSPA: File PageSize: 10A percentage of a sprint. 7 hours.A percentage of a sprint. 7 hours.
Description
In order to correctly get the file which is deaccessioned, we need include the includeDeaccessioned, so even though the dataset is deaccessioned, by applying includeDeaccessioned = true to the GETFile endpoint, the owner could get right response to access the deaccessioned file.
API Test Steps:
- Create a dataset and upload a file to the dataset
- publish dataset (1.0 version) so the dataset v1 should open to public
- deaccession the dataset version 1.0
- dataset admin or user account with edit permission
- GET .../api/v1/files/10/versions/1.0?includeDeaccessioned=true, got 200 response
related to IQSS/dataverse#11465 (comment)
Metadata
Metadata
Assignees
Labels
FY25 Sprint 26FY25 Sprint 26 (2025-06-18 - 2025-07-02)FY25 Sprint 26 (2025-06-18 - 2025-07-02)GREI Re-archGREI re-architecture-relatedGREI re-architecture-relatedOriginal size: 10SPA.Q2Not related to any specific Q2 featureNot related to any specific Q2 featureSPA: File PageSize: 10A percentage of a sprint. 7 hours.A percentage of a sprint. 7 hours.