For our Confluence server that the value of the 'SPACE KEY'?

Kuldip Nijjar August 7, 2020

I'm trying to create/update a confluence page via REST API { post | put }

Here is a bit of my python code:

Request body
data = {
'type': 'page',
'title': page_title,
'ancestors': [ {'id': parent_page_id} ],
'space': {'key': space_key}

1 answer

0 votes
Manisha Kharga _Appfire_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 8, 2020

Hi @Kuldip Nijjar 

To get the values of the specific Confluence page. 

Please go to the Space settings and click on Overview. Here you will see the Key detail.

Refer to the below screenshot.

space.jpg

Thanks,
Manisha

Kuldip Nijjar August 9, 2020

Do I have to be 'admin' user to get this 'space key' value or can just login as myself and find the value?

Manisha Kharga _Appfire_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 9, 2020

Hi @Kuldip Nijjar 

You should have the Space Admin permission to see the space_key value.

Thanks,
Manisha

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events