API map EN: различия между версиями
Нет описания правки |
|||
(не показана 1 промежуточная версия этого же участника) | |||
Строка 2: | Строка 2: | ||
Section '''[[API_EN|API]]''' ERP "UserSide" | Section '''[[API_EN|API]]''' ERP "UserSide" | ||
Purpose: Action with coverage maps | |||
Optional parameters: | |||
action - request subcategory ''(possible value: see below)'' | |||
== Subcategories == | |||
==== add_label ==== | |||
''Added in: 3.19beta1'' | |||
Description: Add labelling | |||
Obligatory parameters: | |||
lat - latitude | |||
lon - longitude | |||
text - text of inscription | |||
==== add_poly ==== | |||
''Added in: 3.18beta1'' | |||
Description: Add polygon | |||
Obligatory parameters: | |||
coord - coordinates ''(comma separated)'' | |||
name - name | |||
Optional parameters: | |||
colour - HTML colour of the polygon | |||
==== check_entry_point_in_polygon ==== | |||
''Added in: 3.14.69'' | |||
Description: List of polygons that include a point | |||
Obligatory parameters: | |||
lat - latitude of the point | |||
lon - longitude of the point | |||
==== edit_label ==== | |||
''Added in: 3.19beta1'' | |||
Description: Edit label | |||
Obligatory parameters: | |||
id - id of the object | |||
Optional parameters: | |||
lat - latitude | |||
lon - longitude | |||
text - text of the inscription | |||
==== edit_poly ==== | |||
''Added in: 3.19beta1'' | |||
Description: Edit polygon | |||
Obligatory parameters: | |||
id - id of the object | |||
Optional parameters: | |||
coord - coordinates ''(comma separated)'' | |||
name - name | |||
colour - HTML colour of the polygon | |||
==== get ==== | |||
''Added in: 3.12.10'' | |||
Description: List of objects | |||
Optional parameters: | |||
id - list of object IDs ''(comma separated)'' | |||
==== get_poly ==== | |||
''Added in: 3.12.80'' | |||
Description: List of polygons | |||
Optional parameters: | |||
id - list of object IDs ''(comma separated)'' |
Текущая версия от 22:06, 26 апреля 2024
Section API ERP "UserSide"
Purpose: Action with coverage maps
Optional parameters: action - request subcategory (possible value: see below)
Subcategories
add_label
Added in: 3.19beta1
Description: Add labelling Obligatory parameters: lat - latitude lon - longitude text - text of inscription
add_poly
Added in: 3.18beta1
Description: Add polygon Obligatory parameters: coord - coordinates (comma separated) name - name Optional parameters: colour - HTML colour of the polygon
check_entry_point_in_polygon
Added in: 3.14.69
Description: List of polygons that include a point Obligatory parameters: lat - latitude of the point lon - longitude of the point
edit_label
Added in: 3.19beta1
Description: Edit label Obligatory parameters: id - id of the object Optional parameters: lat - latitude lon - longitude text - text of the inscription
edit_poly
Added in: 3.19beta1
Description: Edit polygon Obligatory parameters: id - id of the object Optional parameters: coord - coordinates (comma separated) name - name colour - HTML colour of the polygon
get
Added in: 3.12.10
Description: List of objects Optional parameters: id - list of object IDs (comma separated)
get_poly
Added in: 3.12.80
Description: List of polygons Optional parameters: id - list of object IDs (comma separated)