Changes for page REST API

Last modified by Thomas Mortagne on 2024/03/12

From version 28.2
edited by Vincent Massol
on 2011/05/30
Change comment: typo
To version 28.3
edited by Vincent Massol
on 2011/05/30
Change comment: Replaced SVN URL with GitHub URL

Summary

Details

Page properties
Content
... ... @@ -32,7 +32,7 @@
32 32  
33 33  "An important concept in REST is the existence of resources (sources of specific information), each of which is referenced with a global identifier (e.g., an URI in HTTP). In order to manipulate these resources, components of the network (user agents and origin servers) communicate via a standardized interface (e.g., HTTP) and exchange representations of these resources (the actual documents conveying the information)." ([[Wikipedia>>http://en.wikipedia.org/wiki/Representational_State_Transfer#REST.27s_central_principle:_resources]])
34 34  
35 -Resources in XWiki are pages, attachments, objects, properties, spaces, and all the //things// we described in the previous section. XWiki has a default way of conveying the information about these resources, i.e., by providing well defined XML representations that contain all the information associated to the resource in an XML format. This format is described using an XML Schema Definition file that can be found here: [[http://svn.xwiki.org/svnroot/xwiki/platform/core/trunk/xwiki-rest/xwiki-rest-model/src/main/resources/xwiki.rest.model.xsd]]
35 +Resources in XWiki are pages, attachments, objects, properties, spaces, and all the //things// we described in the previous section. XWiki has a default way of conveying the information about these resources, i.e., by providing well defined XML representations that contain all the information associated to the resource in an XML format. This format is described using an XML Schema Definition file that can be found here: [[https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-rest/xwiki-platform-rest-model/src/main/resources/xwiki.rest.model.xsd]]
36 36  
37 37  Of course the same resource can be represented in many different ways. This is yet to be documented.
38 38  

Get Connected