EQVPS
ダッシュボード始める

REST API

すべてのMCPツールは直接呼び出せるRESTエンドポイントに支えられています。ベースURL: https://api.eqvps.com

GET  /api/v1/eqvps/products
POST /api/v1/eqvps/auth/register
POST /api/v1/eqvps/auth/login
POST /api/v1/eqvps/auth/otp/request
POST /api/v1/eqvps/auth/otp/verify
POST /api/v1/eqvps/auth/set-password
GET  /api/v1/eqvps/balance
POST /api/v1/eqvps/balance/topup
POST /api/v1/eqvps/orders
POST /api/v1/eqvps/invoices/{id}/pay
GET  /api/v1/eqvps/services
GET  /api/v1/eqvps/services/{id}
POST /api/v1/eqvps/services/{id}/power
POST /api/v1/eqvps/services/{id}/hostname
POST /api/v1/eqvps/services/{id}/reset-password
POST /api/v1/eqvps/services/{id}/reinstall
GET  /api/v1/eqvps/services/{id}/metrics
GET  /api/v1/eqvps/services/{id}/renew-options
POST /api/v1/eqvps/services/{id}/renew
POST /api/v1/eqvps/services/{id}/cancel
POST /api/v1/eqvps/services/{id}/cancel/undo

認証が必要なエンドポイントにはAuthorization: Bearer <token>が必要です。

更新と解約

# Renewal: 1, 3, 6 or 12 months
GET  /api/v1/eqvps/services/{id}/renew-options
POST /api/v1/eqvps/services/{id}/renew          {"months": 3}

# Cancel at the end of the paid period (default)
POST /api/v1/eqvps/services/{id}/cancel         {"type": "end_of_period", "reason": "..."}

# Cancel now: the server and its data are deleted
POST /api/v1/eqvps/services/{id}/cancel         {"type": "immediate", "confirm": "<hostname>", "reason": "..."}

# Withdraw a scheduled cancellation
POST /api/v1/eqvps/services/{id}/cancel/undo

更新料は前払い残高で足りる場合はそこから差し引かれ、足りない場合は請求書を支払うための checkout_url がレスポンスに含まれます。renew-options では期間、料金、新しい有効期限を確認できます。解約には理由 (reason) が必要です。end_of_period(既定)は支払済み期間の終わりまでサーバーを残し、immediate はサーバーとデータを即時に削除し、サーバーの hostname を指定した confirm も必要です。予定された解約は cancel/undo で取り消せます。

コメント

まだコメントはありません。最初になりましょう。

コメントを残す

コメントは表示される前にモデレートされます。