Devika7733 commented on issue #35644: URL: https://github.com/apache/superset/issues/35644#issuecomment-3406873903
[@dosu](https://go.dosu.dev/dosubot)., Then how do we pass password for multiple databases in API call if I am keeping multiple databses in a zip file like: databases/ metadata.yaml Reporting.yaml Superset_metadb.yaml . I am currently using the below endpoints for uploading Assets: local response=$(curl -k -s -w "%{http_code}" -b cookies.txt -o "${asset_type}_response_body.txt" \ --url "https://superset.test.com/api/v1/database/import/" \ --header 'accept: application/json' \ --header Authorization": Bearer $ACCESS_TOKEN" \ --header 'content-type: multipart/form-data' \ --header "referer: https://superset.test.com" \ --header "x-csrftoken: $CSRF_TOKEN" \ --form "formData=@$zip_file" \ --form overwrite=true \ --form "passwords={\"databases/SuperSet.Metadata.yaml\": \"$SUPERSET_DB_PASS\"}") -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
