b2-sdk-python icon indicating copy to clipboard operation
b2-sdk-python copied to clipboard

b2_get_download_authorization extra parameters

Open tasiotas opened this issue 9 months ago • 1 comments

Hi,

/b2api/v4/b2_get_download_authorization accepts many parameters that are not exposed in this lib. All b2* are missing.

I am specifically looking for b2ContentDisposition when generating auth token.

Can I make a PR that adds them to get_download_authorization method, or is there a reason its not included?

Thank you

tasiotas avatar May 27 '25 19:05 tasiotas

Hey,

I don't think there is a good reason to not have it. I think these b2* things were added at some point during heavy development of cli and it was overlooked.

The PR will be appreciated, reviewed promptly and we'll help you out if you struggle along the way.

On Wed, May 28, 2025, 03:36 tasiotas @.***> wrote:

tasiotas created an issue (Backblaze/b2-sdk-python#539) https://github.com/Backblaze/b2-sdk-python/issues/539

Hi,

/b2api/v4/b2_get_download_authorization accepts many parameters that are not exposed in this lib. All b2* are missing.

I am specifically looking for b2ContentDisposition when generating auth token.

Can I make a PR that adds them to get_download_authorization method, or is there a reason its not included?

Thank you

— Reply to this email directly, view it on GitHub https://github.com/Backblaze/b2-sdk-python/issues/539, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFRMGIRF3QSQQVKZASJ24L3AS5ENAVCNFSM6AAAAAB6A5GLO6VHI2DSMVQWIX3LMV43ASLTON2WKOZTGA4TIOJYHE2TGNY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

ppolewicz avatar May 28 '25 14:05 ppolewicz