Create space API

edit

Refer to spaces APIs.