SOC-2974 | update rest doc in the code for mySpaces