Multiscale-Genomics / mg-dm-api

API for the management of file locations and users within the MuG VRE
Apache License 2.0
0 stars 2 forks source link

Additional field MIME-Type #4

Open jlgelpi opened 7 years ago

jlgelpi commented 7 years ago

Needed for proper visualization/download. Probably optional for well known formats.

markmcdowall commented 7 years ago

Would just an extra text column be fine for this?

jlgelpi commented 7 years ago

Probably yes, and optional. If present, it will be used in the http header. Otherwise the type is guessed by the work space application.

JL

Dr. Josep Ll. Gelpí Dept. Biochemistry and Molecular Biology University of Barcelona INB /BSC-CNS

De: Mark [mailto:notifications@github.com] Enviado el: jueves, 24 de noviembre de 2016 15:39 Para: Multiscale-Genomics/mg-dm-api mg-dm-api@noreply.github.com CC: JOSEP LLUIS GELPI BUCHACA gelpi@ub.edu; Author author@noreply.github.com Asunto: Re: [Multiscale-Genomics/mg-dm-api] Additional field MIME-Type (#4)

Would just an extra text column be fine for this?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/Multiscale-Genomics/mg-dm-api/issues/4#issuecomment-262790717, or mute the threadhttps://github.com/notifications/unsubscribe-auth/APVhndE_Mo-C5Gf5fDPuLMh1P__jSop9ks5rBaGIgaJpZM4K7syp.

Aquest correu electrònic i els annexos poden contenir informació confidencial o protegida legalment i està adreçat exclusivament a la persona o entitat destinatària. Si no sou el destinatari final o la persona encarregada de rebre’l, no esteu autoritzat a llegir-lo, retenir-lo, modificar-lo, distribuir-lo, copiar-lo ni a revelar-ne el contingut. Si heu rebut aquest correu electrònic per error, us preguem que n’informeu al remitent i que elimineu del sistema el missatge i el material annex que pugui contenir. Gràcies per la vostra col·laboració.

Este correo electrónico y sus anexos pueden contener información confidencial o legalmente protegida y está exclusivamente dirigido a la persona o entidad destinataria. Si usted no es el destinatario final o la persona encargada de recibirlo, no está autorizado a leerlo, retenerlo, modificarlo, distribuirlo, copiarlo ni a revelar su contenido. Si ha recibido este mensaje electrónico por error, le rogamos que informe al remitente y elimine del sistema el mensaje y el material anexo que pueda contener. Gracias por su colaboración.

This email message and any documents attached to it may contain confidential or legally protected material and are intended solely for the use of the individual or organization to whom they are addressed. We remind you that if you are not the intended recipient of this email message or the person responsible for processing it, then you are not authorized to read, save, modify, send, copy or disclose any of its contents. If you have received this email message by mistake, we kindly ask you to inform the sender of this and to eliminate both the message and any attachments it carries from your account. Thank you for your collaboration.

markmcdowall commented 7 years ago

Will add this in. It is a MongoDB at the moment in the back end so it is easy to add in extra data like this.

The other place that data can be stored is within the meta_data dict object.

markmcdowall commented 7 years ago

Actually it might be best to include this information in the meta_data dict as:

{..., "http_header" : "Something to include in the http header", ...}

Does this seem ok with you @jlgelpi ?

jlgelpi commented 7 years ago

ok. It is more general.