r2-streamer-js icon indicating copy to clipboard operation
r2-streamer-js copied to clipboard

[DAISY-AVH] Content-type broken on reading-orders links

Open panaC opened this issue 1 year ago • 6 comments


> URL=`curl -H "Authorization: Bearer $BEARER" -s https://eole-recette.avh.asso.fr/api/v1/search | jq -r '.publications[0].links[0].href'`
> curl -H "Authorization: Bearer $BEARER"  -s $URL | jq '.readingOrder[0]'
{
  "type": "audio/?",
  "duration": 12.896,
  "href": "Y061664/aud001.mp3?r2tkn=eyJoYXNoIjoiNTRkYWY5MjhhNTZlYzY4OWY5OWI5NmQ0MWRhZDY0MTdiYTBkNjdlNzdmZWE2OWI4NmVmODNlZTBiYTZmNDQ5MiIsInRpbWVzdGFtcCI6MTY2MDc0MDg2MTM3MywiZXhwaXJ5Ijo4NjQwMH0%3D"
}

panaC avatar Aug 18 '22 10:08 panaC