Differences
This shows you the differences between two versions of the page.
en:d-sdk:4_units:10_get_unit_files [2018/04/26 20:00] support@geliossoft.ru |
en:d-sdk:4_units:10_get_unit_files [2021/07/07 13:28] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Unit Files ====== | ||
- | The request is intended to receive files of unit. | ||
- | |||
- | === Request Example === | ||
- | <code php>&svc=get_unit_files¶ms={ | ||
- | "id_unit": integer, | ||
- | "from": timestamp, | ||
- | "to": timestamp | ||
- | }</code> | ||
- | |||
- | === Parameters === | ||
- | ^ Parameter ^ Description ^ | ||
- | | id_unit | Unique Unit ID | | ||
- | | from | Start time of unit messages | | ||
- | | to | End time of unit messages | | ||
- | |||
- | === Server Response === | ||
- | == Result: == | ||
- | <code php>[ | ||
- | { | ||
- | "time": 1516107143, // File recording time | ||
- | "url": "http://ftp.geliospro.ru/gelios_mp_5432109876/1516107143.jpg" // Path to the file location | ||
- | }, | ||
- | ... | ||
- | ]</code> | ||
- | |||