More spaces api stuff