LXD API documentation

Hi,
It seems that official API documentation is here: https://linuxcontainers.org/lxd/api/master/

/containers endpoint is not listed but it’s available, I don’t understand why.

Thanks

Its because its deprecated (since support for vms were added). Please use /1.0/instances prefix instead.

Seems logical.
We use https://github.com/ashleyhood/php-lxd library which isn’t up to date :confused:

Thanks

My fork has the updates https://github.com/turtle0x1/php-lxd and i’ve added some more of the endpoints

1 Like