Resources
Allocate a resource
Allocates one more resource on an active run, beyond what the suite declared, with the run's expiry. Names are unique within the run. Needs rig.run. Public effect: the address or URL is reachable from the Internet for the rest of the run.
post/v1/runs/{runId}/resources
Request
- Base URL: https://api.ironfang.com/rig
- URL: https://api.ironfang.com/rig/v1/runs/{runId}/resources
- Auth: one of:
- HTTP bearer
- HTTP bearer
Request body
Example request
{
"connector": {
"route": "stripe"
},
"name": "shipping_api",
"rules": [
{
"match": {
"method": "POST",
"path": "/v1/ship/{id}"
},
"respond": {
"status": 201
},
"sequence": [
{
"status": 201
}
]
}
]
}Response
Resource allocated
Changes
No recorded changes to this operation across all 1 revision of this API.