Create a new workspace.
(
&self,
req: &CreateWorkspaceRequest,
)
| 256 | |
| 257 | /// Create a new workspace. |
| 258 | pub async fn create_workspace( |
| 259 | &self, |
| 260 | req: &CreateWorkspaceRequest, |
| 261 | ) -> Result<WorkspaceInfo, RemoteError> { |
| 262 | self.post("/workspaces", req).await |
| 263 | } |
| 264 | |
| 265 | /// Get a single workspace by slug. |
| 266 | pub async fn get_workspace(&self, slug: &str) -> Result<WorkspaceInfo, RemoteError> { |