Ovh-api command put
BMPCreated with Sketch.BMPZIPCreated with Sketch.ZIPXLSCreated with Sketch.XLSTXTCreated with Sketch.TXTPPTCreated with Sketch.PPTPNGCreated with Sketch.PNGPDFCreated with Sketch.PDFJPGCreated with Sketch.JPGGIFCreated with Sketch.GIFDOCCreated with Sketch.DOC Error Created with Sketch.
question

Ovh-api command put

Par
EricL54
Créé le 2020-05-13 15:48:57 (edited on 2024-09-04 13:01:12) dans Bare Metal Products

Bonjour,

J'intègre l'api ovh à une app PHP. J'ai un souci avec toutes les appels PUT (dans /Domain). Dans les exemples fournis, la variable $content (cf. ovh/Api.php) n'est jamais renseignée.

Exemple pour **/domain/zone/{zoneName}/redirection/{id}**
$result = $ovh->put('/domain/zone/{zoneName}/redirection/{id}');

qui logiquement devrait être (IMHO)
$result = $ovh->put('/domain/zone/{zoneName}/redirection/{id}', $content)

avec $content un tableau clé/valeur. Mais quelles sont les clés ? Ici, celles proposées dans l'exemple ('description', keywords','target','title','type') ?

Merci pour vos éclaircissements.


Les réponses sont actuellement désactivées pour cette question.