From: Andrea A. <and...@ge...> - 2012-10-31 15:34:56
|
On Wed, Oct 31, 2012 at 3:41 PM, Justin Deoliveira <jde...@op...> wrote: > Well my idea was that it would a plain text representation, the contents of > which would be the raw ftl sources. > > What will the json/xml representation look like? Ok, we have two types of resources: a) rest/workspaces/templates b) rest/workspaces/templates/footer.ftl a) is the list of templates available on disk, the actual ones. It's not ftl, it's a list of links to the actual ftls. This one would be html, xml or json, just like the layer list or anything else. b) is the actual ftl, I only foresee the ftl representation itself, and the idea of using text/plain as the content type makes a lot of sense Cheers Andrea -- == Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it ------------------------------------------------------- |