Skip to content

Commit

Permalink
renaming endpoints for beaconMap
Browse files Browse the repository at this point in the history
  • Loading branch information
costero-e committed Jul 10, 2024
1 parent 4db7f83 commit 9f9c96a
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 62 deletions.
62 changes: 31 additions & 31 deletions models/json/beacon-v2-default-model/beaconMap.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"endpointSets": {
"analysis": {
"analysisEndpoints": {
"endpoints": {
"genomicVariant": {
"genomicVariantLookup": {
"returnedEntryType": "genomicVariant",
"url": "https://exampleBeacons.org/analyses/{id}/g_variants"
}
Expand All @@ -13,17 +13,17 @@
"rootUrl": "https://exampleBeacons.org/analyses",
"singleEntryUrl": "https://exampleBeacons.org/analyses/{id}"
},
"biosample": {
"biosampleEndpoints": {
"endpoints": {
"analysis": {
"analysisLookup": {
"returnedEntryType": "analysis",
"url": "https://exampleBeacons.org/biosamples/{id}/analyses"
},
"genomicVariant": {
"genomicVariantLookup": {
"returnedEntryType": "genomicVariant",
"url": "https://exampleBeacons.org/biosamples/{id}/g_variants"
},
"run": {
"runLookup": {
"returnedEntryType": "run",
"url": "https://exampleBeacons.org/biosamples/{id}/runs"
}
Expand All @@ -33,25 +33,25 @@
"rootUrl": "https://exampleBeacons.org/biosamples",
"singleEntryUrl": "https://exampleBeacons.org/biosamples/{id}"
},
"cohort": {
"cohortEndpoints": {
"endpoints": {
"analyses": {
"analysisLookup": {
"returnedEntryType": "analysis",
"url": "https://exampleBeacons.org/cohorts/{id}/analyses"
},
"biosample": {
"biosampleLookup": {
"returnedEntryType": "biosample",
"url": "https://exampleBeacons.org/cohorts/{id}/biosamples"
},
"genomicVariant": {
"genomicVariantLookup": {
"returnedEntryType": "genomicVariant",
"url": "https://exampleBeacons.org/cohorts/{id}/g_variants"
},
"individual": {
"individualLookup": {
"returnedEntryType": "individual",
"url": "https://exampleBeacons.org/cohorts/{id}/individuals"
},
"runs": {
"runLookup": {
"returnedEntryType": "run",
"url": "https://exampleBeacons.org/cohorts/{id}/runs"
}
Expand All @@ -62,25 +62,25 @@
"rootUrl": "https://exampleBeacons.org/cohorts",
"singleEntryUrl": "https://exampleBeacons.org/cohorts/{id}"
},
"dataset": {
"datasetEndpoints": {
"endpoints": {
"analyses": {
"analysisLookup": {
"returnedEntryType": "analysis",
"url": "https://exampleBeacons.org/datasets/{id}/analyses"
},
"biosample": {
"biosampleLookup": {
"returnedEntryType": "biosample",
"url": "https://exampleBeacons.org/datasets/{id}/biosamples"
},
"genomicVariant": {
"genomicVariantLookup": {
"returnedEntryType": "genomicVariant",
"url": "https://exampleBeacons.org/datasets/{id}/g_variants"
},
"individual": {
"individualLookup": {
"returnedEntryType": "individual",
"url": "https://exampleBeacons.org/datasets/{id}/individuals"
},
"runs": {
"runLookup": {
"returnedEntryType": "run",
"url": "https://exampleBeacons.org/datasets/{id}/runs"
}
Expand All @@ -91,21 +91,21 @@
"rootUrl": "https://exampleBeacons.org/datasets",
"singleEntryUrl": "https://exampleBeacons.org/datasets/{id}"
},
"genomicVariant": {
"genomicVariantEndpoints": {
"endpoints": {
"analyses": {
"analysisLookup": {
"returnedEntryType": "analysis",
"url": "https://exampleBeacons.org/g_variants/{id}/analyses"
},
"biosample": {
"biosampleLookup": {
"returnedEntryType": "biosample",
"url": "https://exampleBeacons.org/g_variants/{id}/biosamples"
},
"individual": {
"individualLookup": {
"returnedEntryType": "individual",
"url": "https://exampleBeacons.org/g_variants/{id}/individuals"
},
"runs": {
"runLookup": {
"returnedEntryType": "run",
"url": "https://exampleBeacons.org/g_variants/{id}/runs"
}
Expand All @@ -115,21 +115,21 @@
"rootUrl": "https://exampleBeacons.org/g_variants",
"singleEntryUrl": "https://exampleBeacons.org/g_variants/{id}"
},
"individual": {
"individualEndpoints": {
"endpoints": {
"analyses": {
"analysisLookup": {
"returnedEntryType": "analysis",
"url": "https://exampleBeacons.org/individuals/{id}/analyses"
},
"biosample": {
"biosampleLookup": {
"returnedEntryType": "biosample",
"url": "https://exampleBeacons.org/individuals/{id}/biosamples"
},
"genomicVariant": {
"genomicVariantLookup": {
"returnedEntryType": "genomicVariant",
"url": "https://exampleBeacons.org/individuals/{id}/g_variants"
},
"runs": {
"runLookup": {
"returnedEntryType": "run",
"url": "https://exampleBeacons.org/individuals/{id}/runs"
}
Expand All @@ -140,13 +140,13 @@
"rootUrl": "https://exampleBeacons.org/individuals",
"singleEntryUrl": "https://exampleBeacons.org/individuals/{id}"
},
"run": {
"runEndpoints": {
"endpoints": {
"analysis": {
"analysisLookup": {
"returnedEntryType": "analysis",
"url": "https://exampleBeacons.org/runs/{id}/analyses"
},
"genomicVariant": {
"genomicVariantLookup": {
"returnedEntryType": "genomicVariant",
"url": "https://exampleBeacons.org/runs/{id}/g_variants"
}
Expand Down
62 changes: 31 additions & 31 deletions models/src/beacon-v2-default-model/beaconMap.yaml
Original file line number Diff line number Diff line change
@@ -1,119 +1,119 @@
$schema: https://json-schema.org/draft/2020-12/schema
endpointSets:
dataset:
datasetEndpoints:
entryType: dataset
openAPIEndpointsDefinition: https://exampleBeacons.org/datasets/endpoints.json
rootUrl: https://exampleBeacons.org/datasets
singleEntryUrl: https://exampleBeacons.org/datasets/{id}
filteringTermsUrl: https://exampleBeacons.org/datasets/{id}/filtering_terms
endpoints:
genomicVariant:
genomicVariantLookup:
returnedEntryType: genomicVariant
url: https://exampleBeacons.org/datasets/{id}/g_variants
biosample:
biosampleLookup:
returnedEntryType: biosample
url: https://exampleBeacons.org/datasets/{id}/biosamples
individual:
individualLookup:
returnedEntryType: individual
url: https://exampleBeacons.org/datasets/{id}/individuals
runs:
runLookup:
returnedEntryType: run
url: https://exampleBeacons.org/datasets/{id}/runs
analyses:
analysisLookup:
returnedEntryType: analysis
url: https://exampleBeacons.org/datasets/{id}/analyses
cohort:
cohortEndpoints:
entryType: cohort
openAPIEndpointsDefinition: https://exampleBeacons.org/cohorts/endpoints.json
rootUrl: https://exampleBeacons.org/cohorts
singleEntryUrl: https://exampleBeacons.org/cohorts/{id}
filteringTermsUrl: https://exampleBeacons.org/cohorts/{id}/filtering_terms
endpoints:
individual:
individualLookup:
returnedEntryType: individual
url: https://exampleBeacons.org/cohorts/{id}/individuals
genomicVariant:
genomicVariantLookup:
returnedEntryType: genomicVariant
url: https://exampleBeacons.org/cohorts/{id}/g_variants
biosample:
biosampleLookup:
returnedEntryType: biosample
url: https://exampleBeacons.org/cohorts/{id}/biosamples
runs:
runLookup:
returnedEntryType: run
url: https://exampleBeacons.org/cohorts/{id}/runs
analyses:
analysisLookup:
returnedEntryType: analysis
url: https://exampleBeacons.org/cohorts/{id}/analyses
genomicVariant:
genomicVariantEndpoints:
entryType: genomicVariant
openAPIEndpointsDefinition: https://exampleBeacons.org/genomicVariations/endpoints.json
rootUrl: https://exampleBeacons.org/g_variants
singleEntryUrl: https://exampleBeacons.org/g_variants/{id}
endpoints:
biosample:
biosampleLookup:
returnedEntryType: biosample
url: https://exampleBeacons.org/g_variants/{id}/biosamples
individual:
individualLookup:
returnedEntryType: individual
url: https://exampleBeacons.org/g_variants/{id}/individuals
runs:
runLookup:
returnedEntryType: run
url: https://exampleBeacons.org/g_variants/{id}/runs
analyses:
analysisLookup:
returnedEntryType: analysis
url: https://exampleBeacons.org/g_variants/{id}/analyses
individual:
individualEndpoints:
entryType: individual
openAPIEndpointsDefinition: https://exampleBeacons.org/individuals/endpoints.json
rootUrl: https://exampleBeacons.org/individuals
singleEntryUrl: https://exampleBeacons.org/individuals/{id}
filteringTermsUrl: https://exampleBeacons.org/individuals/{id}/filtering_terms
endpoints:
genomicVariant:
genomicVariantLookup:
returnedEntryType: genomicVariant
url: https://exampleBeacons.org/individuals/{id}/g_variants
biosample:
biosampleLookup:
returnedEntryType: biosample
url: https://exampleBeacons.org/individuals/{id}/biosamples
runs:
runLookup:
returnedEntryType: run
url: https://exampleBeacons.org/individuals/{id}/runs
analyses:
analysisLookup:
returnedEntryType: analysis
url: https://exampleBeacons.org/individuals/{id}/analyses
biosample:
biosampleEndpoints:
entryType: biosample
openAPIEndpointsDefinition: https://exampleBeacons.org/biosamples/endpoints.json
rootUrl: https://exampleBeacons.org/biosamples
singleEntryUrl: https://exampleBeacons.org/biosamples/{id}
endpoints:
run:
runLookup:
returnedEntryType: run
url: https://exampleBeacons.org/biosamples/{id}/runs
analysis:
analysisLookup:
returnedEntryType: analysis
url: https://exampleBeacons.org/biosamples/{id}/analyses
genomicVariant:
genomicVariantLookup:
returnedEntryType: genomicVariant
url: https://exampleBeacons.org/biosamples/{id}/g_variants
run:
runEndpoints:
entryType: run
openAPIEndpointsDefinition: https://exampleBeacons.org/runs/endpoints.json
rootUrl: https://exampleBeacons.org/runs
singleEntryUrl: https://exampleBeacons.org/runs/{id}
endpoints:
analysis:
analysisLookup:
returnedEntryType: analysis
url: https://exampleBeacons.org/runs/{id}/analyses
genomicVariant:
genomicVariantLookup:
returnedEntryType: genomicVariant
url: https://exampleBeacons.org/runs/{id}/g_variants
analysis:
analysisEndpoints:
entryType: analysis
openAPIEndpointsDefinition: https://exampleBeacons.org/analyses/endpoints.json
rootUrl: https://exampleBeacons.org/analyses
singleEntryUrl: https://exampleBeacons.org/analyses/{id}
endpoints:
genomicVariant:
genomicVariantLookup:
returnedEntryType: genomicVariant
url: https://exampleBeacons.org/analyses/{id}/g_variants

0 comments on commit 9f9c96a

Please sign in to comment.