Buckets:

download
raw
663 Bytes
#!/usr/bin/env python3
import sys
import requests
# Login
login_resp = requests.post(
"http://localhost:8080/v1/auth/login", json={"username": "admin", "password": "qa_test_password_12345"}
)
if login_resp.status_code != 200:
print(f"Login failed: {login_resp.text}")
sys.exit(1)
token = login_resp.json()["access_token"]
headers = {"Authorization": f"Bearer {token}"}
# Get adapters
resp = requests.get("http://localhost:8080/v1/system/adapters", headers=headers)
print(f"Status: {resp.status_code}")
if resp.status_code == 200:
import json
data = resp.json()
print(json.dumps(data, indent=2))
else:
print(f"Error: {resp.text}")

Xet Storage Details

Size:
663 Bytes
·
Xet hash:
020e7650368eb442e74b08f339d7389f63844af8da59653bd75a6afe358aaaa6

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.