Closed michael-conway closed 8 years ago
example list of file templates
responseText:[{"class":"org.irods.jargon.filetemplate.FileTemplate","defaultExtension":".txt","i18nTemplateName":"template.text","infoType":"","mimeType":"text/plain","templateName":"text.template","templateUniqueIdentifier":"a.unique.name"}]
example from create
{"class":"org.irods.jargon.filetemplate.FileTemplate","defaultExtension":".txt","i18nTemplateName":"template.text","infoType":"","mimeType":"text/plain","templateName":"text.template","templateUniqueIdentifier":"a.unique.name"}]
Add a create new file that will list certain types,and create a basic template file of that type
create new:
text rule xml json csv
This will rest on a new jargon extension that will list types available, and manage template files of that type. It can be called with a 'name' and a type and put the template into irods and return.
This links to a lib to be developed in jargon-extensions
https://github.com/DICE-UNC/jargon-extensions/issues/8