-
Notifications
You must be signed in to change notification settings - Fork 11
/
workflow.rest.xml
139 lines (133 loc) · 5.69 KB
/
workflow.rest.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
<?xml version="1.0" encoding="UTF-8"?>
<resource xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://moqui.org/xsd/rest-api-2.1.xsd"
name="moqui-workflow"
displayName="Moqui Workflow REST API"
description="APIs for the Moqui workflow engine"
version="1.0.0">
<resource name="basic" description="Basic API" version="1.0.0" require-authentication="anonymous-all">
<resource name="enum">
<method type="get">
<entity name="moqui.basic.Enumeration" operation="list"/>
</method>
</resource>
<resource name="uom">
<method type="get">
<entity name="moqui.basic.Uom" operation="list"/>
</method>
</resource>
<resource name="geo">
<method type="get">
<entity name="moqui.basic.Geo" operation="list"/>
</method>
</resource>
<resource name="status">
<resource name="item">
<method type="get">
<service name="org.moqui.basic.BasicServices.find#StatusItem"/>
</method>
</resource>
<resource name="flow">
<method type="get">
<service name="org.moqui.basic.BasicServices.find#StatusFlow"/>
</method>
<id name="statusFlowId">
<resource name="item">
<method type="get">
<service name="org.moqui.basic.BasicServices.find#StatusFlowItem"/>
</method>
</resource>
<resource name="transition">
<method type="get">
<service name="org.moqui.basic.BasicServices.find#StatusFlowTransition"/>
</method>
</resource>
</id>
</resource>
</resource>
</resource>
<resource name="entity" description="Entity API" version="1.0.0" require-authentication="anonymous-all">
<resource name="field" description="Find entity fields">
<method type="get">
<entity name="moqui.entity.EntityFieldDetail" operation="list"/>
</method>
</resource>
</resource>
<resource name="security" description="Security API" version="1.0.0">
<resource name="user">
<method type="get">
<service name="org.moqui.security.SecurityServices.find#User"/>
</method>
<resource name="login" require-authentication="anonymous-all">
<method type="post">
<service name="org.moqui.security.SecurityServices.login#User"/>
</method>
</resource>
<resource name="logout" require-authentication="anonymous-all">
<method type="post">
<service name="org.moqui.security.SecurityServices.logout#User"/>
</method>
</resource>
</resource>
<resource name="userGroup">
<method type="get">
<service name="org.moqui.security.SecurityServices.find#UserGroup"/>
</method>
</resource>
</resource>
<resource name="workflowType" description="Workflow Type API" version="1.0.0">
<method type="get">
<service name="org.moqui.workflow.WorkflowServices.find#WorkflowType"/>
</method>
</resource>
<resource name="workflow" description="Workflow API" version="1.0.0">
<method type="get">
<service name="org.moqui.workflow.WorkflowServices.find#Workflow"/>
</method>
<method type="post">
<service name="org.moqui.workflow.WorkflowServices.create#Workflow"/>
</method>
<method type="patch">
<service name="org.moqui.workflow.WorkflowServices.update#Workflow"/>
</method>
<id name="workflowId">
<resource name="design">
<method type="post">
<service name="org.moqui.workflow.WorkflowServices.design#Workflow"/>
</method>
</resource>
<resource name="variable">
<method type="get">
<service name="org.moqui.workflow.WorkflowServices.find#WorkflowVariable"/>
</method>
<method type="post">
<service name="org.moqui.workflow.WorkflowServices.create#WorkflowVariable"/>
</method>
</resource>
<resource name="initiator">
<method type="get">
<service name="org.moqui.workflow.WorkflowServices.find#WorkflowInitiator"/>
</method>
<method type="post">
<service name="org.moqui.workflow.WorkflowServices.create#WorkflowInitiator"/>
</method>
<method type="delete">
<service name="org.moqui.workflow.WorkflowServices.expire#WorkflowInitiator"/>
</method>
</resource>
</id>
<resource name="task">
<method type="get">
<service name="org.moqui.workflow.WorkflowServices.find#WorkflowInstanceTask"/>
</method>
<method type="patch">
<service name="org.moqui.workflow.WorkflowServices.update#WorkflowInstanceTask"/>
</method>
<resource name="count">
<method type="get">
<service name="org.moqui.workflow.WorkflowServices.count#WorkflowInstanceTask"/>
</method>
</resource>
</resource>
</resource>
</resource>