Hi,
Confluence allows user groups with names like
SW_Integrator/Tester
The URL to get the members would be something like
https://<confluence-server>/rest/api/group/SW_Integrator/Tester/member
which will fail because of the slash in the group name.
How can I retrieve the content by using the atlassian_python_api?
Have you tried doing a special character replace?
Normally "/" should translate to %2F
So making your url:
https://<confluence-server>/rest/api/group/SW_Integrator%2FTester/member
I tried it, but ended up in:
Type Status Report
Message Invalid URI: [The encoded slash character is not allowed]
Description The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I found some documentation related to Bamboo but I think it's fair to assume the same would be valid for Confluence since they use the same Tomcat
There is an option to add an argument but that's not adviced due to security.
Seems the advice is "don't use group names with a /"
You can always try and raise a support call with Atlassian to see if they have any other advice but i wouldn't hold my breath.
https://support.atlassian.com/contact
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Danke @Dirk Ronsmans für die guten Argumente. Jetzt versuche ich damit meiner IT zu zeigen, dass wir besser solche Namen verbieten. Wenn die Alternative ein Securityrisiko ist, sollte klappen ;-)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks to your support @Dirk Ronsmans I was able to convince my IT to forbidd member group names with slashes inside. So I could keep my scripts as they are. :-)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.