Get a single project by slug.
(
&self,
workspace_slug: &str,
project_slug: &str,
)
| 306 | |
| 307 | /// Get a single project by slug. |
| 308 | pub async fn get_project( |
| 309 | &self, |
| 310 | workspace_slug: &str, |
| 311 | project_slug: &str, |
| 312 | ) -> Result<ProjectInfo, RemoteError> { |
| 313 | self.get(&format!( |
| 314 | "/workspaces/{}/projects/{}", |
| 315 | workspace_slug, project_slug |
| 316 | )) |
| 317 | .await |
| 318 | } |
| 319 | |
| 320 | /// Update an existing project. |
| 321 | pub async fn update_project( |