BE:Squads/Piratech/Projekte/DasDing/API

Aus Piratenwiki
Wechseln zu: Navigation, Suche

Aufrufe

Users

/users
 Method   Action              Types               Params
 GET      unused      
 PUT      unused
 POST     add new user        json, xml           name, password, phone, mobile, mail
 DELETE   unused


/users/id/{id}
 Method   Action              Types               Params
 GET      get user            json, xml
 PUT      update user         json, xml           password, phone, mobile, mail
 POST     unused
 DELETE   delete user


/users/id/{id}/interests
 Method   Action              Types               Params
 GET      get interests       json, xml
 PUT                                  
 POST     add interest        json, xml           interest
 DELETE   delete interest     json, xml           interest

Events

/events
 Method   Action              Types               Params
 GET      list all events     json, xml
 PUT      unused
 POST     add new event       json, xml           name, description, time
 DELETE   unused


/events/id/{id}
 Method   Action              Types               Params
 GET      get event           json, xml, kml
 PUT      update event        json, xml           name, description, time
 POST     unused
 DELETE   cancel event        json, xml


/events/id/{id}/createAction
 Method   Action              Types               Params
 GET      unused    
 PUT      unused            
 POST     creates an action   json, xml            name, description, time
 DELETE   unused


/events/find
 Method   Action              Types               Params
 GET      get events          json, xml           lat, lon, distance, category[]
 PUT      unused
 POST     unused
 DELETE   unused


/events/categories
 Method   Action              Types               Params
 GET      get categories      json, xml          
 PUT      unused
 POST     unused
 DELETE   unused

Actions

/actions/id/{id}
 Method   Action              Types               Params
 GET      get action          json, xml
 PUT      update action       json, xml           name, description, time
 POST     unused
 DELETE   cancel action       json, xml


/actions/find
 Method   Action              Types               Params
 GET      get actions         json, xml           lat, lon, distance, category[]
 PUT      unused
 POST     unused
 DELETE   unused


/actions/categories
 Method   Action              Types               Params
 GET      get categories      json, xml          
 PUT      unused
 POST     unused
 DELETE   unused