From 93387d9a1ee3fcc7b080e6fed7e4307e0872b626 Mon Sep 17 00:00:00 2001 From: Michael Baudis <675030+mbaudis@users.noreply.github.com> Date: Mon, 15 Apr 2024 10:03:33 +0200 Subject: [PATCH] fix wrong "runs", "analyses" entry types in beaconMap See https://github.com/ga4gh-beacon/beacon-v2/issues/125 --- .../json/beacon-v2-default-model/beaconMap.json | 16 ++++++++-------- .../src/beacon-v2-default-model/beaconMap.yaml | 16 ++++++++-------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/models/json/beacon-v2-default-model/beaconMap.json b/models/json/beacon-v2-default-model/beaconMap.json index 4c9a12a78..8aef1236b 100644 --- a/models/json/beacon-v2-default-model/beaconMap.json +++ b/models/json/beacon-v2-default-model/beaconMap.json @@ -35,7 +35,7 @@ }, "cohort": { "endpoints": { - "analyses": { + "analysis": { "returnedEntryType": "analysis", "url": "https://exampleBeacons.org/cohorts/{id}/analyses" }, @@ -51,7 +51,7 @@ "returnedEntryType": "individual", "url": "https://exampleBeacons.org/cohorts/{id}/individuals" }, - "runs": { + "run": { "returnedEntryType": "run", "url": "https://exampleBeacons.org/cohorts/{id}/runs" } @@ -64,7 +64,7 @@ }, "dataset": { "endpoints": { - "analyses": { + "analysis": { "returnedEntryType": "analysis", "url": "https://exampleBeacons.org/datasets/{id}/analyses" }, @@ -80,7 +80,7 @@ "returnedEntryType": "individual", "url": "https://exampleBeacons.org/datasets/{id}/individuals" }, - "runs": { + "run": { "returnedEntryType": "run", "url": "https://exampleBeacons.org/datasets/{id}/runs" } @@ -93,7 +93,7 @@ }, "genomicVariant": { "endpoints": { - "analyses": { + "analysis": { "returnedEntryType": "analysis", "url": "https://exampleBeacons.org/g_variants/{id}/analyses" }, @@ -105,7 +105,7 @@ "returnedEntryType": "individual", "url": "https://exampleBeacons.org/g_variants/{id}/individuals" }, - "runs": { + "run": { "returnedEntryType": "run", "url": "https://exampleBeacons.org/g_variants/{id}/runs" } @@ -117,7 +117,7 @@ }, "individual": { "endpoints": { - "analyses": { + "analysis": { "returnedEntryType": "analysis", "url": "https://exampleBeacons.org/individuals/{id}/analyses" }, @@ -129,7 +129,7 @@ "returnedEntryType": "genomicVariant", "url": "https://exampleBeacons.org/individuals/{id}/g_variants" }, - "runs": { + "run": { "returnedEntryType": "run", "url": "https://exampleBeacons.org/individuals/{id}/runs" } diff --git a/models/src/beacon-v2-default-model/beaconMap.yaml b/models/src/beacon-v2-default-model/beaconMap.yaml index 3da0cd2a4..c920f7988 100644 --- a/models/src/beacon-v2-default-model/beaconMap.yaml +++ b/models/src/beacon-v2-default-model/beaconMap.yaml @@ -16,10 +16,10 @@ endpointSets: individual: returnedEntryType: individual url: https://exampleBeacons.org/datasets/{id}/individuals - runs: + run: returnedEntryType: run url: https://exampleBeacons.org/datasets/{id}/runs - analyses: + analysis: returnedEntryType: analysis url: https://exampleBeacons.org/datasets/{id}/analyses cohort: @@ -38,10 +38,10 @@ endpointSets: biosample: returnedEntryType: biosample url: https://exampleBeacons.org/cohorts/{id}/biosamples - runs: + run: returnedEntryType: run url: https://exampleBeacons.org/cohorts/{id}/runs - analyses: + analysis: returnedEntryType: analysis url: https://exampleBeacons.org/cohorts/{id}/analyses genomicVariant: @@ -56,10 +56,10 @@ endpointSets: individual: returnedEntryType: individual url: https://exampleBeacons.org/g_variants/{id}/individuals - runs: + run: returnedEntryType: run url: https://exampleBeacons.org/g_variants/{id}/runs - analyses: + analysis: returnedEntryType: analysis url: https://exampleBeacons.org/g_variants/{id}/analyses individual: @@ -75,10 +75,10 @@ endpointSets: biosample: returnedEntryType: biosample url: https://exampleBeacons.org/individuals/{id}/biosamples - runs: + run: returnedEntryType: run url: https://exampleBeacons.org/individuals/{id}/runs - analyses: + analysis: returnedEntryType: analysis url: https://exampleBeacons.org/individuals/{id}/analyses biosample: