why the object cannot list in rest api?
www
ouyangxuan10 at 163.com
Thu Nov 7 19:02:21 AEDT 2019
Dear all,
There are some objects on DBUS that can be displayed with busctl command, but can't be displayed with rest API. Is there any reason for this?
└─/xyz
└─/xyz/openbmc_project
└─/xyz/openbmc_project/dump
├─/xyz/openbmc_project/dump/entry
│ └─/xyz/openbmc_project/dump/entry/1
└─/xyz/openbmc_project/dump/internal
└─/xyz/openbmc_project/dump/internal/manager
curl -k -H "X-Auth-Token: $token" https://${bmc}/xyz/openbmc_project/dump/list
{
"data": [
"/xyz/openbmc_project/dump/internal",
"/xyz/openbmc_project/dump/internal/manager"
],
"message": "200 OK",
"status": "ok"
}
thanks,
Byron
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20191107/4242dc9f/attachment.htm>
More information about the openbmc
mailing list