API

Massless Space is a gRPC web service.

This API reference is for developers who want to integrate Massless Space or contribute to our open source plugins.

Service

service SpaceService {
rpc ListProjects(ListProjectsRequest) returns (ListProjectResponse) {}
rpc GetProject(GetProjectRequest) returns (GetProjectResponse) {}
rpc CreateProject(CreateProjectRequest) returns (ProjectReference) {}
rpc SetProjectProperties(SetProjectPropertiesRequest) returns (ProjectInfo) {}
rpc RemoveProject(RemoveProjectRequest) returns (RemoveProjectResponse) {}
}

CreateProject

Creates a new Project in the Studio

rpc CreateProject(CreateProjectRequest) returns (ProjectReference) {}
message CreateProjectRequest {
StudioReference Studio = 1;
ProjectProperties Properties = 2;
}
message StudioReference {
string StudioID = 1;
}
message ProjectProperties {
string Name = 1;
string Description = 2;
}
var projectRef = await spaceClient.createProjectAsync(
new SpaceService.CreateProjectRequest {
Studio = new SpaceService.StudioReference {
StudioID = "the-studio-id"
},
Properties = new SpaceService.ProjectProperties {
Name = "Project name",
Description = "About the project"
}
});