- Change auth from X-API-Key header to Authorization: Bearer format - Add /v2 prefix to all endpoints to match Vultr API URL structure - Fix router paths (dns, firewall) to avoid duplicate path segments - Split VPC 2.0 into separate router at /v2/vpc2 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
41 lines
569 B
Python
41 lines
569 B
Python
"""API Routers"""
|
|
from . import (
|
|
account,
|
|
instances,
|
|
dns,
|
|
firewall,
|
|
ssh_keys,
|
|
startup_scripts,
|
|
snapshots,
|
|
block_storage,
|
|
reserved_ips,
|
|
vpc,
|
|
vpc2,
|
|
load_balancers,
|
|
bare_metal,
|
|
backups,
|
|
plans,
|
|
regions,
|
|
os_api,
|
|
)
|
|
|
|
__all__ = [
|
|
"account",
|
|
"instances",
|
|
"dns",
|
|
"firewall",
|
|
"ssh_keys",
|
|
"startup_scripts",
|
|
"snapshots",
|
|
"block_storage",
|
|
"reserved_ips",
|
|
"vpc",
|
|
"vpc2",
|
|
"load_balancers",
|
|
"bare_metal",
|
|
"backups",
|
|
"plans",
|
|
"regions",
|
|
"os_api",
|
|
]
|