Check rate limit.
POST/operator/trafficlight
A simple way to implement rate limiting by checking whether a new request is allowed now.
Request
Header Parameters
ipaas string
- application/json
Bodyrequired
namestringrequired
An arbitrary name for this traffic light.
intervalnumberrequired
The minimum time that must pass after one request was allowed.
Responses
- 200
- 400
Success
- application/json
- Schema
- Example (auto)
Schema
okbooleanrequired
{
"ok": true
}
Bad Request
- application/json
- Schema
- Example (auto)
Schema
statusnumber
errorMessagestring
{
"status": 0,
"errorMessage": "string"
}