Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagephp
themeEclipse
*Request:*
   http://<host>:<port>/xconf/swu/stb?eStbMac=B4:F2:E8:79:B8:94&env=QA&model=X1&ipAddress=10.20.30.43&firmwareVersion=test1

Header:
   Accept: application/json
Response example 
   {
  "firmwareDownloadProtocol": "tftp",

  "firmwareFilename": "file-rpi3",

  "firmwareVersion": "RPI_generic_image",

  "rebootImmediately": false,

  "firmwareLocation": "192.168.201.2",

  "ipv6FirmwareLocation": "1991:db8::ff00:42:2014"
  }

...

http://<host>:<port>/xconf/swu/stb?eStbMac=B4:F2:E8:79:B8:94&env=QA&model=X1&ipAddress=10.20.30.43&firmwareVersion=test1

Header

...

Accept: application/json

or Accept: application/xml

Response example 

{

  "firmwareDownloadProtocol": "tftp",

  "firmwareFilename": "file-rpi3",

  "firmwareVersion": "RPI_generic_image",

  "rebootImmediately": false,

  "firmwareLocation": "192.168.201.2",

  "ipv6FirmwareLocation": "1991:db8::ff00:42:2014"

...

Request did not match any rule. 

...