Details
-
Suggestion
-
Resolution: Unresolved
-
None
-
None
-
None
-
1
-
Description
Stash's REST endpoints tend to follow very RESTful structure, but the URLs for the CrowdAdminResource are widely varied on how they work. For example, creating a user or a group requires a POST request, as expected, but the payload is never examined; instead, all of the user or group's properties must be provided as query parameters. Removing a user from a group is also a POST request, rather than a DELETE request, and takes a JSON payload rather than query parameters.
If you are trying to automate user management in Stash using our REST services, you will run into a lot of pain with doing so. Some is documentation-related, but some is caused by the inconsistency of how the API is constructed.