WikiAPI-Katalogservicesservices.restart

services.restart

POST /api/monitoring/services/{service}/restart services

Startet einen KIara-Service neu

Hilfe

Fuehrt systemctl restart aus. Erfordert Bestaetigung vor der Ausfuehrung.

Parameter

Name Typ Required Default Beschreibung
service string Ja Service-Name

Rückgabe

Bestaetigung des Neustarts

Beispiel-Prompts

  • Starte kiara.service neu
  • Restart kiara-worker

Confirmation

Diese Funktion erfordert eine Bestätigung vor der Ausführung.

Template: service {service} neustarten

Changelog

Area: services | Action: restart

HTTP-Request (curl)

curl -X POST 'http://HOST:8502/api/monitoring/services/{service}/restart' \
  -H 'Cookie: kiara_admin_session=SESSION' \
  -H 'X-Requested-With: XMLHttpRequest' \
  -H 'Content-Type: application/json' \
  -d '{
    "service": "..."
  }'

Metadaten

raw_responseNein
PK-Paramservice
Kategorieservices