yutailang0119/GitHub Action for Mackerel API

Call a Mackerel API endpoint and get the resulting JSON response.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
server-urlThe server url. e.g. "https://api.mackerelio.com"https://api.mackerelio.com
api-keyAPI key for Mackerel - generate one at https://mackerel.io/my?tab=apikeysyes
http-methodThe HTTP method. e.g. GET / POSTGET
versionThe API version. e.g "v0"v0
pathThe endpoint path. e.g. "hosts/<hostId>/metadata/<namespace>"yes
bodyThe request body string in JSON or hash format""
dry-runDo not call Mackerel API. Just prints out.false
namedescription
resultThe return value of called API, stringified with `JSON.stringify`