Bonjour,
J'essaie actuellement d'utiliser la fonction de réinstallation d'un VPS à travers l'API OVH.
il faudra donc utilsier la methode POST : /vps/{serviceName}/reinstall
Cette fonction a besoin d'un certain nombre de paramètre :
doNotSendPassword : boolean
language : string
softwareId : [integer] -> Id of the vps.Software type fetched in /template/{id}/software
templateId * integer -> Id of the vps.Template fetched in /templates list
.
.
Etc
Sauf que ces méthodes en GET ne fonctionnent pas :
/vps/{serviceName}/templates
/vps/{serviceName}/templates/.........
et ça renvoi comme réponse au moment de l'exécution :
{ "message": "Internal error: Unable to instantiate object, configuration is missing" }
Alors que d'autres fonctions marchent bien soit en Post ou en GET.
Avez-vous une idéée ?
Merci