This shows you the differences between two versions of the page.
en:public:developer:template_system:tags:api:get_wwwfile_content [2013/03/08 16:54] admin created |
en:public:developer:template_system:tags:api:get_wwwfile_content [2013/05/21 12:33] (current) svanderclock old revision restored (2013/03/09 14:24) |
||
---|---|---|---|
Line 4: | Line 4: | ||
==== Parameters ==== | ==== Parameters ==== | ||
+ | |||
+ | Parameters are taken from tag (default) or from HTTP GET/Post | ||
^ Name ^ Mandatory ^ Default ^ Description ^ | ^ Name ^ Mandatory ^ Default ^ Description ^ | ||
Line 16: | Line 18: | ||
| <html><span style="color:#008000">1</span></html> | Insufficient rights. You must be logged as an admin to see logs | | | <html><span style="color:#008000">1</span></html> | Insufficient rights. You must be logged as an admin to see logs | | ||
| <html><span style="color:#008000">114</span></html> | File not found | | | <html><span style="color:#008000">114</span></html> | File not found | | ||
+ | | <html><span style="color:#008000">119</span></html> | Wrong Params | | ||
+ | |||
Line 22: | Line 26: | ||
<code html> | <code html> | ||
- | <#get_wwwfile_logs filename="/templates/maintemplates/maintemplate.html"> | + | <#get_wwwfile_content filename="/templates/maintemplates/maintemplate.html"> |
</code> | </code> | ||
Line 31: | Line 35: | ||
<rsp stat="ok"> | <rsp stat="ok"> | ||
- | <log> | + | <content> |
- | <revision>7689</revision> | + | ... |
- | <author>nik</author> | + | </content> |
- | <date>2/22/2013 1:10:45 PM</date> | + | |
- | </log> | + | |
- | <log> | + | |
- | <revision>7658</revision> | + | |
- | <author>www.arkadia.com</author> | + | |
- | <date>2/21/2013 9:07:25 AM</date> | + | |
- | </log> | + | |
</rsp> | </rsp> | ||
Line 51: | Line 48: | ||
{ | { | ||
"stat":"ok", | "stat":"ok", | ||
- | "logs":[ | + | "content":"..." |
- | { | + | |
- | "revision":"7689", | + | |
- | "author":"nik", | + | |
- | "date":"2/22/2013 1:10:45 PM" | + | |
- | }, | + | |
- | { | + | |
- | "revision":"7658", | + | |
- | "author":"www.arkadia.com", | + | |
- | "date":"2/21/2013 9:07:25 AM" | + | |
- | } | + | |
- | ] | + | |
} | } | ||
</code> | </code> |