BlogsTemporalWorkflow REST API Generation

Workflow REST API Generation

Workflow REST API Generation

1
posts
2022

Temporal Workflows can now be exposed as REST APIs with minimal boilerplate using the temporal-rest library. This library automatically generates ExpressJS middleware to handle starting workflows, querying their state, and signaling them, abstracting away the need for manual API implementation and reducing boilerplate code for developers.

2022

REST API for every Temporal Workflow in one line of code

2/28/2022

Introduced `temporal-rest`, an npm package that provides an ExpressJS middleware (`createExpressMiddleware`) to automatically generate RESTful API endpoints for Temporal Workflows. This middleware handles starting workflows, querying their state, and sending signals, simplifying the integration of Temporal Workflows with web applications.