SPOT-1508

Adding a basic api url for sharing a space, with tests.