...
Confluence Cloud Space Properties REST API documentation
https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-space-properties/#api-spaces-space-id-properties-get
Status |
---|
colour | Blue |
---|
title | Demo - Get Space ID |
---|
|
Code Block |
---|
curl --request GET \
--url 'https://{your-domain}/wiki/api/v2/spaces?key={space-key}' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json' |
Status |
---|
colour | Blue |
---|
title | Demo - Get Property ID |
---|
|
...
...
Status |
---|
colour | Blue |
---|
title | Demo - Add or Update |
---|
|
Code Block |
---|
curl --request PUT \
--url 'https://{your-domain}/wiki/api/v2/spaces/{space-id}/properties/{property-id}' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"key": "ilaesolution-space-properties",
"value": {"key1":"value1", "key2":"value2", "key3":"value3"},
"version": {
"number": 10
}
}' |
Please refer Space Fields Page to get Space ID and Property ID.