url = "https://your-domain.atlassian.net/wiki/rest/api/space"
this is for getting the spaces in rest api
this is the url I am using url = f'https://api.atlassian.com/ex/confluence/cloudid /rest/api/space' and it is working
url = "https://{your-domain}/wiki/api/v2/spaces"
if I use this url url = "https://api.atlassian.com/ex/confluence/cloudid/wiki/api/v2/spaces"
this is for getting the spaces in rest api v2 , it is not working , what I am missing in rest api v2 ?
`api.atlassian.com` is for OAuth access, `XXXX.atlassian.net` is for Basic Auth access.
That means you need to use the correct url depending on your authentication method.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.