Skip to content
Registry

http

v0.21.9

Expose functions as HTTP endpoints — registers the `http` trigger type and serves matched routes.

license: Apache-2.0apiendpointhttprest

Install

bash
iii trigger compose::add worker=http@0.21.9

Run in your project with the iii engine running. Exact versions are immutable and digest-pinned.

Functions1

http::on-config-change

Function

Internal: reload http configuration from the authoritative store on change.

Request
Empty object
Response
  • okbooleanrequired

Triggers1

http

Trigger

HTTP API trigger

Invocation
  • api_pathstringrequired
  • condition_function_idstring
  • http_methodstring
  • middleware_function_idsstring[]
Return
  • bodyunknownrequired
  • headersobjectrequired
  • methodstringrequired
  • pathstringrequired
  • path_paramsobjectrequired
  • query_paramsobjectrequired
  • request_bodyobjectrequired
    • access_keystringrequired
    • channel_idstringrequired
    • directionstringrequiredenum read, write
  • responseobjectrequired
    • access_keystringrequired
    • channel_idstringrequired
    • directionstringrequiredenum read, write
  • triggerany of
    any of (2)
    Variant 1
    • methodstring
    • pathstring
    • typestringrequired
    Variant 2
    valuenull

Search the registry

Find workers, kits and executables, or jump to a page.