Open DS-INRA opened 11 months ago
@DS-INRA perfect. Thanks. To reiterate what I said in the other issue, there is already an API for this that the SPA can use: https://guides.dataverse.org/en/6.0/api/native-api.html#return-a-dataset-to-author
{
"reasonForReturn": "You forgot to upload any files."
}
curl -H "X-Dataverse-key: $API_TOKEN" -X POST "$SERVER_URL/api/datasets/:persistentId/returnToAuthor?persistentId=$PERSISTENT_ID" -H "Content-type: application/json" -d @reason-for-return.json
Corresponding PR in non-SPA :
Overview of the Feature Request As a curator, When I click on "Return to author" in an "In review" dataset, I can fill in a feedback note, In order to inform the depositor of what additional/edits are needed.
What inspired the request? See this issue for discussion :
This issue is just to highlight/document the need of this feature in the SPA :)