|
@@ -119,8 +119,8 @@ class ApiManager(http.Controller):
|
|
|
# Restify your request
|
|
|
# --------------------------------------------------------------------------
|
|
|
@http.route([
|
|
|
- '/api/<any(customer, lead, opportunity, product, product_tmpl, product_attr_line, product_attr_value, user, partner):resource>',
|
|
|
- '/api/<any(customer, lead, opportunity, product, product_tmpl, product_attr_line, product_attr_value, user, partner):resource>/<int:uid>'
|
|
|
+ '/api/<any(customer, lead, opportunity, product, product_template, product_attribute_line, product_attribute_value, user, partner):resource>',
|
|
|
+ '/api/<any(customer, lead, opportunity, product, product_template, product_attribute_line, product_attribute_value, user, partner):resource>/<int:uid>'
|
|
|
],
|
|
|
type = 'http',
|
|
|
auth = 'none',
|