You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/services/ogc-api-records/src/main/java/org/fao/geonet/ogcapi/records/controller/ItemApiController.java
+9-3
Original file line number
Diff line number
Diff line change
@@ -134,7 +134,8 @@ public class ItemApiController {
134
134
GnMediaType.APPLICATION_RDF_XML_VALUE,
135
135
GnMediaType.APPLICATION_DCAT2_XML_VALUE,
136
136
GnMediaType.TEXT_TURTLE_VALUE,
137
-
GnMediaType.APPLICATION_GEOJSON_VALUE})
137
+
GnMediaType.APPLICATION_GEOJSON_VALUE,
138
+
GnMediaType.APPLICATION_ELASTICJSON_VALUE})
138
139
@ResponseStatus(HttpStatus.OK)
139
140
@ApiResponses(value = {
140
141
@ApiResponse(responseCode = "200", description = "Describe a collection item.")
@@ -216,6 +217,7 @@ public ResponseEntity<Void> collectionsCollectionIdItemsRecordIdGet(
216
217
GnMediaType.APPLICATION_DCAT2_XML_VALUE,
217
218
MediaType.TEXT_HTML_VALUE,
218
219
GnMediaType.APPLICATION_GEOJSON_VALUE,
220
+
GnMediaType.APPLICATION_ELASTICJSON_VALUE
219
221
})
220
222
@ResponseStatus(HttpStatus.OK)
221
223
@ApiResponses(value = {
@@ -284,15 +286,19 @@ public ResponseEntity<Void> collectionsCollectionIdItemsGet(
0 commit comments