[][src]Function zap_api::context::import_context

pub fn import_context(
    service: &ZapService,
    contextfile: String
) -> Result<Value, ZapApiError>

Imports a context from a file. If a relative file path is specified it will be resolved against the "contexts" directory in ZAP "home" dir.