yangtaeyoung/API Check during CI/CD
Check the API during CI/CD to ensure it is working as expected
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| max_retries | The maximum number of retries | yes | 100 |
| retry_delay | The delay between retries (milliseconds) | no | 1000 |
| url | The URL of the API | yes | https://www.google.com |
| method | The HTTP method to use | yes | GET |
| request_headers | The headers to include in the request (format: "key1=value1,key2=value") | no | "" |
| request_body | The body to include in the request (example: {"key1":"value1","key2":"value"}) | no | "" |
| expected_pass_count | The number of times the API should pass | no | 1 |
| expected_status | The expected HTTP status code | yes | 200 |
| expected_headers | The expected headers in the response (format: "key1=value1,key2=value") | no | "" |
| expected_body | The expected body in the response (format: JSON) | no | "" |
| timeout | The maximum time to wait for the request to complete (milliseconds) | no | 3000 |
Outputs
no outputs