-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mime
missing from bitstream
model
#18
Labels
enhancement
New feature or request
Comments
Ah yes, there is a HAL link from the bitstream entity for this: https://github.com/DSpace/RestContract/blob/main/bitstreams.md#format The easiest way to handle this is to embed format in the response like .../bitstreams?embed=format -- and is part of a larger improvement needed, where we expect all sorts of object types in _embedded |
kshepherd
added a commit
to kshepherd/dspace-rest-python
that referenced
this issue
Jun 11, 2024
…t in response _embedded in HALResource new BitstreamFormat model get_bitstreams takes e.g. (embeds=['format'])
kshepherd
added a commit
to kshepherd/dspace-rest-python
that referenced
this issue
Jun 11, 2024
…t in response _embedded in HALResource new BitstreamFormat model get_bitstreams takes e.g. (embeds=['format'])
kshepherd
added a commit
to kshepherd/dspace-rest-python
that referenced
this issue
Nov 20, 2024
…t in response _embedded in HALResource new BitstreamFormat model get_bitstreams takes e.g. (embeds=['format'])
kshepherd
added a commit
that referenced
this issue
Dec 3, 2024
#18: Allow embed=[] in methods and embed resources in response
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently the bitstream's mimetype is missing from the
bitstream
model. The client already passes the mimetype increate_bitstream()
. If this was available in the model it could be used instead of checking whether the filename string contains ".pdf", for example.The text was updated successfully, but these errors were encountered: