BE:Squads/Piratech/Projekte/DasDing/API

Aus Piratenwiki
Wechseln zu: Navigation, Suche

Aufrufe

Users

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


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

Events

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


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


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


Actions

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


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