Create a new project in a workspace.
(
&self,
workspace_slug: &str,
req: &CreateProjectRequest,
)
| 323 | |
| 324 | /// Create a new project in a workspace. |
| 325 | pub async fn create_project( |
| 326 | &self, |
| 327 | workspace_slug: &str, |
| 328 | req: &CreateProjectRequest, |
| 329 | ) -> Result<ProjectInfo, RemoteError> { |
| 330 | self.post(&format!("/workspaces/{}/projects", workspace_slug), req) |
| 331 | .await |
| 332 | } |
| 333 | |
| 334 | /// Get a single project by slug. |
| 335 | pub async fn get_project( |