wasmCloud · Example Payload

Wasmcloud Link Definition Example

Example link definition connecting a WebAssembly component to the HTTP server capability provider using WIT interfaces

Cloud NativeCNCFDistributed SystemsIncubatingRuntimeWasmWebAssemblyWIT

Wasmcloud Link Definition Example is an example object payload from wasmCloud, with 4 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

summarydescriptionsubjectexample

Example Payload

Raw ↑
{
  "summary": "wasmCloud Link Definition",
  "description": "Example link definition connecting a WebAssembly component to the HTTP server capability provider using WIT interfaces",
  "subject": "wasmbus.ctl.v1.{lattice}.link.put",
  "example": {
    "source_id": "http-hello-world",
    "target": "http-server",
    "name": "default",
    "wit_namespace": "wasi",
    "wit_package": "http",
    "interfaces": ["incoming-handler"],
    "source_config": [],
    "target_config": ["listen-config"]
  }
}