Documentation
API Device : Services Administration
NEW VERSION V2: CLICK HERE
Are you a developer or a web agency? Sign up for the Expedy Partner
Requests for machine administration (ping, reboot, shutdown, update, etc.)
Request URL: http://www.expedy.fr/api/device/nom_du_service
Services | Examples request | Response examples |
/device/status | $service_url = “https://www.expedy.fr/api/device/status”; 3 arguments : sid, token, rpi_uid $data_request = array( ‘sid’ => $api_sid, ‘token’ => $api_token, ‘rpi_uid’ => $rpi_uid ); and returns “last_ping”, date/timestamp in unix format of the last interaction between the print server and the api platform. | {“status”:”ok”,”last_ping”:”1641509604″} |
/device/ping | $service_url = “https://www.expedy.fr/api/device/ping”; 3 arguments: sid, token, rpi_uid $data_request = array( ‘sid’ => $api_sid, ‘token’ => $api_token, ‘rpi_uid’ => $rpi_uid ); and returns “last_ping”. | {“status”:”ok”,”last_ping”:”1641509604″} |
/device/update | $service_url = “https://www.expedy.fr/api/device/update”; 3 arguments: sid, token, rpi_uid $data_request = array( ‘sid’ => $api_sid, ‘token’ => $api_token, ‘rpi_uid’ => $rpi_uid ); and returns “last_ping”. | {“status”:”ok”,”last_ping”:”1641509604″} |
/device/reboot | $service_url = “https://www.expedy.fr/api/device/reboot”; 3 arguments: sid, token, rpi_uid $data_request = array( ‘sid’ => $api_sid, ‘token’ => $api_token, ‘rpi_uid’ => $rpi_uid ); and returns “last_ping”. | {“status”:”ok”,”last_ping”:”1641509604″} |
/device/shutdown | $service_url = “https://www.expedy.fr/api/device/shutdown”; 3 arguments: sid, token, rpi_uid $data_request = array( ‘sid’ => $api_sid, ‘token’ => $api_token, ‘rpi_uid’ => $rpi_uid ); and returns “last_ping”. | {“status”:”ok”,”last_ping”:”1641509604″} |