Changes for page REST API
Last modified by Ludovic Dubost on 2021/06/24
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. OanaTabaranu1 +XWiki.SilviaRusu - Content
-
... ... @@ -6,7 +6,7 @@ 6 6 7 7 This section contains a brief and high-level description of the XWiki data set that should serve as a basis for presenting resources and their associated operations. 8 8 9 -XWiki has **pages** organized in **spaces**. Each **page** is available in multiple **versions** (its **history**) and **translations**. Translated pages have their own **versions** and **history** which are independent. Each page might have **attachments**. Each attachment has its own **history**. Attachments are shared among all the different translations of a page (i.e., the same set of attachment is the same regardless of the page language). Pages can have one or more **objects**. Objects are instances of a **class** that contains a set of **properties**. Some object might be directly exposed as first class entities, such as **comments** and **tags**. Objects, as attachments, are shared among all page translations. 9 +XWiki has **pages** organized in **spaces**. Each **page** is available in multiple **versions** (its **history**) and **translations**. Translated pages have their own **versions** and **history** which are independent. Each page might have **attachments**. Each attachment has its own **history**. Attachments are shared among all the different translations of a page (i.e., the same set of attachments is the same regardless of the page language). Pages can have one or more **objects**. Objects are instances of a **class** that contains a set of **properties**. Some object might be directly exposed as first class entities, such as **comments** and **tags**. Objects, as attachments, are shared among all page translations. 10 10 11 11 == Understanding resources and representations == 12 12 ... ... @@ -219,7 +219,7 @@ 219 219 220 220 === Space resources === 221 221 222 -==== /wikis/{wikiName}/spaces[ [?start=offset&number=n]]====222 +==== /wikis/{wikiName}/spaces[?start~=offset&number~=n] ==== 223 223 224 224 * **HTTP Method:** GET 225 225 ** **Media types:** ... ... @@ -240,7 +240,7 @@ 240 240 241 241 === Page resources === 242 242 243 -==== /wikis/{wikiName}/spaces/{spaceName}/pages[ [?start=offset&number=n]]====243 +==== /wikis/{wikiName}/spaces/{spaceName}/pages[?start~=offset&number~=n] ==== 244 244 245 245 * **HTTP Method:** GET 246 246 ** **Media types:** ... ... @@ -286,7 +286,7 @@ 286 286 *** 204: If the request was successful. 287 287 *** 401: If the user is not authorized. 288 288 289 -==== /wikis/{wikiName}/spaces/{spaceName}/pages/{pageName}/history[ [?start=offset&number=n]]====289 +==== /wikis/{wikiName}/spaces/{spaceName}/pages/{pageName}/history[?start~=offset&number~=n] ==== 290 290 291 291 * **HTTP Method:** GET 292 292 ** **Media types:** ... ... @@ -306,7 +306,7 @@ 306 306 *** 200: If the request was successful. 307 307 *** 401: If the user is not authorized. 308 308 309 -==== /wikis/{wikiName}/spaces/{spaceName}/pages/{pageName}/translations[ [?start=offset&number=n]]====309 +==== /wikis/{wikiName}/spaces/{spaceName}/pages/{pageName}/translations[?start~=offset&number~=n] ==== 310 310 311 311 * **HTTP Method:** GET 312 312 ** **Media types:** ... ... @@ -418,7 +418,7 @@ 418 418 *** 200: If the request was successful. 419 419 *** 401: If the user is not authorized. 420 420 421 -==== /wikis/{wikiName}/tags/{tag1}[ [,{tag2},{tag3}...]][[?start=offset&number=n]]====421 +==== /wikis/{wikiName}/tags/{tag1}[,{tag2},{tag3}...][?start~=offset&number~=n] ==== 422 422 423 423 * **HTTP Method:** GET 424 424 ** **Media types:** ... ... @@ -430,7 +430,7 @@ 430 430 431 431 === Comments resources === 432 432 433 -==== /wikis/{wikiName}/spaces/{spaceName}/pages/{pageName}/comments[ [?start=offset&number=n]]====433 +==== /wikis/{wikiName}/spaces/{spaceName}/pages/{pageName}/comments[?start~=offset&number~=n] ==== 434 434 435 435 * **HTTP Method:** GET 436 436 ** **Media types:** ... ... @@ -486,7 +486,7 @@ 486 486 487 487 === Attachments resources === 488 488 489 -==== /wikis/{wikiName}/spaces/{spaceName}/pages/{pageName}/attachments[ [?start=offset&number=n]]====489 +==== /wikis/{wikiName}/spaces/{spaceName}/pages/{pageName}/attachments[?start~=offset&number~=n] ==== 490 490 491 491 * **HTTP Method:** GET 492 492 ** **Media types:** ... ... @@ -528,7 +528,7 @@ 528 528 *** 204: If the attachment was deleted. 529 529 *** 401: If the user is not authorized. 530 530 531 -==== /wikis/{wikiName}/spaces/{spaceName}/pages/{pageName}/history/{version}/attachments[ [?start=offset&number=n]]====531 +==== /wikis/{wikiName}/spaces/{spaceName}/pages/{pageName}/history/{version}/attachments[?start~=offset&number~=n] ==== 532 532 533 533 * **HTTP Method:** GET 534 534 ** **Media types:** ... ... @@ -570,7 +570,7 @@ 570 570 571 571 === Object resources === 572 572 573 -==== /wikis/{wikiName}/spaces/{spaceName}/pages/{pageName}/objects[ [?start=offset&number=n]]====573 +==== /wikis/{wikiName}/spaces/{spaceName}/pages/{pageName}/objects[?start~=offset&number~=n] ==== 574 574 575 575 * **HTTP Method:** GET 576 576 ** **Media types:** ... ... @@ -593,7 +593,7 @@ 593 593 *** 201: If the object was created (The Location header will contain the URI associated to the newly created object). 594 594 *** 401: If the user is not authorized. 595 595 596 -==== /wikis/{wikiName}/spaces/{spaceName}/pages/{pageName}/objects/{className}[ [?start=offset&number=n]]====596 +==== /wikis/{wikiName}/spaces/{spaceName}/pages/{pageName}/objects/{className}[?start~=offset&number~=n] ==== 597 597 598 598 * **HTTP Method:** GET 599 599 ** **Media types:** ... ... @@ -669,7 +669,7 @@ 669 669 *** 202: If the object was updated. 670 670 *** 401: If the user is not authorized. 671 671 672 -==== /wikis/{wikiName}/spaces/{spaceName}/pages/{pageName}/history/{version}/objects[ [?start=offset&number=n]]====672 +==== /wikis/{wikiName}/spaces/{spaceName}/pages/{pageName}/history/{version}/objects[?start~=offset&number~=n] ==== 673 673 674 674 * **HTTP Method:** GET 675 675 ** **Media types:** ... ... @@ -721,7 +721,7 @@ 721 721 722 722 === Class resources === 723 723 724 -==== /wikis/{wikiName}/classes[ [?start=offset&number=n]]====724 +==== /wikis/{wikiName}/classes[?start~=offset&number~=n] ==== 725 725 726 726 * **HTTP Method:** GET 727 727 ** **Media types:** ... ... @@ -763,7 +763,7 @@ 763 763 764 764 === Other resources === 765 765 766 -==== /wikis/{wikiName}/modifications[ [?start=offset&number=n×tamp=t]]====766 +==== /wikis/{wikiName}/modifications[?start~=offset&number~=n×tamp~=t] ==== 767 767 768 768 * **HTTP Method:** GET 769 769 ** **Media types:**