List all projects in a workspace.
(
&self,
workspace_slug: &str,
)
| 287 | |
| 288 | /// List all projects in a workspace. |
| 289 | pub async fn list_projects( |
| 290 | &self, |
| 291 | workspace_slug: &str, |
| 292 | ) -> Result<Vec<ProjectInfo>, RemoteError> { |
| 293 | self.get(&format!("/workspaces/{}/projects", workspace_slug)) |
| 294 | .await |
| 295 | } |
| 296 | |
| 297 | /// Create a new project in a workspace. |
| 298 | pub async fn create_project( |