List all projects in a workspace.
(
&self,
workspace_slug: &str,
)
| 346 | |
| 347 | /// List all projects in a workspace. |
| 348 | pub async fn list_projects( |
| 349 | &self, |
| 350 | workspace_slug: &str, |
| 351 | ) -> Result<Vec<ProjectInfo>, RemoteError> { |
| 352 | self.get(&format!("/workspaces/{}/projects", workspace_slug)) |
| 353 | .await |
| 354 | } |
| 355 | |
| 356 | /// Create a new project in a workspace. |
| 357 | pub async fn create_project( |