MVNet Solutions API Overview

REST API JSON
Base URL: https://www.mvnetsolutions.de/api/v1

Diese RESTful API ermöglicht es Ihnen, Benutzer, Produkte und Bestellungen zu verwalten. Alle Responses sind im JSON-Format und die API unterstützt Standard HTTP-Statuscodes.

REST API
Standard HTTP-Methoden
Sicher
Token Authentication
Schnell
Optimierte Performance

Accounting

GET /customer/balance/{token} Alle Guthabeninformationen abrufen
Example Response (200 OK)
Response content type: ["application/json", "application/json; charset=utf-8"]

KVM vServer

GET /servers/kvm/list/{token} Alle KVM vServer abrufen
Example Response (200 OK)
Response content type: ["application/json", "application/json; charset=utf-8"]
POST /servers/kvm/{id}/stop/{token} Stoppt den KVM vServer
Example Response (200 OK)
Response content type: ["application/json", "application/json; charset=utf-8"]
POST /servers/kvm/{id}/start/{token} Startet den KVM vServer
Example Response (200 OK)
Response content type: ["application/json", "application/json; charset=utf-8"]
POST /servers/kvm/{id}/restart/{token} Startet den KVM vServer neu
Example Response (200 OK)
Response content type: ["application/json", "application/json; charset=utf-8"]
POST /servers/kvm/{id}/shutdown/{token} Fährt den KVM vServer herunter
Example Response (200 OK)
Response content type: ["application/json", "application/json; charset=utf-8"]
POST /servers/kvm/{id}/force_stop/{token} Stoppt den KVM vServer sofort
Example Response (200 OK)
Response content type: ["application/json", "application/json; charset=utf-8"]
GET /servers/kvm/{id}/metrics/{timeframe}/{token} Gibt die Metrics vom KVM vServer aus
Example Response (200 OK)
Response content type: ["application/json", "application/json; charset=utf-8"]
Verfügbare Timeframes: 'hour', 'day', 'week', 'month', 'year'
GET /servers/kvm/{id}/state/{token} Gibt den Status vom KVM vServer aus
Example Response (200 OK)
Response content type: ["application/json", "application/json; charset=utf-8"]
GET /servers/kvm/{id}/tasks/{token} Gibt die aktuellen Aufgaben vom KVM vServer aus
Example Response (200 OK)
Response content type: ["application/json", "application/json; charset=utf-8"]

HTTP Status Codes

Erfolgreiche Responses
  • 200OK - Anfrage erfolgreich
  • 201Created - Ressource erstellt
  • 204No Content - Erfolgreich gelöscht
Fehler-Responses
  • 400Bad Request - Ungültige Anfrage
  • 401Unauthorized - Nicht authentifiziert
  • 402Not verified - Account nicht verifiziert
  • 403Forbidden - Zugriff verweigert
  • 404Not Found - Ressource nicht gefunden
  • 429Too Many Requests - Zu viele Anfragen
  • 500Server Error - Interner Serverfehler