Flow Version Steps
Retrieves a paginated list of all steps for a specific flow version.
API key passed in the Authorization header. Format: <api-key>
The flow version identifier.
Filter results by name.
Comma-separated list of relationships to include. Available: flowVersion, endpoint, endpoint.system.logo, children, connector, filters, parentFlowStep, routes, variables, scriptVersion, scriptVersion.script, scriptVersion.content, cache, flow, notificationGroup
Page number for pagination.
1Number of results per page.
Successful response
Unauthenticated
Unauthorized
GET /api/v1/flow-versions/{flow_version}/steps HTTP/1.1
Host: core.wearepatchworks.com
Authorization: YOUR_API_KEY
Accept: */*
{
"data": [
{
"id": 0,
"flow_version_id": 0,
"name": "string",
"microservice": "string",
"config": {},
"parent_id": null,
"parent_flow_step": null,
"notification_group": null,
"order": 0
}
],
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"path": "https://core.wearepatchworks.com/api/v1/flow-versions/29/steps",
"per_page": 15,
"to": 1,
"total": 1
},
"links": {
"first": "https://core.wearepatchworks.com/api/v1/flow-versions/29/steps?page=1",
"last": "https://core.wearepatchworks.com/api/v1/flow-versions/29/steps?page=1",
"prev": null,
"next": null
}
}Creates a new step for a flow version. Requires a name and microservice, and optionally accepts configuration, a parent step, and variables.
API key passed in the Authorization header. Format: <api-key>
The flow version identifier.
Successful response
Unauthenticated
Unauthorized
Validation Error
POST /api/v1/flow-versions/{flow_version}/steps HTTP/1.1
Host: core.wearepatchworks.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 107
{
"flow_version_id": 0,
"name": "string",
"microservice": "string",
"config": {},
"parent_id": null,
"variables": null
}{
"data": {
"id": 0,
"flow_version_id": 0,
"name": "string",
"microservice": "string",
"config": {},
"parent_id": null,
"parent_flow_step": null,
"notification_group": null,
"order": 0
}
}Retrieves the details of a specific step for a flow version.
API key passed in the Authorization header. Format: <api-key>
The flow version identifier.
The step identifier.
Successful response
Unauthenticated
Unauthorized
GET /api/v1/flow-versions/{flow_version}/steps/{step} HTTP/1.1
Host: core.wearepatchworks.com
Authorization: YOUR_API_KEY
Accept: */*
{
"data": {
"id": 0,
"flow_version_id": 0,
"name": "string",
"microservice": "string",
"config": {},
"parent_id": null,
"parent_flow_step": null,
"notification_group": null,
"order": 0
}
}Updates an existing step. Accepts name, microservice, configuration, parent step, and variable changes.
API key passed in the Authorization header. Format: <api-key>
The flow version identifier.
The step identifier.
Successful response
Unauthenticated
Unauthorized
Validation Error
PUT /api/v1/flow-versions/{flow_version}/steps/{step} HTTP/1.1
Host: core.wearepatchworks.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 87
{
"name": "string",
"microservice": "string",
"config": {},
"parent_id": null,
"variables": null
}{
"data": {
"id": 0,
"flow_version_id": 0,
"name": "string",
"microservice": "string",
"config": {},
"parent_id": null,
"parent_flow_step": null,
"notification_group": null,
"order": 0
}
}Permanently deletes a specific step from a flow version.
API key passed in the Authorization header. Format: <api-key>
The flow version identifier.
The step identifier.
Successful response
Unauthenticated
Unauthorized
DELETE /api/v1/flow-versions/{flow_version}/steps/{step} HTTP/1.1
Host: core.wearepatchworks.com
Authorization: YOUR_API_KEY
Accept: */*
{
"message": "string"
}Creates a new child step beneath a specified step, connected via a flow step route.
API key passed in the Authorization header. Format: <api-key>
The flow version identifier.
The step identifier.
Successful response
Unauthenticated
Unauthorized
Validation Error
POST /api/v1/flow-versions/{flow_version}/steps/{step}/children HTTP/1.1
Host: core.wearepatchworks.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 96
{
"name": "string",
"microservice": "string",
"config": {},
"flow_step_route_id": null,
"variables": null
}{
"data": {
"id": 0,
"flow_version_id": 0,
"name": "string",
"microservice": "string",
"config": {},
"parent_id": null,
"parent_flow_step": null,
"notification_group": null,
"order": 0
}
}Creates a new parent step above a specified step.
API key passed in the Authorization header. Format: <api-key>
The flow version identifier.
The step identifier.
Successful response
Unauthenticated
Unauthorized
Validation Error
POST /api/v1/flow-versions/{flow_version}/steps/{step}/parents HTTP/1.1
Host: core.wearepatchworks.com
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 53
{
"name": "string",
"microservice": "string",
"config": {}
}{
"data": {
"id": 0,
"flow_version_id": 0,
"name": "string",
"microservice": "string",
"config": {},
"parent_id": null,
"parent_flow_step": null,
"notification_group": null,
"order": 0
}
}Last updated
Was this helpful?