Open PolarBean opened 2 months ago
The issue appears to be linked to app.py
@app.route("/list_bucket_content", methods=["POST"])
def list_bucket_content():
bucket_name = request.args.get("clb-collab-id")
path = request.args.get("file_path")
url = f"https://data-proxy.ebrains.eu/api/v1/buckets/{bucket_name}?prefix={path}&delimiter=%2F&limit=50"
response = requests.get(url)
if response.ok:
return jsonify(response.json())
else:
return response
Missing user token, not sent at all and there is also no bucket name listed in the calls Listing bucket content works when accessed via data proxy
This used to be functional however since the migration to Rancher the authentication is no longer working The api is documented here: https://data-proxy.ebrains.eu/api/docs And the information about how to change the token permissions is here: https://github.com/Tevemadar/Collab.PHP