Инструменты пользователя

Инструменты сайта


ru:airlay:dataloader

Различия

Показаны различия между двумя версиями страницы.

Ссылка на это сравнение

Предыдущая версия справа и слева Предыдущая версия
Следующая версия
Предыдущая версия
Следующая версия Следующая версия справа и слева
ru:airlay:dataloader [2019/07/05 16:19]
Калинин Александр Игоревич [API получения логов]
ru:airlay:dataloader [2019/10/25 09:41]
Vladislav Goncharov [Коды ошибок]
Строка 7: Строка 7:
 <code javascript> <code javascript>
 api type: POST api type: POST
-/api/v2/dataLoader/send+/api/v3/dataLoader/send
 //headers// //headers//
 Authorization: Bearer YOUR_TOKEN Authorization: Bearer YOUR_TOKEN
Строка 13: Строка 13:
 //body// //body//
 body : string(данные для отправки) body : string(данные для отправки)
 +dataSetId : string(id dataSet)
  
-//return//+//return// возвращает id лога
 Корректная отправка Корректная отправка
 { {
     "status": 200,     "status": 200,
-    "message": "OK",+    "message": "5d2*******d0c80",
     "code": 0     "code": 0
 } }
Строка 79: Строка 80:
 === relation === === relation ===
   *   201 Relation properties not exists   *   201 Relation properties not exists
-  *   202 Relation members not exists+  *   202 Geometry cannot be built. Relation coordinates not exists
   *   203 Relation geometryType not exists   *   203 Relation geometryType not exists
  
 === member === === member ===
-  * 301 'Member not found. Id +  * 301 Member not found. Id 
-  * 302 'Node not found'+  * 302 Node not found
   * 303 Invalid member type   * 303 Invalid member type
   * 304 One relation members expected for polygon   * 304 One relation members expected for polygon
   * 305 Three or more node members expected for polygon   * 305 Three or more node members expected for polygon
   * 306 Impossible to build the geometry of different types   * 306 Impossible to build the geometry of different types
-  * 307 One relation member is expected for a point+  * 307 One and more relation member is expected for a multi point
 === geometry === === geometry ===
-  * 400 Invalid geometry +  * 400 Relation not found 
-  * 401 Geometry type point is expected for a Point relation+  * 401 Geometry type point is expected for a MultiPoint relation
   * 402 Geometry type Point or LineString is expected for a LineString   * 402 Geometry type Point or LineString is expected for a LineString
   * 403 Invalid geometry, is not array   * 403 Invalid geometry, is not array
Строка 104: Строка 105:
   * 410 Polygon crosses itself   * 410 Polygon crosses itself
   * 411 Invalid geometry type   * 411 Invalid geometry type
 +  * 412 Empty geometry coordinates
ru/airlay/dataloader.txt · Последнее изменение: 2021/05/17 20:59 — Лев