Worker-to-Worker API Composition
Compose internal Worker services behind one public gateway without turning every call into an external proxy.
When to use this
What this does not do
Repo-grounded example
{
"serviceBindings": [
{ "alias": "hooks", "binding": "HOOKS" },
{ "alias": "target", "binding": "TARGET" }
],
"paths": [
{
"method": "POST",
"path": "/orders",
"pre_process": { "binding": "hooks", "function": "before" },
"integration": {
"type": "service_binding",
"binding": "target",
"function": "run"
}
}
]
}Troubleshooting
Related docs
Last updated