Skip to content

Commit

Permalink
Changes for conflict resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
nshweta90 committed Apr 10, 2024
1 parent 9e626c6 commit bf734f5
Showing 1 changed file with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,19 @@ public RecordController(RecordService recordService, FormatHandlerRegistry forma
}



/**
* Retrieves the Record in the format requested
* Format is requested two-way - either as an extension in the localID or the Accept Header
* If present in localId : example - UEDIN_214.xml or UEDIN_214.json Or a valid Accept header.
* Extensions are given preference over Accept header values
* If both are provided then default format is set to JSONLD
* @param datasetId Dataset Id
* @param localId local id
* @param request HttpServlet request
* @return Response Entity with StreamingResponseBody
* @throws EuropeanaApiException throws generic EuropeanaApiException
*/
@Operation(
summary = "retrieveRecord",
description = "Retrieve record in json/json-ld, XML, Turtle, N3, NT "
Expand Down

0 comments on commit bf734f5

Please sign in to comment.