Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Next »

Simple app to manage or centralize the space related common metadata, properties, variables, strings, tokens in fields for reuse, tracking and automation. These fields can be accessed or shared among many confluence pages via macro "Space fields".

Features:

  • 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

https://youtu.be/jJFWwG4KF_k

Confluence Cloud Space Properties REST API documentation.

DEMO - GET PROPERTY ID

curl --request GET \
  --url 'https://{your-domain}/wiki/api/v2/spaces/{space-id}/properties?key=spacefield-{Property Name}' \
  --user 'email@example.com:<api_token>' \
  --header 'Accept: application/json'

DEMO - ADD OR UPDATE

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": "--testing--",
  "version": {
    "number": 10
  }
}'

Make sure to increase version number.

  • No labels