All of lore.kernel.org
 help / color / mirror / Atom feed
From: www  <ouyangxuan10@163.com>
To: "Devender Rao" <devenrao@in.ibm.com>
Cc: openbmc@lists.ozlabs.org
Subject: Re:Re:  why the object cannot list in rest api?
Date: Thu, 7 Nov 2019 19:34:26 +0800 (CST)	[thread overview]
Message-ID: <4b98545f.940d.16e45a4ed2f.Coremail.ouyangxuan10@163.com> (raw)
In-Reply-To: <OF65345083.058B21A2-ON002584AB.003CA681-002584AB.003CA687@notes.na.collabserv.com>

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



The problem is not the command. If you restart mapperx, it will appear. It should be the problem of mapperx?


{
    "data": [
        "/xyz/openbmc_project/dump/entry",        restart mapperx, the object can be  display in rest-api
        "/xyz/openbmc_project/dump/entry/1",
        "/xyz/openbmc_project/dump/internal",
        "/xyz/openbmc_project/dump/internal/manager"
    ],
    "message": "200 OK",
    "status": "ok"
}


thanks,
Byron




At 2019-11-07 19:02:27, "Devender Rao" <devenrao@in.ibm.com> wrote:

Do check out this readme document for the commands
https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-debug-collector/+/25357
 
----- Original message -----
From: www <ouyangxuan10@163.com>
Sent by: "openbmc" <openbmc-bounces+devenrao=in.ibm.com@lists.ozlabs.org>
To: "openbmc@lists.ozlabs.org" <openbmc@lists.ozlabs.org>
Cc:
Subject: [EXTERNAL] why the object cannot list in rest api?
Date: Thu, Nov 7, 2019 1:56 PM
 
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: 3356 bytes --]

  reply	other threads:[~2019-11-07 11:34 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4b98545f.940d.16e45a4ed2f.Coremail.ouyangxuan10@163.com \
    --to=ouyangxuan10@163.com \
    --cc=devenrao@in.ibm.com \
    --cc=openbmc@lists.ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.