getAllSpaces
Description
Returns a string array with the keys of all spaces in Confluence.
Parameters
Return Type
string []
Returns a list of keys for all spaces in Confluence.
Example
string [] spaces = getAllSpaces();
print(spaces);
Results: prints a list with all the space keys in Confluence. If we have 2 spaces PRJ and TST, the logs will show PRJ|TST
See also
Peacock