Hi,
Since I check the current existing Proxmox API client in javascript, I realize that all current javascript APi are... ugly. (all of them relay on curl binary).
I'm now digging to build my own api client.
Can you please change some invalid type in the API JSON?
by replacing:
by:
there are 23 similar error.
example:
can you also replace :
by:
there are 4 similar error.
and a question:
what is the difference between integer and number types ?
"type" : "number" is used 154 times
"type" : "integer" is used 845 times.
Since I check the current existing Proxmox API client in javascript, I realize that all current javascript APi are... ugly. (all of them relay on curl binary).
I'm now digging to build my own api client.
Can you please change some invalid type in the API JSON?
by replacing:
Code:
minimum" : "0",
by:
Code:
"minimum" : 0,
there are 23 similar error.
example:
Code:
bwlimit" : {
default" : "migrate limit from datacenter or storage config",
description" : "Override I/O bandwidth limit (in KiB/s).",
minimum" : "0",
optional" : 1,
type" : "number",
typetext" : "<number> (0 - N)"
},
can you also replace :
Code:
optional" : "1",
Code:
optional" : 1,
and a question:
what is the difference between integer and number types ?
"type" : "number" is used 154 times
"type" : "integer" is used 845 times.
Last edited: