Changes for page REST API

Last modified by Thomas Mortagne on 2024/03/12

From version 28.5
edited by Vincent Massol
on 2011/05/30
Change comment: Another SVN link updated
To version 29.1
edited by Anca Luca
on 2011/07/15
Change comment: Fixed content-type for formurl encoded (missing dash)

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.VincentMassol
1 +XWiki.lucaa
Content
... ... @@ -582,7 +582,7 @@
582 582  
583 583  * **HTTP Method:** GET
584 584  ** **Media types:**
585 -*** application/xml (??? element)
585 +*** application/xml (Attachments element)
586 586  ** **Description:** The list of available version for the {attachmentName}
587 587  ** **Status codes:**
588 588  *** 200: If the request was successful.
... ... @@ -615,7 +615,7 @@
615 615  * **HTTP Method:** POST
616 616  ** **Accepted media types:**
617 617  *** application/xml (Object element)
618 -*** application/x-www-formurlencoded (a set of property#name=value pairs representing properties and a field className)
618 +*** application/x-www-form-urlencoded (a set of property#name=value pairs representing properties and a field className)
619 619  ** **Media types:**
620 620  *** application/xml (Object element)
621 621  ** **Description:** Create a new object.
... ... @@ -648,7 +648,7 @@
648 648  * **HTTP Method:** PUT
649 649  ** **Accepted media types:**
650 650  *** application/xml (Object element)
651 -*** application/x-www-formurlencoded (a set of property#name=value pairs representing properties)
651 +*** application/x-www-form-urlencoded (a set of property#name=value pairs representing properties)
652 652  ** **Media types:**
653 653  *** application/xml (Object element)
654 654  ** **Description:** Modify the object properties.
... ... @@ -691,7 +691,7 @@
691 691  ** **Accepted media types:**
692 692  *** application/xml (Property element)
693 693  *** text/plain
694 -*** application/x-www-formurlencoded (a field property#name=value pairs representing a property)
694 +*** application/x-www-form-urlencoded (a field property#name=value pairs representing a property)
695 695  ** **Media types:**
696 696  *** application/xml (Property element)
697 697  ** **Description:** Modify the object properties.
... ... @@ -831,3 +831,4 @@
831 831  The name of the component has to be the class FQN.
832 832  
833 833  You can find more examples on [[https://github.com/xwiki/xwiki-platform/tree/master/xwiki-platform-core/xwiki-platform-rest/xwiki-platform-rest-server/src/main/java/org/xwiki/rest/resources]].
834 +

Get Connected