atlassian-python-api icon indicating copy to clipboard operation
atlassian-python-api copied to clipboard

confluence.get_space_permissions(space_key) gives 404

Open tallandtree opened this issue 4 months ago • 1 comments

Dear maintainers,

The python function confluence.get_space_permissions(space_key) seems broken. We get a 404 HTTPError:

raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://mysite.atlassian.net/wiki/rpc/json-rpc/confluenceservice-v2

If we do the same via REST API call, the call works correctly. Could it be that the JSON-RPC calls no longer work, as Atlassian says it is deprecated: https://developer.atlassian.com/server/confluence/confluence-json-rpc-apis/:

The JSON-RPC API is deprecated since Confluence 5.5. Confluence has a new REST API that is progressively replacing our existing APIs. We recommend plugin developers use the new REST APIs where possible.

Kind regards, M. Tallandtree.

tallandtree avatar Apr 17 '24 12:04 tallandtree