Issue Details (XML | Word | Printable)

Key: XWIKI-1559
Type: Improvement Improvement
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Catalin Hritcu
Votes: 1
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
XWiki Core

Support version 2.0 of the Confluence Remote API Specification

Created: 04/Aug/07 20:07   Updated: 18/Aug/09 07:18
Component/s: Web Services
Affects Version/s: 1.1 M3
Fix Version/s: None

File Attachments: 1. Text File patch_XWIKI-1559-20090818.patch (28 kB)

Issue Links:
Dependency

keywords: xmlrpc confluence patch
Date of First Response: 07/Aug/07 08:37
Development Priority: Low


 Description  « Hide
Methods that are missing (a lot of them, a lot more than the ones already implemented!):
  • Administration
    • exportSite
    • getClusterInformation (from version 2.3)
    • getClusterNodeStatuses (from version 2.3)
  • General
    • getServerInfo (throws "Not implemented" exception)
  • Spaces
    • exportSpace
    • addPersonalSpace (from version 2.2)
    • convertToPersonalSpace (from version 2.2)
  • Pages
    • getPage(String token, String spaceKey, String pageTitle)
    • getPagePermissions
    • getAncestors
    • getChildren
    • getDescendents
    • renderContent with an optional hash (map, dictionary, etc) containing additional instructions for the renderer (e.g. "style = clean" )
  • Blog Entries (everything missing)
    • getBlogEntries
    • getBlogEntry
    • storeBlogEntry
    • getBlogEntryByDayAndTitle
  • Search
    • search with an additional parameter map
  • Security (everything missing)
    • getPermissions
    • getPermissionsForUser (from version 2.1.4)
    • getPagePermissions
    • getSpaceLevelPermissions
    • addPermissionToSpace
    • addPermissionsToSpace
    • removePermissionFromSpace
    • addAnonymousPermissionToSpace
    • addAnonymousPermissionsToSpace
    • removeAnonymousPermissionFromSpace
    • removeAllPermissionsForGroup
  • User Management (everything missing)
    • getUser (throws "Not implemented" exception)
    • addUser (throws "Not implemented" exception)
    • addGroup (throws "Not implemented" exception)
    • getUserGroups (throws "Not implemented" exception)
    • addUserToGroup (throws "Not implemented" exception)
    • removeUserFromGroup
    • removeUser
    • removeGroup
    • getGroups
    • hasUser
    • hasGroup
    • editUser
    • deactivateUser
    • reactivateUser
    • getActiveUsers
    • setUserInformation
    • getUserInformation
    • changeMyPassword
    • changeUserPassword
    • addProfilePicture (from version 2.2)
  • Labels (everything missing)
    • getLabelsById
    • getMostPopularLabels
    • getMostPopularLabelsInSpace
    • getRecentlyUsedLabels
    • getRecentlyUsedLabelsInSpace
    • getSpacesWithLabel
    • getRelatedLabels
    • getRelatedLabelsInSpace
    • getLabelsByDetail
    • getLabelContentById
    • getLabelContentByName
    • getLabelContentByObject
    • getSpacesContainingContentWithLabel
    • addLabelByName
    • addLabelById
    • addLabelByObject
    • addLabelByNameToSpace
    • removeLabelByName
    • removeLabelById
    • removeLabelByObject
    • removeLabelByNameFromSpace

Reference: http://confluence.atlassian.com/display/DOC/Remote+API+Specification



 All   Comments   Change History   FishEye      Sort Order: Ascending order - Click to sort in descending order
Catalin Hritcu added a comment - 06/Aug/07 23:24
getComment, addComment and removeComment were added in revision 4110. The tests for them were added in revision 4111.

Vincent Massol added a comment - 07/Aug/07 08:37
Hi Catalin,

This issue is too big. Let me give you an example: you have committed yesterday the implementation for comments. We're going to release 1.1M4 real soon. What are we going to do for letting users know that XMLRPC comments have been added? We cannot close this issue because it's not finished and if we don't close an issue it won't be in the release notes of 1.1M4.

I think it's fine to have such an issue but you need to create discrete issues every time you implement some part of it.

Could you create one for comments and close it?

Thanks
-Vincent


Catalin Hritcu added a comment - 07/Aug/07 08:53
OK, comments got issue XWIKI-1564. Here a subtask would have been more appropriate, but until the XWiki JIRA is moved to JIRA 3.9 we should avoid subtasks (http://jira.atlassian.com/browse/JRA-5410).

Catalin Hritcu added a comment - 26/Aug/07 19:06
Attachments got XWIKI-1663.

Catalin Hritcu added a comment - 26/Aug/07 19:35
Removed all methods that are already done (helps focusing on the remaining work).

Catalin Hritcu added a comment - 29/Aug/07 13:07
There are lots to do here, but somebody else will need to do it.

Venkatesh Nandakumar added a comment - 11/Apr/09 17:15
This is the untested version for search using Map parameters. according to
http://confluence.atlassian.com/display/DOC/Remote+API+Specification#RemoteAPISpecification-Search

I first have to get xwiki to build and run (taking ages for maven import) to test this..


Venkatesh Nandakumar added a comment - 19/Apr/09 23:02 - edited
Patch added resolves issue of the Parameterized Search function.

Resolves XECLIPSE-106 bug.


Venkatesh Nandakumar added a comment - 30/Jun/09 13:30
According to:- http://markmail.org/message/nwzplwcqgff6lg7o

Implementation of:-
-copyAttachment() -copyPage() -movePage() -moveAttachment()

This patch Overrides the first two patches.


Venkatesh Nandakumar added a comment - 02/Aug/09 22:34
Added.

getNumberOfPages(String spaceKey)
getPages(spaceKey, start, limit)