|
|
version: v1
|
|
|
kind: HttpApi
|
|
|
metadata:
|
|
|
service: attendance
|
|
|
path: /attendances
|
|
|
endpoints:
|
|
|
- method: createAttendance
|
|
|
route:
|
|
|
post: /
|
|
|
- method: updateAttendance
|
|
|
route:
|
|
|
put: /{productAttendanceId}
|
|
|
- method: getAttendance
|
|
|
route:
|
|
|
get: /{productAttendanceId}
|
|
|
- method: removeAttendance
|
|
|
route:
|
|
|
delete: /{productAttendanceId}
|
|
|
- method: listAttendance
|
|
|
route:
|
|
|
get: /
|
|
|
params:
|
|
|
- name: offset
|
|
|
- name: limit
|
|
|
- method: approveAttendance
|
|
|
route:
|
|
|
post: /approve |
...
|
...
|
|