yutailang0119/GitHub Action for Mackerel API
Call a Mackerel API endpoint and get the resulting JSON response.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| server-url | The server url. e.g. "https://api.mackerelio.com" | — | https://api.mackerelio.com |
| api-key | API key for Mackerel - generate one at https://mackerel.io/my?tab=apikeys | yes | — |
| http-method | The HTTP method. e.g. GET / POST | — | GET |
| version | The API version. e.g "v0" | — | v0 |
| path | The endpoint path. e.g. "hosts/<hostId>/metadata/<namespace>" | yes | — |
| body | The request body string in JSON or hash format | — | "" |
| dry-run | Do not call Mackerel API. Just prints out. | — | false |
Outputs
| name | description |
|---|---|
| result | The return value of called API, stringified with `JSON.stringify` |