5.6 Generate an ID to represent the capture kit information (WES sample only)

Lastly, the VCPA API will generate an ID to represent the capture kit / target region information (similar to the project id). Users can type in

 curl -sS "http://IP/v1/sample/set-attr/targets_id/${project_id}/${sample_name}/${target_id}"

GET http://IP/v1/sample/set-attr/targets_id/${project_id}/${sample_name}/${target_id}

Set the target file id to sample.

Path Parameters

NameTypeDescription

project_id

string

This is the project ID outputted by Section 3.2.

sample_name

string

Sample name (note this needs to match the sample name of the input file in the S3 bucket).

target_id

string

ID generated to represent the target region file.

{
    "status":"success",
    "id":"23"
}

Last updated