EOL / tramea

A lightweight server for denormalized EOL data
Other
2 stars 1 forks source link

Pages API should identify the exemplar image #343

Open jhammock opened 8 years ago

jhammock commented 8 years ago

(this ticket may be a duplicate, but I cannot find the original)

This has been requested by HHMI and @hyanwong.

hyanwong commented 8 years ago

Yes, thanks. I can't find the original either, so I may not have git issued it, but simply mentioned it somewhere else. When I chatted about it to @JRice the only debate was whether to return JSON like {'exemplar':'true',...} and {'exemplar':'false',...}, or simply to omit 'exemplar':'false' when the object isn't an exemplar. I don't care much either way, although the second option uses marginally less bandwidth, I suppose.

arlin commented 8 years ago

The Phylotastic project would also like to have this feature. Maybe we could get together some day for a discussion on how best to deal with images.