All of lore.kernel.org
 help / color / mirror / Atom feed
* why the object cannot list in rest api?
@ 2019-11-07  8:02 www
  2019-11-07 11:02 ` Devender Rao
  0 siblings, 1 reply; 7+ messages in thread
From: www @ 2019-11-07  8:02 UTC (permalink / raw)
  To: openbmc

[-- Attachment #1: Type: text/plain, Size: 664 bytes --]

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


[-- Attachment #2: Type: text/html, Size: 1311 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-11-08  2:02 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-07  8:02 why the object cannot list in rest api? www
2019-11-07 11:02 ` Devender Rao
2019-11-07 11:34   ` www
2019-11-07 12:40     ` George Liu
2019-11-07 12:53       ` www
2019-11-08  0:46         ` George Liu
2019-11-08  2:01           ` www

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.