REST API authentication changes coming soon

Matt Spinler mspinler at linux.vnet.ibm.com
Wed Jan 30 01:32:06 AEDT 2019


On 2019-01-28 12:52, Brad Bishop wrote:
> I just wanted to re-announce this change in a very visible way:
> 
> https://lists.ozlabs.org/pipermail/openbmc/2019-January/014881.html
> 
> I'm not sure how to interpret the silence.  There will be some impact
> to any programatic use of the current REST API when we make this
> switch.  If you have issues with that please speak up so we can see
> about what we can do to help ease the transition.


There is a review in progress at
https://gerrit.openbmc-project.xyz/#/c/openbmc/docs/+/17706/ with the
new authentication details.

Other differences I've noticed from phosphor-rest:
* URLs are case sensitive
* Will not interpolate strings to ints
   e.g. won't covert "1000" to 1000 if D-Bus arg is an int
* Not tolerant on things like double '/'s in the URL
   e.g. /xyz/openbmc_project//attr/blah... will not work



> thx - brad



More information about the openbmc mailing list