@zohodesk/haas-api-creator
Version:
This is used to call server side api call as js api call in client side - hc -api javascript es6
16 lines (15 loc) • 355 B
JavaScript
import { constants } from '@zohodesk/js-api-creator';
export default {
"department.logo.update":{
url:"departments/:departmentId/logo",
method:constants.post
},
"globalSearch":{
url:"globalSearch",
method:constants.post
},
"getCustomViews": {
url: "views",
method: constants.get
}
}