ru:airlay:api:air-lay-v3
Различия
Показаны различия между двумя версиями страницы.
| Предыдущая версия справа и слеваПредыдущая версияСледующая версия | Предыдущая версия | ||
| ru:airlay:api:air-lay-v3 [2019/06/24 10:56] – [Hierarchy] Рыков Павел | ru:airlay:api:air-lay-v3 [2019/07/11 07:05] (текущий) – [Tracker] Рыков Павел | ||
|---|---|---|---|
| Строка 26: | Строка 26: | ||
| /** | /** | ||
| * POST | * POST | ||
| + | | ||
| * Action for edit dataSet objects. | * Action for edit dataSet objects. | ||
| + | | ||
| * @param ObjectId $dataSetId DataSet Id | * @param ObjectId $dataSetId DataSet Id | ||
| * @param string json $commit Commit in edit format | * @param string json $commit Commit in edit format | ||
| Строка 32: | Строка 34: | ||
| */ | */ | ||
| / | / | ||
| + | </ | ||
| + | <code php> | ||
| + | /** | ||
| + | * POST | ||
| + | | ||
| + | * Action for clean dataSet object | ||
| + | | ||
| + | * @param ObjectId $dataSetId DataSet Id | ||
| + | * @return 200 OK | ||
| + | */ | ||
| + | / | ||
| + | </ | ||
| + | ==== Tracker ==== | ||
| + | <code php> | ||
| + | /** | ||
| + | * POST | ||
| + | * Action connect device to tracker | ||
| + | | ||
| + | * @param ObjectId $trackerId tracker id | ||
| + | * @return 200 OK | ||
| + | */ | ||
| + | / | ||
| + | </ | ||
| + | <code php> | ||
| + | /** | ||
| + | * POST | ||
| + | * Action for disconnect device to tracker | ||
| + | | ||
| + | * @param ObjectId $trackerId tracker id | ||
| + | * @return 200 OK | ||
| + | */ | ||
| + | / | ||
| + | </ | ||
| + | <code php> | ||
| + | /** | ||
| + | * POST | ||
| + | * Action send data to tracker module | ||
| + | | ||
| + | * @param string $type string type object (location/ | ||
| + | * @param json $body json object | ||
| + | * @param ObjectId $schemeId scheme id(if type object) | ||
| + | * @return 200 Ok | ||
| + | */ | ||
| + | / | ||
| + | </ | ||
| + | <code php> | ||
| + | /** | ||
| + | * POST | ||
| + | * Сonfirmation of a user's connection to the tracker | ||
| + | * | ||
| + | * @param ObjectId $trackerId Tracker id | ||
| + | * @param ObjectId $userId User id | ||
| + | * @param int $status Device status 0/1 | ||
| + | * @return 200 OK or 400 Error | ||
| + | */ | ||
| + | / | ||
| + | </ | ||
| + | ==== DataLoader ==== | ||
| + | <code php> | ||
| + | /** | ||
| + | * POST | ||
| + | | ||
| + | * Action for send data to DataLoader | ||
| + | | ||
| + | * @param raw data $body Upload data | ||
| + | * @param ObjectId $dataSetId DataSet id | ||
| + | * @return 200 OK|logId | ||
| + | */ | ||
| + | / | ||
| </ | </ | ||
| ==== Nodes ==== | ==== Nodes ==== | ||
| Строка 37: | Строка 108: | ||
| /** | /** | ||
| * GET | * GET | ||
| + | | ||
| * Get nodes by filter | * Get nodes by filter | ||
| * Bbox [[lon, lat],[lon, lat]], first point is top left bound, second point bottom right bound | * Bbox [[lon, lat],[lon, lat]], first point is top left bound, second point bottom right bound | ||
| + | | ||
| * @param ObjectId $dataSetId DataSet id. Required. | * @param ObjectId $dataSetId DataSet id. Required. | ||
| * @param string json $bbox Bbox coordinates in json array | * @param string json $bbox Bbox coordinates in json array | ||
| Строка 50: | Строка 123: | ||
| /** | /** | ||
| * GET | * GET | ||
| + | | ||
| * Get relation by filter: id, bbox, $uniqueValue. | * Get relation by filter: id, bbox, $uniqueValue. | ||
| * Bbox [[lon, lat],[lon, lat]], first point is top left bound, second point bottom right bound | * Bbox [[lon, lat],[lon, lat]], first point is top left bound, second point bottom right bound | ||
| Строка 65: | Строка 139: | ||
| /** | /** | ||
| * GET | * GET | ||
| + | | ||
| * Get relation by filter: id, bbox, $uniqueValue. | * Get relation by filter: id, bbox, $uniqueValue. | ||
| | | ||
ru/airlay/api/air-lay-v3.1561366595.txt.gz · Последнее изменение: (внешнее изменение)
