<
From version < 51.1 >
edited by Vincent Massol
on 2013/03/11
To version < 52.1 >
edited by Oana Florea
on 2013/06/18
>
Change comment: Added documentation for the get action.

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.VincentMassol
1 +XWiki.OanaTabaranu
Content
... ... @@ -56,7 +56,7 @@
56 56  
57 57  The page contains wiki contents, objects/classes and attachments.
58 58  
59 -When no page is specified like in the url ##http:~//host/xwiki/bin/view/Space/ ## the "WebHome" page name is used.
59 +When no page is specified like in the url ##http:~/~/host/xwiki/bin/view/Space/ ## the "WebHome" page name is used.
60 60  
61 61  = Attachment (OPTIONAL) =
62 62  
... ... @@ -94,8 +94,12 @@
94 94  
95 95  This action is the same as the ##view## action but allowing to address a given revision of the document asked.
96 96  
97 -* ##rev##: the version to get, e.g. ##2.3## in ##http:~//host/xwiki/bin/view/MySpace/MyPage?rev=2.3##
97 +* ##rev##: the version to get, e.g. ##2.3## in ##http:~/~/host/xwiki/bin/view/MySpace/MyPage?rev=2.3##
98 98  
99 +=== ##get## Action ===
100 +
101 +The ##get## action should be used to render the content of the page and nothing else (mainly used for code pages). This action is similar to the ##view## action, but without the UI and with "text/plain" mime type set by default for the response.
102 +
99 99  == Custom parameters ==
100 100  
101 101  Actions can use URL parameters to modify their action depending on their value.

Get Connected