• Icon: Suggestion Suggestion
    • Resolution: Fixed
    • 2.1
    • REST
    • None
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      Crowd needs a REST endpoint that client applications can use. Currently client applications can only use the SOAP endpoint to communicate with Crowd.

      Here are some examples of using the new REST API.

      To search for a particular user, perform a GET request at:

      http://YOUR-CROWD-SERVER:8095/rest/usermanagement/1/user?username=<username>

      To get all attributes of a particular user, perform a GET request at:

      http://YOUR-CROWD-SERVER:8095/rest/usermanagement/1/user/attribute?username=<username>

      To add a user, perform a POST request to:

      http://YOUR-CROWD-SERVER:8095/rest/usermanagement/1/user

      To search for a particular group, perform a GET request at:

      http://YOUR-CROWD-SERVER:8095/rest/usermanagement/1/group?groupname=<groupname>

            [CWD-1912] REST API for client applications

            Katherine Yabut made changes -
            Workflow Original: JAC Suggestion Workflow [ 3363093 ] New: JAC Suggestion Workflow 3 [ 3626470 ]
            Status Original: RESOLVED [ 5 ] New: Closed [ 6 ]
            Monique Khairuliana (Inactive) made changes -
            Workflow Original: Simplified Crowd Development Workflow v2 [ 1392464 ] New: JAC Suggestion Workflow [ 3363093 ]
            Assignee Original: James Wong [ 4c7409f97ecf ]
            Issue Type Original: New Feature [ 2 ] New: Suggestion [ 10000 ]
            Owen made changes -
            Workflow Original: Crowd Development Workflow v2 [ 272040 ] New: Simplified Crowd Development Workflow v2 [ 1392464 ]

            Are there any plans to undeprecate some of the admin resources? Specifically the 'directory' sections as those are not present in the current crowd API.

            Deleted Account (Inactive) added a comment - Are there any plans to undeprecate some of the admin resources? Specifically the 'directory' sections as those are not present in the current crowd API.

            joe added a comment -

            Only the 'admin' resources are deprecated. 'usermanagement' is fully supported and documented here: Crowd REST APIs.

            joe added a comment - Only the 'admin' resources are deprecated. 'usermanagement' is fully supported and documented here: Crowd REST APIs .

            As this seems to be Resolved, can someone please add a link to a documentation page, one that is not deprecated?

            Sorin Sbarnea added a comment - As this seems to be Resolved, can someone please add a link to a documentation page, one that is not deprecated?

            Bob, I believe that if you have an application which has two different directories and you add a group, both directories will get the group. Also, I think the same holds true for the user. I don't know if it's possible to specify a particular group get created under a specific directory if more than one directory is assigned to the application.

            I agree with you though, that would be excellent functionality to have in a future API release.

            Brian Nicely added a comment - Bob, I believe that if you have an application which has two different directories and you add a group, both directories will get the group. Also, I think the same holds true for the user. I don't know if it's possible to specify a particular group get created under a specific directory if more than one directory is assigned to the application. I agree with you though, that would be excellent functionality to have in a future API release.

            Bob Swift added a comment -

            The new APIs are really different than the 2.0 deprecated APIs. The 2.0 apis centered around directories and I can't even find a reference to directory in the new APIs. What gives here? So, how about getting directories, adding/updating users/groups in a directory? If I add a new user/group, what directory does it go in? How do you add a user to a specific group in a specific directory?

            Bob Swift added a comment - The new APIs are really different than the 2.0 deprecated APIs . The 2.0 apis centered around directories and I can't even find a reference to directory in the new APIs. What gives here? So, how about getting directories, adding/updating users/groups in a directory? If I add a new user/group, what directory does it go in? How do you add a user to a specific group in a specific directory?
            jawong.adm made changes -
            Workflow Original: Feature Request Workflow [ 210743 ] New: Crowd Development Workflow v2 [ 272040 ]
            James Wong made changes -
            Link New: This issue is duplicated by CWD-1751 [ CWD-1751 ]

              Unassigned Unassigned
              justin@atlassian.com Justin Koke
              Votes:
              2 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated:
                Resolved: