GET /api/v1/vaults/<vault_id>/mapping_templates
Returns summary information on all available templates in the Vault specified.
GET /api/v1/vaults/<vault_id>/mapping_templates
[
{
"id": 22704,
"name": "Protac Registration",
"created_at": "2021-12-23T17:59:22.000-06:00",
"modified_at": "2021-12-23T17:59:22.000-06:00",
"owner": "Charlie Weatherall"
}
]
GET /api/v1/vaults/<vault_id>/mapping_templates/22704
Using the same API endpoint and specifying a specific mapping template id will retrieve details on the data objects mapped within a specific mapping template.
The JSON returned contains:
-
- A "header_mappings" section that identifies the field/readout each header is mapped to
- A “file” section that provides details on the original file used to create the template
{
"id": 22704,
"name": "Protac Registration",
"created_at": "2021-12-23T17:59:22.000-06:00",
"modified_at": "2021-12-23T17:59:22.000-06:00",
"owner": "Charlie Weatherall",
"header_mappings": [
{
"header": {
"id": 13606653,"name": "SMILES"},
"definition": {
"id": 2,
"type": "InternalFieldDefinition::MoleculeStructure",
"name": "Structure"
}
},
{
"header": {
"id": 13606654,"name": "Synonym"},
"definition": {
"id": 3,
"type": "InternalFieldDefinition::MoleculeSynonym",
"name": "Molecule Name or Synonym"
}
},
{
"header": {
"id": 13606655,"name": "Common Name"},
"definition": {
"id": 75648,
"type": "MoleculeFieldDefinition",
"name": "Name",
"data_type_name": "Text"
}
},
{
"header": {
"id": 13606656,"name": "External ID"},
"definition": {
"id": 75657,
"type": "BatchFieldDefinition",
"name": "E3 Ligand",
"data_type_name": "BatchLink"
}
},
{
"header": {
"id": 13606657,"name": "Linker"},
"definition": {
"id": 75656,
"type": "BatchFieldDefinition",
"name": "Linker",
"data_type_name": "BatchLink"
}
},
{
"header": {
"id": 13606658,"name": "Initial Amount"},
"definition": {
"id": 75644,
"type": "BatchFieldDefinition",
"name": "Initial Amount",
"data_type_name": "Number"
}
},
{
"header": {
"id": 13606659,"name": "Plate Name"},
"definition": {
"id": 148,
"type": "InternalFieldDefinition::PlateName",
"name": "Plate Name"
}
},
{
"header": {
"id": 13606660,"name": "Well Location"},
"definition": {
"id": 147,
"type": "InternalFieldDefinition::WellLocation",
"name": "Well Location"
}
},
{
"header": {
"id": 13606661,"name": "Concentration"},
"definition": {
"id": 731567,
"name": "Conc",
"data_type_name": "Number",
"protocol_name": "Degradation Assay",
"type": "ReadoutDefinition"
},
"run_grouping": 641224
},
{
"header": {
"id": 13606662,"name": "Degradation"},
"definition": {
"id": 731568,
"name": "Degradation",
"data_type_name": "Number",
"protocol_name": "Degradation Assay",
"type": "ReadoutDefinition"
},
"run_grouping": 641224
},
{
"header": {
"id": 13606663,"name": "Time"},
"definition": {
"id": 749638,
"name": "Time Point",
"data_type_name": "PickList",
"protocol_name": "Degradation Assay",
"pick_list_values": [
"12hr",
"24hr"
],
"type": "ReadoutDefinition"
},
"run_grouping": 641224
},
{
"header": {
"id": 13606664,"name": "Target"},
"definition": {
"id": 749962,
"name": "Target",
"data_type_name": "PickList",
"protocol_name": "Degradation Assay",
"pick_list_values": [
"AR",
"BCL6",
"BCR-ABL",
"BRD4"
],
"type": "ReadoutDefinition"
},
"run_grouping": 641224
},
{
"header": {
"id": 13606665,"name": "Cell"},
"definition": {
"id": 749601,
"name": "Cell Type",
"data_type_name": "BatchLink",
"protocol_name": "Degradation Assay",
"type": "ReadoutDefinition"
},
"run_grouping": 641224
}
],
"file": {
"file_name": "MappingTemplate_Protac.csv",
"value": 11010509
}
}