workshop.yaml
434 字节
version: v1
kind: HttpApi
metadata:
service: workshop
path: /workshops
endpoints:
- method: createWorkshop
route:
post: /
- method: updateWorkshop
route:
put: /{workshopId}
- method: getWorkshop
route:
get: /{workshopId}
- method: removeWorkshop
route:
delete: /{workshopId}
- method: listWorkshop
route:
get: /
params:
- name: offset
- name: limit