This change revisits the commented out function getSpaces() currently on main, making the default method for importing spaces an API call to confluence, and retaining the spaces key as option for backward compatibility.
The new behaviour will be as follow:
If the YAML key spaces is present and it's length is > 0 then the collator will fetch the listed spaces.
If the key is missing, the list of spaces will be generated via an API call to the /rest/api/space?&limit=1000&type=global&status=current endpoint.
This change revisits the commented out function
getSpaces()
currently on main, making the default method for importing spaces an API call to confluence, and retaining the spaces key as option for backward compatibility.The new behaviour will be as follow:
If the YAML key
spaces
is present and it's length is > 0 then the collator will fetch the listed spaces. If the key is missing, the list of spaces will be generated via an API call to the/rest/api/space?&limit=1000&type=global&status=current
endpoint.