...
Space fields can be updated and fetched via REST API
Helps to avoid creating page versions from automated api updates.
Provides macros i.e.
Space fields
Confluence Cloud Space Properties REST API documentation
Status | ||||
---|---|---|---|---|
|
Code Block |
---|
curl --request GET \
--url 'https://{your-domain}/wiki/api/v2/spaces/SPACEKEY/properties?key=ilaesolution-space-properties' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json' |
Status | ||||
---|---|---|---|---|
|
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": {"key1":"value1", "key2":"value2", "key3":"value3"},
"version": {
"number": 84
}
}' |