From e2287cef452bba90f1c1ab21bc1d047537967322 Mon Sep 17 00:00:00 2001 From: Daisie Huang Date: Thu, 3 Oct 2024 13:48:20 -0700 Subject: [PATCH] Clarify curate paths for site curators --- defaults/paths.json | 51 +++++++++++++++++++++++++++++---------------- 1 file changed, 33 insertions(+), 18 deletions(-) diff --git a/defaults/paths.json b/defaults/paths.json index 171ac47..7163c9d 100644 --- a/defaults/paths.json +++ b/defaults/paths.json @@ -2,16 +2,16 @@ "paths": { "read": { "get": [ - "/v3/discovery/?.*", - "/v3/authorized/?.*", - "/htsget/v1/variants/?.*", - "/htsget/v1/variants/search", - "/htsget/v1/reads/?.*", - "/htsget/v1/samples/?.*", - "/ga4gh/drs/v1/objects/?.*", - "/ga4gh/drs/v1/cohorts/?.*", - "/ga4gh/drs/v1/cohorts/?.*/status", - "/beacon/v2/g_variants/?.*" + "/v3/discovery/?.*", + "/v3/authorized/?.*", + "/htsget/v1/variants/?.*", + "/htsget/v1/variants/search", + "/htsget/v1/reads/?.*", + "/htsget/v1/samples/?.*", + "/ga4gh/drs/v1/objects/?.*", + "/ga4gh/drs/v1/cohorts/?.*", + "/ga4gh/drs/v1/cohorts/?.*/status", + "/beacon/v2/g_variants/?.*" ], "post": [ "/htsget/v1/variants/search", @@ -20,14 +20,29 @@ ] }, "curate": { - "get": [ - "/htsget/v1/variants/?.*/index", - "/htsget/v1/variants/?.*/verify", - "/htsget/v1/reads/?.*/index", - "/htsget/v1/reads/?.*/verify" - ], - "post": ["/ingest/?.*", "/ga4gh/drs/v1/?.*", "/v3/ingest/?.*"], - "delete": ["/ingest/?.*", "/ga4gh/drs/v1/?.*", "/v3/ingest/?.*"] + "get": [ + "/ingest/?.*", + "/htsget/v1/variants/?.*/index", + "/htsget/v1/variants/?.*/verify", + "/htsget/v1/reads/?.*/index", + "/htsget/v1/reads/?.*/verify" + ], + "post": [ + "/ingest/s3-credential/?.*", + "/ingest/program/?.*", + "/ingest/user/?.*", + "/ingest/genomic", + "/ingest/clinical", + "/ga4gh/drs/v1/?.*", + "/v3/ingest/?.*" + ], + "delete": [ + "/ingest/s3-credential/?.*", + "/ingest/program/?.*", + "/ingest/user/?.*", + "/ga4gh/drs/v1/?.*", + "/v3/ingest/?.*" + ] } } } \ No newline at end of file