Dies ist ein ReadOnly-Mirror von wiki.piratenpartei.de!
Die Daten werden täglich aktualisiert.

BE:Squads/Piratech/Projekte/DasDing/API/actions

Aus Piratenwiki Mirror
< BE:Squads‎ | Piratech‎ | Projekte‎ | DasDing‎ | API
Version vom 28. Oktober 2012, 15:55 Uhr von imported>Deveth0
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Zur Navigation springen Zur Suche springen
  • Parameters marked with * are optional

/actions

/actions

/actions/find

/actions/find

actiondescriptionreturnsrestrictionsparams
GETSearches for actionsjson, xml-lat, lon, distance, category
PUT----
POST----
DELETE----

/actions/categories

/actions/categories

actiondescriptionreturnsrestrictionsparams
GETLoads all verified actioncategoriesjson, xml--
PUT----
POSTCreates an actioncategory. If user is verified, the category is set to verified400 or 201 with location set to category-detailpageAuthorizedname, description
DELETE----

/actions/categories/{categoryid}

actiondescriptionreturnsrestrictionsparams
GETLoads the given actioncategoryjson, xml--
PUTUpdates the given actioncategory. Verified is only set if user is verified400 or 204Authorized, User who created actioncategory or adminname*, description*, verified*
POST----
DELETEDeletes the given actioncategory400 or 204Admin only-