Skip to content

Service gategories labels

x1s edited this page Feb 14, 2012 · 1 revision

Gategories/Labels

Method Auth? URL Description
GET false /category/ get all categories
GET false /category?idProduct=:idProduct get all product's categories
GET false /category/:garage get all garage's categories
POST true /category params: user, category, idProduct. save a new category to some product
DELETE true /category/:id?user=:user remove some user's category if not associated with any product or garage

Clone this wiki locally