Skip to content

Acces token to get zip file #4464

Answered by vrindanayak
brunobart asked this question in Q&A
Discussion options

You must be logged in to vote

You don't need to write a new page again for an existing wiki - see https://github.com/dcm4che/dcm4chee-arc-light/wiki/Get-OIDC-Access-Token-using-curl#request-an-access-token-using-oauth-20-client-credentials-grant

As for WADO-RS service you want to use, refer https://petstore.swagger.io/index.html?url=https://dcm4che.github.io/dcm4chee-arc-light/swagger/openapi.json#/WADO-RS/RetrieveStudy

Note : access token should be passed in HTTP Request header, not as a query param!

curl -k -H "Authorization: Bearer {access-token}" -X GET 'https://{MyIp}:8443/dcm4chee-arc/aets/DCM4CHEE/rs/studies/{studyIuid}?accept=application/zip;transfer-syntax=*'

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by vrindanayak
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants