DSpace / RestContract

REST Contract for DSpace 7-8
https://wiki.lyrasis.org/display/DSDOC8x/
37 stars 48 forks source link

Add dataType property to browse index response #177

Closed artlowel closed 2 years ago

artlowel commented 2 years ago

References

Description

Adds a dataType property to the browse index response, in order to allow the UI to differentiate between the different types based on rest data alone.

The name "dataType" as well as the values "date", "title" and "text" have been chosen because they are already used in the configuration docs and in the api layer. DataType was simply never exposed on the REST endpoint.

I also added the "id" to the example response, as it was missing