Download file encrypted with web api

Hi,

i get the download link to download a file (into encrypted library).

i have this link:

the api tell me ‘Repo is encrypted. Please provide password to view it.’

how i can download it with password? what is the webapi to do this?

API documentation can be found at https://manual.seafile.com/develop/web_api_v2.1.html