Confluence Docs 3.3 : Prototype REST API
This page last changed on Mar 07, 2010 by smaddox.
This page documents the Prototype REST API supported for Confluence 3.1. SpaceGetting a List of SpacesResource: /space
Result: <spaceEntityList expand="space"> <space name="FOO" key="FOO"> <link rel="self" href="http://localhost:8080/confluence/rest/prototype/1/space/FOO"/> <rootpages size="1"/> </space> <space name="Test Space" key="TST"> <link rel="self" href="http://localhost:8080/confluence/rest/prototype/1/space/TST"/> <rootpages size="2"/> </space> </spaceEntityList> Looking up Details of a spaceResource: /space/{key}
Result: <space name="Demonstration Space" key="ds" expand="rootpages"> <link rel="self" href="http://localhost:8080/rest/prototype/1/space/ds"/> <rootpages size="2"/> <home> <id>32799</id> <link rel="self" href="http://localhost:8080/rest/prototype/1/content/32799"/> <type>page</type> <title>Home</title> <url>/display/ds/Home</url> <children size="6"/> </home> </space> ContentGetting ContentResource: /content/{id}
Result: <content type="page" id="1180211" expand="children"> <link rel="self" href="http://localhost:8080/confluence/rest/prototype/1/content/1180211"/> <title>Home</title> <url>/display/FOO/Home</url> <spaceKey>FOO</spaceKey> <children size="1"/> <body>This is the home of the FOO space.</body> </content> |
![]() |
Document generated by Confluence on Jul 09, 2010 01:11 |