Skip to content

Commit

Permalink
IQSS#9650 backwards compatibility, release note
Browse files Browse the repository at this point in the history
  • Loading branch information
pkiraly authored and stevenwinship committed Sep 25, 2024
1 parent 110fbe1 commit 2c2cd86
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 @@ -2085,7 +2085,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 2c2cd86

Please sign in to comment.