On Fri, Feb 19, 2016 at 9:15 PM, Mark Ehle <[email protected]> wrote:
> Still at it - with dspace 5.4, can REST give me the id of the primary
> bitstream thumbnail? If not, what's the postgres query that will do it? Or
> is there a way besides those two?

I haven't noticed that you could get the primary bitstream via REST.
Anyway, primary bitstream doesn't really have one clearly defined use
case in DSpace (although your instance may assign it a particular use
case).

Connecting an ORIGINAL bitstream with a THUMBNAIL bitstream is not
straightforward, either. There is no relation assumed, it's only
consequential - if you created the thumbnails from the original
bitstreams, there will be a pattern in naming. The individual queries
will not be hard, but there will be many of them:
1) look up item's ORIGINAL bundle
2) look up that bundle's primary bitstream
3) look up the primary bitstream's name in metadatavalue
4) look up item's THUMBNAIL bundle
5) look up a bitstream in the THUMBNAIL bundle by name (via
metadatavalue) which matches the name of the original bitstream +
'.jpg'


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to