Skip to content

Commit 46b278a

Browse files
CEX-672: [pim api doc] add channels_and_locales in get workflow endpoint (#1092)
1 parent f7d078e commit 46b278a

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

content/swagger/akeneo-web-api.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

content/swagger/resources/workflows/definitions/workflow.yaml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ properties:
2020
description: List of workflow steps
2121
items:
2222
type: object
23-
required: ["uuid", "code", "type", "labels", "descriptions", "allotted_time"]
23+
required: ["uuid", "code", "type", "labels", "descriptions", "allotted_time", "channels_and_locales"]
2424
properties:
2525
uuid:
2626
type: string
@@ -53,6 +53,14 @@ properties:
5353
type: string
5454
description: Time unit (days)
5555
x-nullable: true
56+
channels_and_locales:
57+
type: object
58+
description: Step configuration for channels and locales
59+
additionalProperties:
60+
type: array
61+
items:
62+
type: string
63+
description: Locale code
5664

5765
example:
5866
uuid: "6f37476a-04c2-46c0-b6d0-e18316959068"
@@ -73,9 +81,14 @@ example:
7381
allotted_time:
7482
value: 3
7583
unit: "days"
84+
channels_and_locales:
85+
ecommerce: ["en_US"]
86+
mobile: ["en_US", "fr_FR"]
7687
- uuid: "b2c1f3d4-5e6a-4c8b-9f0e-2d3e4f5a6b7c"
7788
code: "marketing_review"
7889
type: "review"
7990
labels: {}
8091
descriptions: {}
8192
allotted_time: null
93+
channels_and_locales:
94+
ecommerce: ["en_US"]

0 commit comments

Comments
 (0)