Skip to content

Commit ed4164b

Browse files
committed
docs(config): fix mention of authorization locations
1 parent ccf5641 commit ed4164b

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

htsget-config/README.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,9 @@ and any region restrictions:
453453
"version": 1,
454454
"htsgetAuth": [
455455
{
456-
"id": "dataset/001/id",
456+
"location": {
457+
"id": "dataset/001/id"
458+
},
457459
"rules": [
458460
{
459461
"referenceName": "chr1",
@@ -481,17 +483,21 @@ For example, to specify a dynamic location for VCF files separately to BAM files
481483
"version": 1,
482484
"htsgetAuth": [
483485
{
484-
"id": "dataset/001/id-bam",
485-
"location": "s3://bucket-a/bam_file",
486+
"location": {
487+
"id": "dataset/001/id-bam",
488+
"backend": "s3://bucket-a/bam_file"
489+
},
486490
"rules": [
487491
{
488492
"format": "BAM"
489493
}
490494
]
491495
},
492496
{
493-
"id": "dataset/001/id-vcf",
494-
"location": "s3://bucket-b/vcf_file",
497+
"location": {
498+
"id": "dataset/001/id-vcf",
499+
"backend": "s3://bucket-b/vcf_file"
500+
},
495501
"rules": [
496502
{
497503
"format": "VCF"

0 commit comments

Comments
 (0)