Interface LineageOptions

Several Experiment API endpoints expose optional settings for the ExperimentJSONConverter.

interface LineageOptions {
    children?: boolean;
    containerPath?: string;
    cpasType?: string;
    depth?: number;
    expType?: string;
    failure?: RequestFailure<any>;
    includeInputsAndOutputs?: boolean;
    includeProperties?: boolean;
    includeRunSteps?: boolean;
    lsid: string;
    lsids?: string[];
    parents?: boolean;
    runProtocolLsid?: string;
    scope?: any;
    success?: RequestSuccess<LineageResponse>;
}

Hierarchy (view full)

Properties

children?: boolean

Include children in the lineage response. Defaults to true.

containerPath?: string

The path to the container in which the LSIDs are defined. If not supplied, the current container's path will be used. All requested LSID's must be defined in the same container. If they are not, then you should consider making separate requests per container.

cpasType?: string

Optional LSID of a SampleSet or DataClass to filter the response. Defaults to include all.

depth?: number

An optional depth argument. Defaults to include all.

expType?: string

Optional experiment type to filter response -- either "Data", "Material", or "ExperimentRun". Defaults to include all.

failure?: RequestFailure<any>

This will be called upon failure to complete a request.

includeInputsAndOutputs?: boolean

Include run and step inputs and outputs.

includeProperties?: boolean

Include properties set on the experiment objects.

includeRunSteps?: boolean

Include run steps.

lsid: string

The LSID for the seed ExpData, ExpMaterials, or ExpRun.

since 19.3. Use "lsids" instead.

lsids?: string[]

Array of LSIDs for the seed ExpData, ExpMaterials, or ExpRun.

parents?: boolean

Include parents in the lineage response. Defaults to true.

runProtocolLsid?: string

Optional Exp Run Protocol Lsid to filter response. Defaults to include all.

scope?: any

A scoping object for the success and failure callback functions (default to this).

This will be called upon successfully completing a request.