Skip to main content

publish_hub_draft

Function publish_hub_draft 

Source
pub async fn publish_hub_draft(
    configuration: &Configuration,
    workspace: &str,
    folder: &str,
    publish_draft_body: PublishDraftBody,
) -> Result<String, Error<PublishHubDraftError>>
Expand description

Requires the caller to be a workspace admin. Forwards the request to the configured Hub scoped to the {workspace}:{folder} source and returns the Hub’s status code and raw response body.