Skip to content
Registry

http

v0.22.2

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.22.2

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

Functions1

http::configuration-id

Function

Returns this HTTP instance's configuration entry ID, without its value.

Request
Empty object
Response
  • idstringrequired

Triggers1

http

Trigger

HTTP API trigger

Invocation
  • api_pathstringrequired
  • condition_function_idstring
  • http_methodstring
  • middleware_function_idsstring[]
  • public_webhookboolean

    Also expose this route on the restricted webhook listener. Explicit opt-in only; the default keeps existing routes on the normal listener.

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.