Changes for page REST API
Last modified by Ludovic Dubost on 2021/06/24
Change comment:
Added 2 undocumented attachments resources implemented by http://jira.xwiki.org/jira/browse/XWIKI-3483
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -598,6 +598,26 @@ 598 598 *** 200: If the request was successful. 599 599 *** 401: If the user is not authorized. 600 600 601 +=== /wikis/{wikiName}/spaces/{spaceName}/attachments[?name~=attachmentName&page~=pageName&author~=authorName&types~=attachmentTypeList&start~=offset&number~=n] === 602 + 603 +* **HTTP Method:** GET 604 +** **Media types:** 605 +*** application/xml (Attachments element) 606 +** **Description:** The list of attachments of pages located in a given {spaceName}. Filters can be set for the name, page, author or types (comma separated list of strings) to include only attachments that match the given filters. This resource can be used to search for attachments in a space. 607 +** **Status codes:** 608 +*** 200: If the request was successful. 609 +*** 401: If the user is not authorized. 610 + 611 +== /wikis/{wikiName}/attachments[?name~=attachmentName&page~=pageName&space~=spaceName&author~=authorName&types~=attachmentTypeList&start~=offset&number~=n] == 612 + 613 +* **HTTP Method:** GET 614 +** **Media types:** 615 +*** application/xml (Attachments element) 616 +** **Description:** The list of attachments in a given {wikiName}. Filters can be set for the name, page, space, author or type (comma separated list of strings) to include only attachments that match the given filters. This resource can be used to search for attachments in a wiki. 617 +** **Status codes:** 618 +*** 200: If the request was successful. 619 +*** 401: If the user is not authorized. 620 + 601 601 == Object resources == 602 602 603 603 === /wikis/{wikiName}/spaces/{spaceName}/pages/{pageName}/objects[?start~=offset&number~=n] ===