actions-marketplace-validations/Wait for API Action
A Github Action to wait for a specific API response to proceed.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| method | Which HTTP method to use | yes | GET |
| url | The URL to talk to | yes | — |
| headers | Optional headers, as a JSON string | no | — |
| expected-status | Which HTTP status to expect | yes | 200 |
| expected-response-field | If set, this field must exist in the API response. Use dot notation for nested fields (e.g. "data.user.name") | no | — |
| expected-response-field-value | If set, the field from "expected-response-field" must be this value. Nota that any value is converted to a string. | no | — |
| timeout | The max. time in seconds to wait until the action should fail. | yes | 300 |
| interval | The time in seconds to wait between trying the API. | yes | 10 |
Outputs
no outputs