log.yaml
441 字节
version: v1
kind: HttpApi
metadata:
service: log
path: /logs
endpoints:
- method: createLog
route:
post: /
- method: updateLog
route:
put: /{logId}
- method: getLog
route:
get: /{logId}
- method: removeLog
route:
delete: /{logId}
- method: listLog
route:
get: /
params:
- name: offset
- name: limit
- method: searchLog
route:
post: /search