GeTS API » History » Version 7
Кирилл Кулаков, 10/21/2013 01:18 PM
| 1 | 1 | Кирилл Кулаков | h1. GeTS API |
|---|---|---|---|
| 2 | |||
| 3 | API based on HTTP protocol and YMapsML language. |
||
| 4 | 2 | Никита Артемов | |
| 5 | 4 | Никита Давыдовский | {{toc}} |
| 6 | 2 | Никита Артемов | |
| 7 | 4 | Никита Давыдовский | h2. Points |
| 8 | 2 | Никита Артемов | |
| 9 | 4 | Никита Давыдовский | h3. Add point |
| 10 | 2 | Никита Артемов | |
| 11 | 7 | Кирилл Кулаков | Adds one or several points into database. |
| 12 | |||
| 13 | Request: |
||
| 14 | <pre> |
||
| 15 | <request token="%token%" isPublic="%true/false%" channel="%channel%"> |
||
| 16 | <point> |
||
| 17 | <!-- points in Yandex format --> |
||
| 18 | </point> |
||
| 19 | <request> |
||
| 20 | </pre> |
||
| 21 | |||
| 22 | Params: |
||
| 23 | * %token% - user's token (see function *login*) |
||
| 24 | * %true/false% - true if point should be in public space, otherwise - false |
||
| 25 | * %channel% - the name of user's channel or name of category channel |
||
| 26 | * list of points |
||
| 27 | |||
| 28 | Response: |
||
| 29 | <pre> |
||
| 30 | <response> |
||
| 31 | %message% |
||
| 32 | %error% |
||
| 33 | <response> |
||
| 34 | </pre> |
||
| 35 | |||
| 36 | 6 | Никита Давыдовский | Request should be kappa.cs.karelia.ru/~davydovs/gets/addPoints.php |
| 37 | |||
| 38 | 4 | Никита Давыдовский | h3. Remove point |
| 39 | 1 | Кирилл Кулаков | |
| 40 | 4 | Никита Давыдовский | h3. Load points |
| 41 | 1 | Кирилл Кулаков | |
| 42 | 4 | Никита Давыдовский | h3. Update point |
| 43 | |||
| 44 | 1 | Кирилл Кулаков | h2. Tracks |
| 45 | 4 | Никита Давыдовский | |
| 46 | h3. Add track |
||
| 47 | |||
| 48 | h3. Load track |
||
| 49 | |||
| 50 | h3. Update track's info |
||
| 51 | |||
| 52 | h3. Remove track |
||
| 53 | 5 | Никита Давыдовский | |
| 54 | h2. Category |
||
| 55 | |||
| 56 | h3. addCategory |
||
| 57 | |||
| 58 | h3. getCategory |
||
| 59 | 4 | Никита Давыдовский | |
| 60 | h2. Users |
||
| 61 | |||
| 62 | h3. Registration |
||
| 63 | |||
| 64 | h3. Authorization |
||
| 65 | |||
| 66 | h3. Quit session |
||
| 67 | 1 | Кирилл Кулаков | |
| 68 | 7 | Кирилл Кулаков | h3. Remove user |