Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision Next revision Both sides next revision | ||
en:d-sdk:4_units:10_get_unit_files [2018/04/25 10:00] info@geliossoft.ru created |
en:d-sdk:4_units:10_get_unit_files [2018/04/25 21:45] support@geliossoft.ru |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | FIXME **This page is not fully translated, yet. Please help completing the translation.**\\ //(remove this paragraph once the translation is finished)// | + | ====== Unit's Files ====== |
+ | The request is intended to receive files of unit. | ||
- | ====== Получение файлов объекта ====== | + | === Request Example === |
- | Запрос предназначен для получения файлов объекта. | + | |
- | + | ||
- | === Пример запроса === | + | |
<code php>&svc=get_unit_files¶ms={ | <code php>&svc=get_unit_files¶ms={ | ||
"id_unit": integer, | "id_unit": integer, | ||
Line 11: | Line 9: | ||
}</code> | }</code> | ||
- | === Параметры === | + | === Parameters === |
- | ^ Параметр ^ Значение ^ | + | ^ Parameter ^ Description ^ |
- | | id_unit | Уникальный идентификатор объекта | | + | | id_unit | Unique Unit ID | |
- | | from | Начало периода сообщений объекта | | + | | from | Start time of unit messages | |
- | | to | Конец периода сообщений объекта | | + | | to | End time of unit messages | |
- | === Ответ сервера === | + | === Server Response === |
- | == Результат запроса == | + | == Result: == |
<code php>[ | <code php>[ | ||
{ | { | ||
- | "time": 1516107143, // Время записи файла | + | "time": 1516107143, // File recording time |
- | "url": "http://ftp.geliospro.ru/gelios_mp_5432109876/1516107143.jpg" // Путь к расположению файла | + | "url": "http://ftp.geliospro.ru/gelios_mp_5432109876/1516107143.jpg" // Path to the file location |
}, | }, | ||
... | ... |