GeTS API » History » Revision 7
Revision 6 (Никита Давыдовский, 10/20/2013 09:49 PM) → Revision 7/13 (Кирилл Кулаков, 10/21/2013 01:18 PM)
h1. GeTS API 
 API based on HTTP protocol and YMapsML language. 
 {{toc}} 
 h2. Points 
 
 h3. Add point 
 Adds one or several points into database. 
 Request: 
 <pre> 
 <request token="%token%" isPublic="%true/false%" channel="%channel%"> 
   <point> 
     <!-- points in Yandex format --> 
   </point> 
 <request> 
 </pre> 
 Params: 
 * %token% - user's token (see function *login*) 
 * %true/false% - true if point should be in public space, otherwise - false 
 * %channel% - the name of user's channel or name of category channel 
 * list of points 
 Response: 
 <pre> 
 <response> 
 %message% 
 %error% 
 <response> 
 </pre> 
 Request should be kappa.cs.karelia.ru/~davydovs/gets/addPoints.php 
 
 h3. Remove point 
 h3. Load points 
 h3. Update point 
 h2. Tracks 
 h3. Add track 
 h3. Load track 
 h3. Update track's info 
 h3. Remove track 
 h2. Category 
 h3. addCategory 
 h3. getCategory 
 h2. Users 
 h3. Registration 
 h3. Authorization 
 h3. Quit session 
 h3. Remove user