Skip to content

Latest commit

 

History

History
55 lines (41 loc) · 1.06 KB

File metadata and controls

55 lines (41 loc) · 1.06 KB

Operation - Check For Firmware Updates

A check for firmware updates can be performed by sending an empty HTTP POST to /api/edge/operation/refresh-fw-latest-status.json.

It does not support a HTTP GET.

This method is CSRF protected so also requires a X-CSRF-TOKEN (see Sensitive Requests (CSRF Protection)).

Response

Root

Name Type Values Description

OPERATION

Object

OPERATION object

The operation result information.

success

Boolean

true or false

Whether the API request was successful.

OPERATION Object

Name Type Values Description

success

String

A boolean encapsulated in a string (e.g. "0" or "1")

Whether the check for firmware updates request was successful.

Examples

Successful Check For Firmware Updates

POST /api/edge/operation/refresh-fw-latest-status.json Response
{"OPERATION": {"success": "1"}, "success": true}