Skip to content

Commit

Permalink
#9650 backwards compatibility, release note
Browse files Browse the repository at this point in the history
  • Loading branch information
pkiraly committed Jun 20, 2023
1 parent 65e8093 commit 3972a4d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
The following API have been added:

/api/datasets/{datasetId}/links

It lists the linked dataverses to a dataset. It can be executed only by administrators.
2 changes: 1 addition & 1 deletion src/main/java/edu/harvard/iq/dataverse/api/Datasets.java
Original file line number Diff line number Diff line change
Expand Up @@ -1734,7 +1734,7 @@ public Response getLinks(@Context ContainerRequestContext crc, @PathParam("id")
JsonObjectBuilder response = Json.createObjectBuilder();
response.add("id", datasetId);
response.add("identifier", dataset.getIdentifier());
response.add("linked-dataverses", dataversesThatLinkToThisDatasetIdBuilder);
response.add("dataverses that link to dataset id " + datasetId, dataversesThatLinkToThisDatasetIdBuilder);
return ok(response);
} catch (WrappedResponse wr) {
return wr.getResponse();
Expand Down

0 comments on commit 3972a4d

Please sign in to comment.