The new REST API must provides nested properties endpoint automatically trough inspection of the DSpace Rest Object definition. Custom annotation should provide information about the strategy to use to retrieve/update the information.
A Bitstream Rest have a BitstreamFormat format property this mean that a
endpoint need to be implemented to allow
- retrieve of the bitstream format associated with the Bitstream
- update of the relation
in some cases the property holds a relation with a collection, for example Item Rest will have a List of Bundle Rest. In this case the endpoint should be able to
- retrieve the list of associated bundle (paginated)
- update the relation adding or removing bundles