Skip to main content

get_hub_project_export

Function get_hub_project_export 

Source
pub async fn get_hub_project_export(
    configuration: &Configuration,
    workspace: &str,
    slug: &str,
    folder: Option<&str>,
) -> Result<String, Error<GetHubProjectExportError>>
Expand description

Requires the caller to be a workspace admin. Forwards the request to the configured Hub and returns the Hub’s status code and raw response body. The folder scope is only needed to re-export the caller’s own draft; approved projects are public, so it is optional here.