API /logical-servers : pb avec la liaison vers les serveurs physiques #1051
Unanswered
cchabot-besse
asked this question in
Q&A
Replies: 1 comment
-
|
Corrigé ! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Bonjour,
Je ne récupère pas la liste des serveurs physiques avec l'API /logical-servers, alors que ce champ a été renseigné depuis l'IHM :
curl --location --request GET 'http://carto.mydomain.net/api/logical-servers/3' --header 'Authorization: Bearer xxx.xxx.xxx'
=>
{ "data": { "id": 3, "name": "test", "description": "<p>My VM</p>", "net_services": null, "configuration": "<p>conf</p>", "created_at": "2024-12-13", "updated_at": "2025-01-15", "deleted_at": null, "operating_system": "Microsoft Windows Server 2016 (64-bit)", "address_ip": "xxx.xxx.xxx.xxx", "cpu": "2", "memory": "8", "environment": "Production", "disk": null, "disk_used": null, "install_date": null, "update_date": null, "attributes": null, "patching_frequency": null, "next_update": null, "cluster_id": null, "domain_id": 6 } }Même problème sur l'update ou la propriété servers[] n'est pas prise en compte :
{ "name": "test", ... "servers[]": [ "5" ] }Beta Was this translation helpful? Give feedback.
All reactions