List all projects in a workspace.
(
&self,
workspace_slug: &str,
)
| 314 | |
| 315 | /// List all projects in a workspace. |
| 316 | pub async fn list_projects( |
| 317 | &self, |
| 318 | workspace_slug: &str, |
| 319 | ) -> Result<Vec<ProjectInfo>, RemoteError> { |
| 320 | self.get(&format!("/workspaces/{}/projects", workspace_slug)) |
| 321 | .await |
| 322 | } |
| 323 | |
| 324 | /// Create a new project in a workspace. |
| 325 | pub async fn create_project( |