At CenterForOpenScience/osf.io#5344 (comment) @mfraezz from the @CenterForOpenScience suggested that some day OSF recognize the case of a Contributor not being able to publish a dataset on their own and that OSF could issue a "Submit for Review" API call to Dataverse instead.
It's a fantastic idea but unfortunately "Submit for Review" is a GUI-only feature. https://github.com/IQSS/dataverse/blob/v4.3.1/src/main/java/edu/harvard/iq/dataverse/DatasetPage.java contains the following methods:
- submitDataset
- sendBackToContributor
These and any other methods related methods should be centralized so they can be made available via the API. This will also make it much easier to write automated tests for the business logic as part of #2746.
At CenterForOpenScience/osf.io#5344 (comment) @mfraezz from the @CenterForOpenScience suggested that some day OSF recognize the case of a Contributor not being able to publish a dataset on their own and that OSF could issue a "Submit for Review" API call to Dataverse instead.
It's a fantastic idea but unfortunately "Submit for Review" is a GUI-only feature. https://github.com/IQSS/dataverse/blob/v4.3.1/src/main/java/edu/harvard/iq/dataverse/DatasetPage.java contains the following methods:
These and any other methods related methods should be centralized so they can be made available via the API. This will also make it much easier to write automated tests for the business logic as part of #2746.