Integration
Last updated
Was this helpful?
Last updated
Was this helpful?
boolean
- required
Defines whether the integration can be run at all. If set to false
, the integration cannot be run via an HTTP request (regardless of the value of http_api
), and the integration cannot be run via .
string
- required
The exposed endpoint for the integration. Integrations are called from {host}/integrations/execute/{path_name}
Documentation field providing an overview of the integrations functions.
boolean
- required
Determines whether or not an integration can be run via an HTTP request over the web.
When enabled, the integration can be called from {host}/integrations/execute/{path_name}
or any configured .
When disabled, the integration can only be called from another Glyue integration, via the.
boolean
- required
Controls whether to run the integration synchronously. If true
, Glyue will immediately return a 200
response without waiting for the integration to finish executing.
Useful for long-runnings tasks that may otherwise cause timeouts on clients, or in combination with callint
to spawn additional processes.
expression
- optional
A block of code that executes prior to the initialization of the integration.
expression
- optional
A block of code that runs only upon an integration failure, prior to the finally hook.
expression
- optional
A block of code that runs only upon a successfully completed integration, prior to the finally hook.
expression
- optional
A block of code that executes prior to the completion of an integration. This block will always run regardless of integration status.
The input is scoped to the responses
on the OAS 3 specification.
For a visual explanation of the timing of these hooks, see the .
Glyue has an integrated swagger page to allow for easy endpoint execution from within Glyue. The swagger request and response fields allow for the specification of swagger request bodies and sample responses. These must be formatted in line with the . Swagger
- This field is scoped to the requestBody
of the OAS 3 specification