@bpmnkit/proxy 0.0.26 → 0.0.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/aikit-mcp.js +93 -0
- package/dist/camunda-spec.js +1147 -0
- package/dist/mcp-server.js +56 -0
- package/dist/sandbox.js +27 -0
- package/dist/sdk-code-mode.js +60 -0
- package/dist/sdk-spec.js +67 -0
- package/package.json +6 -5
|
@@ -0,0 +1,1147 @@
|
|
|
1
|
+
// Auto-generated by scripts/generate-camunda-spec.mjs — do not edit manually.
|
|
2
|
+
// Re-run: node scripts/generate-camunda-spec.mjs
|
|
3
|
+
export const CAMUNDA_SPEC = {
|
|
4
|
+
auditLog: {
|
|
5
|
+
searchAuditLogs: {
|
|
6
|
+
description: "Search audit logs Search for audit logs based on given criteria.",
|
|
7
|
+
endpoint: "POST /audit-logs/search",
|
|
8
|
+
params: "body?: AuditLogSearchQueryRequest",
|
|
9
|
+
returns: "AuditLogSearchQueryResult",
|
|
10
|
+
},
|
|
11
|
+
getAuditLog: {
|
|
12
|
+
description: "Get audit log Get an audit log entry by auditLogKey.",
|
|
13
|
+
endpoint: "GET /audit-logs/{auditLogKey}",
|
|
14
|
+
params: "auditLogKey: string",
|
|
15
|
+
returns: "AuditLogResult",
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
authentication: {
|
|
19
|
+
getAuthentication: {
|
|
20
|
+
description: "Get current user Retrieves the current authenticated user.",
|
|
21
|
+
endpoint: "GET /authentication/me",
|
|
22
|
+
params: "none",
|
|
23
|
+
returns: "CamundaUserResult",
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
authorization: {
|
|
27
|
+
createAuthorization: {
|
|
28
|
+
description: "Create authorization Create the authorization.",
|
|
29
|
+
endpoint: "POST /authorizations",
|
|
30
|
+
params: "body: AuthorizationRequest",
|
|
31
|
+
returns: "AuthorizationCreateResult",
|
|
32
|
+
},
|
|
33
|
+
searchAuthorizations: {
|
|
34
|
+
description: "Search authorizations Search for authorizations based on given criteria.",
|
|
35
|
+
endpoint: "POST /authorizations/search",
|
|
36
|
+
params: "body?: AuthorizationSearchQuery",
|
|
37
|
+
returns: "AuthorizationSearchResult",
|
|
38
|
+
},
|
|
39
|
+
getAuthorization: {
|
|
40
|
+
description: "Get authorization Get authorization by the given key.",
|
|
41
|
+
endpoint: "GET /authorizations/{authorizationKey}",
|
|
42
|
+
params: "authorizationKey: string",
|
|
43
|
+
returns: "AuthorizationResult",
|
|
44
|
+
},
|
|
45
|
+
updateAuthorization: {
|
|
46
|
+
description: "Update authorization Update the authorization with the given key.",
|
|
47
|
+
endpoint: "PUT /authorizations/{authorizationKey}",
|
|
48
|
+
params: "authorizationKey: string, body: AuthorizationRequest",
|
|
49
|
+
returns: "void",
|
|
50
|
+
},
|
|
51
|
+
deleteAuthorization: {
|
|
52
|
+
description: "Delete authorization Deletes the authorization with the given key.",
|
|
53
|
+
endpoint: "DELETE /authorizations/{authorizationKey}",
|
|
54
|
+
params: "authorizationKey: string",
|
|
55
|
+
returns: "void",
|
|
56
|
+
},
|
|
57
|
+
},
|
|
58
|
+
batchOperation: {
|
|
59
|
+
searchBatchOperationItems: {
|
|
60
|
+
description: "Search batch operation items Search for batch operation items based on given criteria.",
|
|
61
|
+
endpoint: "POST /batch-operation-items/search",
|
|
62
|
+
params: "body?: BatchOperationItemSearchQuery",
|
|
63
|
+
returns: "BatchOperationItemSearchQueryResult",
|
|
64
|
+
},
|
|
65
|
+
searchBatchOperations: {
|
|
66
|
+
description: "Search batch operations Search for batch operations based on given criteria.",
|
|
67
|
+
endpoint: "POST /batch-operations/search",
|
|
68
|
+
params: "body?: BatchOperationSearchQuery",
|
|
69
|
+
returns: "BatchOperationSearchQueryResult",
|
|
70
|
+
},
|
|
71
|
+
getBatchOperation: {
|
|
72
|
+
description: "Get batch operation Get batch operation by key.",
|
|
73
|
+
endpoint: "GET /batch-operations/{batchOperationKey}",
|
|
74
|
+
params: "batchOperationKey: string",
|
|
75
|
+
returns: "BatchOperationResponse",
|
|
76
|
+
},
|
|
77
|
+
cancelBatchOperation: {
|
|
78
|
+
description: "Cancel Batch operation Cancels a running batch operation. This is done asynchronously, the progress can be tracked using the batch operation status endpoint (/batch-operations/{batchOperationKey}).",
|
|
79
|
+
endpoint: "POST /batch-operations/{batchOperationKey}/cancellation",
|
|
80
|
+
params: "batchOperationKey: string",
|
|
81
|
+
returns: "void",
|
|
82
|
+
},
|
|
83
|
+
resumeBatchOperation: {
|
|
84
|
+
description: "Resume Batch operation Resumes a suspended batch operation. This is done asynchronously, the progress can be tracked using the batch operation status endpoint (/batch-operations/{batchOperationKey}).",
|
|
85
|
+
endpoint: "POST /batch-operations/{batchOperationKey}/resumption",
|
|
86
|
+
params: "batchOperationKey: string",
|
|
87
|
+
returns: "void",
|
|
88
|
+
},
|
|
89
|
+
suspendBatchOperation: {
|
|
90
|
+
description: "Suspend Batch operation Suspends a running batch operation. This is done asynchronously, the progress can be tracked using the batch operation status endpoint (/batch-operations/{batchOperationKey}).",
|
|
91
|
+
endpoint: "POST /batch-operations/{batchOperationKey}/suspension",
|
|
92
|
+
params: "batchOperationKey: string",
|
|
93
|
+
returns: "void",
|
|
94
|
+
},
|
|
95
|
+
},
|
|
96
|
+
clock: {
|
|
97
|
+
pinClock: {
|
|
98
|
+
description: "Pin internal clock (alpha) Set a precise, static time for the Zeebe engine's internal clock. When the clock is pinned, it remains at the specified time and does not advance. To change the time, the clock must be pinned again with a new timestamp.",
|
|
99
|
+
endpoint: "PUT /clock",
|
|
100
|
+
params: "body: ClockPinRequest",
|
|
101
|
+
returns: "void",
|
|
102
|
+
},
|
|
103
|
+
resetClock: {
|
|
104
|
+
description: "Reset internal clock (alpha) Resets the Zeebe engine's internal clock to the current system time, enabling it to tick in real-time. This operation is useful for returning the clock to normal behavior after it has been pinned to a specific time.",
|
|
105
|
+
endpoint: "POST /clock/reset",
|
|
106
|
+
params: "none",
|
|
107
|
+
returns: "void",
|
|
108
|
+
},
|
|
109
|
+
},
|
|
110
|
+
clusterVariable: {
|
|
111
|
+
createGlobalClusterVariable: {
|
|
112
|
+
description: "Create a global-scoped cluster variable Create a global-scoped cluster variable.",
|
|
113
|
+
endpoint: "POST /cluster-variables/global",
|
|
114
|
+
params: "body: CreateClusterVariableRequest",
|
|
115
|
+
returns: "ClusterVariableResult",
|
|
116
|
+
},
|
|
117
|
+
getGlobalClusterVariable: {
|
|
118
|
+
description: "Get a global-scoped cluster variable Get a global-scoped cluster variable.",
|
|
119
|
+
endpoint: "GET /cluster-variables/global/{name}",
|
|
120
|
+
params: "name: string",
|
|
121
|
+
returns: "ClusterVariableResult",
|
|
122
|
+
},
|
|
123
|
+
updateGlobalClusterVariable: {
|
|
124
|
+
description: "Update a global-scoped cluster variable Updates the value of an existing global cluster variable. The variable must exist, otherwise a 404 error is returned.",
|
|
125
|
+
endpoint: "PUT /cluster-variables/global/{name}",
|
|
126
|
+
params: "name: string, body: UpdateClusterVariableRequest",
|
|
127
|
+
returns: "ClusterVariableResult",
|
|
128
|
+
},
|
|
129
|
+
deleteGlobalClusterVariable: {
|
|
130
|
+
description: "Delete a global-scoped cluster variable Delete a global-scoped cluster variable.",
|
|
131
|
+
endpoint: "DELETE /cluster-variables/global/{name}",
|
|
132
|
+
params: "name: string",
|
|
133
|
+
returns: "void",
|
|
134
|
+
},
|
|
135
|
+
searchClusterVariables: {
|
|
136
|
+
description: "Search for cluster variables based on given criteria. By default, long variable values in the response are truncated.",
|
|
137
|
+
endpoint: "POST /cluster-variables/search",
|
|
138
|
+
params: "body?: ClusterVariableSearchQueryRequest, query?: { truncateValues?: boolean }",
|
|
139
|
+
returns: "ClusterVariableSearchQueryResult",
|
|
140
|
+
},
|
|
141
|
+
createTenantClusterVariable: {
|
|
142
|
+
description: "Create a tenant-scoped cluster variable Create a new cluster variable for the given tenant.",
|
|
143
|
+
endpoint: "POST /cluster-variables/tenants/{tenantId}",
|
|
144
|
+
params: "tenantId: string, body: CreateClusterVariableRequest",
|
|
145
|
+
returns: "ClusterVariableResult",
|
|
146
|
+
},
|
|
147
|
+
getTenantClusterVariable: {
|
|
148
|
+
description: "Get a tenant-scoped cluster variable Get a tenant-scoped cluster variable.",
|
|
149
|
+
endpoint: "GET /cluster-variables/tenants/{tenantId}/{name}",
|
|
150
|
+
params: "tenantId: string, name: string",
|
|
151
|
+
returns: "ClusterVariableResult",
|
|
152
|
+
},
|
|
153
|
+
updateTenantClusterVariable: {
|
|
154
|
+
description: "Update a tenant-scoped cluster variable Updates the value of an existing tenant-scoped cluster variable. The variable must exist, otherwise a 404 error is returned.",
|
|
155
|
+
endpoint: "PUT /cluster-variables/tenants/{tenantId}/{name}",
|
|
156
|
+
params: "tenantId: string, name: string, body: UpdateClusterVariableRequest",
|
|
157
|
+
returns: "ClusterVariableResult",
|
|
158
|
+
},
|
|
159
|
+
deleteTenantClusterVariable: {
|
|
160
|
+
description: "Delete a tenant-scoped cluster variable Delete a tenant-scoped cluster variable.",
|
|
161
|
+
endpoint: "DELETE /cluster-variables/tenants/{tenantId}/{name}",
|
|
162
|
+
params: "tenantId: string, name: string",
|
|
163
|
+
returns: "void",
|
|
164
|
+
},
|
|
165
|
+
},
|
|
166
|
+
conditional: {
|
|
167
|
+
evaluateConditionals: {
|
|
168
|
+
description: "Evaluate root level conditional start events Evaluates root-level conditional start events for process definitions. If the evaluation is successful, it will return the keys of all created process instances, along with their associated process definition key. Multiple root-level conditional start events of the same process definition can trigger if their conditions evaluate to true.",
|
|
169
|
+
endpoint: "POST /conditionals/evaluation",
|
|
170
|
+
params: "body: ConditionalEvaluationInstruction",
|
|
171
|
+
returns: "EvaluateConditionalResult",
|
|
172
|
+
},
|
|
173
|
+
},
|
|
174
|
+
messageSubscription: {
|
|
175
|
+
searchCorrelatedMessageSubscriptions: {
|
|
176
|
+
description: "Search correlated message subscriptions Search correlated message subscriptions based on given criteria.",
|
|
177
|
+
endpoint: "POST /correlated-message-subscriptions/search",
|
|
178
|
+
params: "body?: CorrelatedMessageSubscriptionSearchQuery",
|
|
179
|
+
returns: "CorrelatedMessageSubscriptionSearchQueryResult",
|
|
180
|
+
},
|
|
181
|
+
searchMessageSubscriptions: {
|
|
182
|
+
description: "Search message subscriptions Search for message subscriptions based on given criteria.",
|
|
183
|
+
endpoint: "POST /message-subscriptions/search",
|
|
184
|
+
params: "body?: MessageSubscriptionSearchQuery",
|
|
185
|
+
returns: "MessageSubscriptionSearchQueryResult",
|
|
186
|
+
},
|
|
187
|
+
},
|
|
188
|
+
decisionDefinition: {
|
|
189
|
+
evaluateDecision: {
|
|
190
|
+
description: "Evaluate decision Evaluates a decision. You specify the decision to evaluate either by using its unique key (as returned by DeployResource), or using the decision ID. When using the decision ID, the latest deployed",
|
|
191
|
+
endpoint: "POST /decision-definitions/evaluation",
|
|
192
|
+
params: "body: DecisionEvaluationInstruction",
|
|
193
|
+
returns: "EvaluateDecisionResult",
|
|
194
|
+
},
|
|
195
|
+
searchDecisionDefinitions: {
|
|
196
|
+
description: "Search decision definitions Search for decision definitions based on given criteria.",
|
|
197
|
+
endpoint: "POST /decision-definitions/search",
|
|
198
|
+
params: "body?: DecisionDefinitionSearchQuery",
|
|
199
|
+
returns: "DecisionDefinitionSearchQueryResult",
|
|
200
|
+
},
|
|
201
|
+
getDecisionDefinition: {
|
|
202
|
+
description: "Get decision definition Returns a decision definition by key.",
|
|
203
|
+
endpoint: "GET /decision-definitions/{decisionDefinitionKey}",
|
|
204
|
+
params: "decisionDefinitionKey: string",
|
|
205
|
+
returns: "DecisionDefinitionResult",
|
|
206
|
+
},
|
|
207
|
+
getDecisionDefinitionXML: {
|
|
208
|
+
description: "Get decision definition XML Returns decision definition as XML.",
|
|
209
|
+
endpoint: "GET /decision-definitions/{decisionDefinitionKey}/xml",
|
|
210
|
+
params: "decisionDefinitionKey: string",
|
|
211
|
+
returns: "void",
|
|
212
|
+
},
|
|
213
|
+
},
|
|
214
|
+
decisionInstance: {
|
|
215
|
+
searchDecisionInstances: {
|
|
216
|
+
description: "Search decision instances Search for decision instances based on given criteria.",
|
|
217
|
+
endpoint: "POST /decision-instances/search",
|
|
218
|
+
params: "body?: DecisionInstanceSearchQuery",
|
|
219
|
+
returns: "DecisionInstanceSearchQueryResult",
|
|
220
|
+
},
|
|
221
|
+
getDecisionInstance: {
|
|
222
|
+
description: "Get decision instance Returns a decision instance.",
|
|
223
|
+
endpoint: "GET /decision-instances/{decisionEvaluationInstanceKey}",
|
|
224
|
+
params: "decisionEvaluationInstanceKey: string",
|
|
225
|
+
returns: "DecisionInstanceGetQueryResult",
|
|
226
|
+
},
|
|
227
|
+
deleteDecisionInstancesBatchOperation: {
|
|
228
|
+
description: "Delete decision instances (batch) Delete multiple decision instances. This will delete the historic data from secondary storage. This is done asynchronously, the progress can be tracked using the batchOperationKey from the response and the batch operation status endpoint (/batch-operations/{batchOperationKey}).",
|
|
229
|
+
endpoint: "POST /decision-instances/deletion",
|
|
230
|
+
params: "body: DecisionInstanceDeletionBatchOperationRequest",
|
|
231
|
+
returns: "BatchOperationCreatedResult",
|
|
232
|
+
},
|
|
233
|
+
},
|
|
234
|
+
decisionRequirements: {
|
|
235
|
+
searchDecisionRequirements: {
|
|
236
|
+
description: "Search decision requirements Search for decision requirements based on given criteria.",
|
|
237
|
+
endpoint: "POST /decision-requirements/search",
|
|
238
|
+
params: "body?: DecisionRequirementsSearchQuery",
|
|
239
|
+
returns: "DecisionRequirementsSearchQueryResult",
|
|
240
|
+
},
|
|
241
|
+
getDecisionRequirements: {
|
|
242
|
+
description: "Get decision requirements Returns Decision Requirements as JSON.",
|
|
243
|
+
endpoint: "GET /decision-requirements/{decisionRequirementsKey}",
|
|
244
|
+
params: "decisionRequirementsKey: string",
|
|
245
|
+
returns: "DecisionRequirementsResult",
|
|
246
|
+
},
|
|
247
|
+
getDecisionRequirementsXML: {
|
|
248
|
+
description: "Get decision requirements XML Returns decision requirements as XML.",
|
|
249
|
+
endpoint: "GET /decision-requirements/{decisionRequirementsKey}/xml",
|
|
250
|
+
params: "decisionRequirementsKey: string",
|
|
251
|
+
returns: "void",
|
|
252
|
+
},
|
|
253
|
+
},
|
|
254
|
+
resource: {
|
|
255
|
+
createDeployment: {
|
|
256
|
+
description: "Deploy resources Deploys one or more resources (e.g. processes, decision models, or forms). This is an atomic call, i.e. either all resources are deployed or none of them are.",
|
|
257
|
+
endpoint: "POST /deployments",
|
|
258
|
+
params: "none",
|
|
259
|
+
returns: "DeploymentResult",
|
|
260
|
+
},
|
|
261
|
+
getResource: {
|
|
262
|
+
description: "Get resource Returns a deployed resource. :::info Currently, this endpoint only supports RPA resources.",
|
|
263
|
+
endpoint: "GET /resources/{resourceKey}",
|
|
264
|
+
params: "resourceKey: string",
|
|
265
|
+
returns: "ResourceResult",
|
|
266
|
+
},
|
|
267
|
+
getResourceContent: {
|
|
268
|
+
description: "Get resource content Returns the content of a deployed resource. :::info Currently, this endpoint only supports RPA resources.",
|
|
269
|
+
endpoint: "GET /resources/{resourceKey}/content",
|
|
270
|
+
params: "resourceKey: string",
|
|
271
|
+
returns: "string",
|
|
272
|
+
},
|
|
273
|
+
deleteResource: {
|
|
274
|
+
description: "Delete resource Deletes a deployed resource. This can be a process definition, decision requirements definition, or form definition deployed using the deploy resources endpoint. Specify the resource you want to delete in the `resourceKey` parameter.",
|
|
275
|
+
endpoint: "POST /resources/{resourceKey}/deletion",
|
|
276
|
+
params: "resourceKey: string, body?: DeleteResourceRequest",
|
|
277
|
+
returns: "DeleteResourceResponse",
|
|
278
|
+
},
|
|
279
|
+
},
|
|
280
|
+
document: {
|
|
281
|
+
createDocument: {
|
|
282
|
+
description: "Upload document Upload a document to the Camunda 8 cluster. Note that this is currently supported for document stores of type: AWS, GCP, in-memory (non-production), local (non-production)",
|
|
283
|
+
endpoint: "POST /documents",
|
|
284
|
+
params: "query?: { storeId?: string; documentId?: DocumentId }",
|
|
285
|
+
returns: "DocumentReference",
|
|
286
|
+
},
|
|
287
|
+
createDocuments: {
|
|
288
|
+
description: "Upload multiple documents Upload multiple documents to the Camunda 8 cluster. The caller must provide a file name for each document, which will be used in case of a multi-status response",
|
|
289
|
+
endpoint: "POST /documents/batch",
|
|
290
|
+
params: "query?: { storeId?: string }",
|
|
291
|
+
returns: "DocumentCreationBatchResponse",
|
|
292
|
+
},
|
|
293
|
+
getDocument: {
|
|
294
|
+
description: "Download document Download a document from the Camunda 8 cluster. Note that this is currently supported for document stores of type: AWS, GCP, in-memory (non-production), local (non-production)",
|
|
295
|
+
endpoint: "GET /documents/{documentId}",
|
|
296
|
+
params: "documentId: string, query?: { storeId?: string; contentHash?: string }",
|
|
297
|
+
returns: "void",
|
|
298
|
+
},
|
|
299
|
+
deleteDocument: {
|
|
300
|
+
description: "Delete document Delete a document from the Camunda 8 cluster. Note that this is currently supported for document stores of type: AWS, GCP, in-memory (non-production), local (non-production)",
|
|
301
|
+
endpoint: "DELETE /documents/{documentId}",
|
|
302
|
+
params: "documentId: string, query?: { storeId?: string }",
|
|
303
|
+
returns: "void",
|
|
304
|
+
},
|
|
305
|
+
createDocumentLink: {
|
|
306
|
+
description: "Create document link Create a link to a document in the Camunda 8 cluster. Note that this is currently supported for document stores of type: AWS, GCP",
|
|
307
|
+
endpoint: "POST /documents/{documentId}/links",
|
|
308
|
+
params: "documentId: string, body?: DocumentLinkRequest, query?: { storeId?: string; contentHash?: string }",
|
|
309
|
+
returns: "DocumentLink",
|
|
310
|
+
},
|
|
311
|
+
},
|
|
312
|
+
adHocSubProcess: {
|
|
313
|
+
activateAdHocSubProcessActivities: {
|
|
314
|
+
description: "Activate activities within an ad-hoc sub-process Activates selected activities within an ad-hoc sub-process identified by element ID. The provided element IDs must exist within the ad-hoc sub-process instance identified by the provided adHocSubProcessInstanceKey.",
|
|
315
|
+
endpoint: "POST /element-instances/ad-hoc-activities/{adHocSubProcessInstanceKey}/activation",
|
|
316
|
+
params: "adHocSubProcessInstanceKey: string, body: AdHocSubProcessActivateActivitiesInstruction",
|
|
317
|
+
returns: "void",
|
|
318
|
+
},
|
|
319
|
+
},
|
|
320
|
+
elementInstance: {
|
|
321
|
+
searchElementInstances: {
|
|
322
|
+
description: "Search element instances Search for element instances based on given criteria.",
|
|
323
|
+
endpoint: "POST /element-instances/search",
|
|
324
|
+
params: "body?: ElementInstanceSearchQuery",
|
|
325
|
+
returns: "ElementInstanceSearchQueryResult",
|
|
326
|
+
},
|
|
327
|
+
getElementInstance: {
|
|
328
|
+
description: "Get element instance Returns element instance as JSON.",
|
|
329
|
+
endpoint: "GET /element-instances/{elementInstanceKey}",
|
|
330
|
+
params: "elementInstanceKey: string",
|
|
331
|
+
returns: "ElementInstanceResult",
|
|
332
|
+
},
|
|
333
|
+
searchElementInstanceIncidents: {
|
|
334
|
+
description: "Search for incidents of a specific element instance Search for incidents caused by the specified element instance, including incidents of any child instances created from this element instance. Although the `elementInstanceKey` is provided as a path parameter to indicate the root element instance,",
|
|
335
|
+
endpoint: "POST /element-instances/{elementInstanceKey}/incidents/search",
|
|
336
|
+
params: "elementInstanceKey: string, body: IncidentSearchQuery",
|
|
337
|
+
returns: "IncidentSearchQueryResult",
|
|
338
|
+
},
|
|
339
|
+
createElementInstanceVariables: {
|
|
340
|
+
description: "Update element instance variables Updates all the variables of a particular scope (for example, process instance, element instance) with the given variable data. Specify the element instance in the `elementInstanceKey` parameter.",
|
|
341
|
+
endpoint: "PUT /element-instances/{elementInstanceKey}/variables",
|
|
342
|
+
params: "elementInstanceKey: string, body: SetVariableRequest",
|
|
343
|
+
returns: "void",
|
|
344
|
+
},
|
|
345
|
+
},
|
|
346
|
+
expression: {
|
|
347
|
+
evaluateExpression: {
|
|
348
|
+
description: "Evaluate an expression Evaluates a FEEL expression and returns the result. Supports references to tenant scoped cluster variables when a tenant ID is provided.",
|
|
349
|
+
endpoint: "POST /expression/evaluation",
|
|
350
|
+
params: "body: ExpressionEvaluationRequest",
|
|
351
|
+
returns: "ExpressionEvaluationResult",
|
|
352
|
+
},
|
|
353
|
+
},
|
|
354
|
+
globalListener: {
|
|
355
|
+
createGlobalTaskListener: {
|
|
356
|
+
description: "Create global user task listener Create a new global user task listener.",
|
|
357
|
+
endpoint: "POST /global-task-listeners",
|
|
358
|
+
params: "body: CreateGlobalTaskListenerRequest",
|
|
359
|
+
returns: "GlobalTaskListenerResult",
|
|
360
|
+
},
|
|
361
|
+
getGlobalTaskListener: {
|
|
362
|
+
description: "Get global user task listener Get a global user task listener by its id.",
|
|
363
|
+
endpoint: "GET /global-task-listeners/{id}",
|
|
364
|
+
params: "id: string",
|
|
365
|
+
returns: "GlobalTaskListenerResult",
|
|
366
|
+
},
|
|
367
|
+
updateGlobalTaskListener: {
|
|
368
|
+
description: "Update global user task listener Updates a global user task listener.",
|
|
369
|
+
endpoint: "PUT /global-task-listeners/{id}",
|
|
370
|
+
params: "id: string, body: UpdateGlobalTaskListenerRequest",
|
|
371
|
+
returns: "GlobalTaskListenerResult",
|
|
372
|
+
},
|
|
373
|
+
deleteGlobalTaskListener: {
|
|
374
|
+
description: "Delete global user task listener Deletes a global user task listener.",
|
|
375
|
+
endpoint: "DELETE /global-task-listeners/{id}",
|
|
376
|
+
params: "id: string",
|
|
377
|
+
returns: "void",
|
|
378
|
+
},
|
|
379
|
+
searchGlobalTaskListeners: {
|
|
380
|
+
description: "Search global user task listeners Search for global user task listeners based on given criteria.",
|
|
381
|
+
endpoint: "POST /global-task-listeners/search",
|
|
382
|
+
params: "body?: GlobalTaskListenerSearchQueryRequest",
|
|
383
|
+
returns: "GlobalTaskListenerSearchQueryResult",
|
|
384
|
+
},
|
|
385
|
+
},
|
|
386
|
+
group: {
|
|
387
|
+
createGroup: {
|
|
388
|
+
description: "Create group Create a new group.",
|
|
389
|
+
endpoint: "POST /groups",
|
|
390
|
+
params: "body?: GroupCreateRequest",
|
|
391
|
+
returns: "GroupCreateResult",
|
|
392
|
+
},
|
|
393
|
+
searchGroups: {
|
|
394
|
+
description: "Search groups Search for groups based on given criteria.",
|
|
395
|
+
endpoint: "POST /groups/search",
|
|
396
|
+
params: "body?: GroupSearchQueryRequest",
|
|
397
|
+
returns: "GroupSearchQueryResult",
|
|
398
|
+
},
|
|
399
|
+
getGroup: {
|
|
400
|
+
description: "Get group Get a group by its ID.",
|
|
401
|
+
endpoint: "GET /groups/{groupId}",
|
|
402
|
+
params: "groupId: string",
|
|
403
|
+
returns: "GroupResult",
|
|
404
|
+
},
|
|
405
|
+
updateGroup: {
|
|
406
|
+
description: "Update group Update a group with the given ID.",
|
|
407
|
+
endpoint: "PUT /groups/{groupId}",
|
|
408
|
+
params: "groupId: string, body: GroupUpdateRequest",
|
|
409
|
+
returns: "GroupUpdateResult",
|
|
410
|
+
},
|
|
411
|
+
deleteGroup: {
|
|
412
|
+
description: "Delete group Deletes the group with the given ID.",
|
|
413
|
+
endpoint: "DELETE /groups/{groupId}",
|
|
414
|
+
params: "groupId: string",
|
|
415
|
+
returns: "void",
|
|
416
|
+
},
|
|
417
|
+
searchClientsForGroup: {
|
|
418
|
+
description: "Search group clients Search clients assigned to a group.",
|
|
419
|
+
endpoint: "POST /groups/{groupId}/clients/search",
|
|
420
|
+
params: "groupId: string, body?: GroupClientSearchQueryRequest",
|
|
421
|
+
returns: "GroupClientSearchResult",
|
|
422
|
+
},
|
|
423
|
+
assignClientToGroup: {
|
|
424
|
+
description: "Assign a client to a group Assigns a client to a group, making it a member of the group. Members of the group inherit the group authorizations, roles, and tenant assignments.",
|
|
425
|
+
endpoint: "PUT /groups/{groupId}/clients/{clientId}",
|
|
426
|
+
params: "groupId: string, clientId: string",
|
|
427
|
+
returns: "void",
|
|
428
|
+
},
|
|
429
|
+
unassignClientFromGroup: {
|
|
430
|
+
description: "Unassign a client from a group Unassigns a client from a group. The client is removed as a group member, with associated authorizations, roles, and tenant assignments no longer applied.",
|
|
431
|
+
endpoint: "DELETE /groups/{groupId}/clients/{clientId}",
|
|
432
|
+
params: "groupId: string, clientId: string",
|
|
433
|
+
returns: "void",
|
|
434
|
+
},
|
|
435
|
+
searchMappingRulesForGroup: {
|
|
436
|
+
description: "Search group mapping rules Search mapping rules assigned to a group.",
|
|
437
|
+
endpoint: "POST /groups/{groupId}/mapping-rules/search",
|
|
438
|
+
params: "groupId: string, body?: MappingRuleSearchQueryRequest",
|
|
439
|
+
returns: "GroupMappingRuleSearchResult",
|
|
440
|
+
},
|
|
441
|
+
assignMappingRuleToGroup: {
|
|
442
|
+
description: "Assign a mapping rule to a group Assigns a mapping rule to a group.",
|
|
443
|
+
endpoint: "PUT /groups/{groupId}/mapping-rules/{mappingRuleId}",
|
|
444
|
+
params: "groupId: string, mappingRuleId: string",
|
|
445
|
+
returns: "void",
|
|
446
|
+
},
|
|
447
|
+
unassignMappingRuleFromGroup: {
|
|
448
|
+
description: "Unassign a mapping rule from a group Unassigns a mapping rule from a group.",
|
|
449
|
+
endpoint: "DELETE /groups/{groupId}/mapping-rules/{mappingRuleId}",
|
|
450
|
+
params: "groupId: string, mappingRuleId: string",
|
|
451
|
+
returns: "void",
|
|
452
|
+
},
|
|
453
|
+
searchRolesForGroup: {
|
|
454
|
+
description: "Search group roles Search roles assigned to a group.",
|
|
455
|
+
endpoint: "POST /groups/{groupId}/roles/search",
|
|
456
|
+
params: "groupId: string, body?: RoleSearchQueryRequest",
|
|
457
|
+
returns: "GroupRoleSearchResult",
|
|
458
|
+
},
|
|
459
|
+
searchUsersForGroup: {
|
|
460
|
+
description: "Search group users Search users assigned to a group.",
|
|
461
|
+
endpoint: "POST /groups/{groupId}/users/search",
|
|
462
|
+
params: "groupId: string, body?: GroupUserSearchQueryRequest",
|
|
463
|
+
returns: "GroupUserSearchResult",
|
|
464
|
+
},
|
|
465
|
+
assignUserToGroup: {
|
|
466
|
+
description: "Assign a user to a group Assigns a user to a group, making the user a member of the group. Group members inherit the group authorizations, roles, and tenant assignments.",
|
|
467
|
+
endpoint: "PUT /groups/{groupId}/users/{username}",
|
|
468
|
+
params: "groupId: string, username: string",
|
|
469
|
+
returns: "void",
|
|
470
|
+
},
|
|
471
|
+
unassignUserFromGroup: {
|
|
472
|
+
description: "Unassign a user from a group Unassigns a user from a group. The user is removed as a group member, with associated authorizations, roles, and tenant assignments no longer applied.",
|
|
473
|
+
endpoint: "DELETE /groups/{groupId}/users/{username}",
|
|
474
|
+
params: "groupId: string, username: string",
|
|
475
|
+
returns: "void",
|
|
476
|
+
},
|
|
477
|
+
},
|
|
478
|
+
incident: {
|
|
479
|
+
searchIncidents: {
|
|
480
|
+
description: "Search incidents Search for incidents based on given criteria.",
|
|
481
|
+
endpoint: "POST /incidents/search",
|
|
482
|
+
params: "body?: IncidentSearchQuery",
|
|
483
|
+
returns: "IncidentSearchQueryResult",
|
|
484
|
+
},
|
|
485
|
+
getIncident: {
|
|
486
|
+
description: "Get incident Returns incident as JSON.",
|
|
487
|
+
endpoint: "GET /incidents/{incidentKey}",
|
|
488
|
+
params: "incidentKey: string",
|
|
489
|
+
returns: "IncidentResult",
|
|
490
|
+
},
|
|
491
|
+
resolveIncident: {
|
|
492
|
+
description: "Resolve incident Marks the incident as resolved; most likely a call to Update job will be necessary to reset the job's retries, followed by this call.",
|
|
493
|
+
endpoint: "POST /incidents/{incidentKey}/resolution",
|
|
494
|
+
params: "incidentKey: string, body?: IncidentResolutionRequest",
|
|
495
|
+
returns: "void",
|
|
496
|
+
},
|
|
497
|
+
getProcessInstanceStatisticsByDefinition: {
|
|
498
|
+
description: "Get process instance statistics by definition Returns statistics for active process instances with incidents, grouped by process definition. The result set is scoped to a specific incident error hash code, which must be provided as a filter in the request body.",
|
|
499
|
+
endpoint: "POST /incidents/statistics/process-instances-by-definition",
|
|
500
|
+
params: "body: IncidentProcessInstanceStatisticsByDefinitionQuery",
|
|
501
|
+
returns: "IncidentProcessInstanceStatisticsByDefinitionQueryResult",
|
|
502
|
+
},
|
|
503
|
+
getProcessInstanceStatisticsByError: {
|
|
504
|
+
description: "Get process instance statistics by error Returns statistics for active process instances that currently have active incidents, grouped by incident error hash code.",
|
|
505
|
+
endpoint: "POST /incidents/statistics/process-instances-by-error",
|
|
506
|
+
params: "body?: IncidentProcessInstanceStatisticsByErrorQuery",
|
|
507
|
+
returns: "IncidentProcessInstanceStatisticsByErrorQueryResult",
|
|
508
|
+
},
|
|
509
|
+
},
|
|
510
|
+
job: {
|
|
511
|
+
activateJobs: {
|
|
512
|
+
description: "Activate jobs Iterate through all known partitions and activate jobs up to the requested maximum.",
|
|
513
|
+
endpoint: "POST /jobs/activation",
|
|
514
|
+
params: "body: JobActivationRequest",
|
|
515
|
+
returns: "JobActivationResult",
|
|
516
|
+
},
|
|
517
|
+
searchJobs: {
|
|
518
|
+
description: "Search jobs Search for jobs based on given criteria.",
|
|
519
|
+
endpoint: "POST /jobs/search",
|
|
520
|
+
params: "body?: JobSearchQuery",
|
|
521
|
+
returns: "JobSearchQueryResult",
|
|
522
|
+
},
|
|
523
|
+
updateJob: {
|
|
524
|
+
description: "Update job Update a job with the given key.",
|
|
525
|
+
endpoint: "PATCH /jobs/{jobKey}",
|
|
526
|
+
params: "jobKey: string, body: JobUpdateRequest",
|
|
527
|
+
returns: "void",
|
|
528
|
+
},
|
|
529
|
+
completeJob: {
|
|
530
|
+
description: "Complete job Complete a job with the given payload, which allows completing the associated service task.",
|
|
531
|
+
endpoint: "POST /jobs/{jobKey}/completion",
|
|
532
|
+
params: "jobKey: string, body?: JobCompletionRequest",
|
|
533
|
+
returns: "void",
|
|
534
|
+
},
|
|
535
|
+
throwJobError: {
|
|
536
|
+
description: "Throw error for job Reports a business error (i.e. non-technical) that occurs while processing a job.",
|
|
537
|
+
endpoint: "POST /jobs/{jobKey}/error",
|
|
538
|
+
params: "jobKey: string, body: JobErrorRequest",
|
|
539
|
+
returns: "void",
|
|
540
|
+
},
|
|
541
|
+
failJob: {
|
|
542
|
+
description: "Fail job Mark the job as failed.",
|
|
543
|
+
endpoint: "POST /jobs/{jobKey}/failure",
|
|
544
|
+
params: "jobKey: string, body?: JobFailRequest",
|
|
545
|
+
returns: "void",
|
|
546
|
+
},
|
|
547
|
+
getGlobalJobStatistics: {
|
|
548
|
+
description: "Global job statistics Returns global aggregated counts for jobs. Optionally filter by the creation time window and/or jobType.",
|
|
549
|
+
endpoint: "GET /jobs/statistics/global",
|
|
550
|
+
params: "query?: { from: string; to: string; jobType?: string }",
|
|
551
|
+
returns: "GlobalJobStatisticsQueryResult",
|
|
552
|
+
},
|
|
553
|
+
getJobTypeStatistics: {
|
|
554
|
+
description: "Get job statistics by type Get statistics about jobs, grouped by job type.",
|
|
555
|
+
endpoint: "POST /jobs/statistics/by-types",
|
|
556
|
+
params: "body: JobTypeStatisticsQuery",
|
|
557
|
+
returns: "JobTypeStatisticsQueryResult",
|
|
558
|
+
},
|
|
559
|
+
getJobWorkerStatistics: {
|
|
560
|
+
description: "Get job statistics by worker Returns aggregated metrics per worker for the given jobType.",
|
|
561
|
+
endpoint: "POST /jobs/statistics/by-workers",
|
|
562
|
+
params: "body: JobWorkerStatisticsQuery",
|
|
563
|
+
returns: "JobWorkerStatisticsQueryResult",
|
|
564
|
+
},
|
|
565
|
+
getJobTimeSeriesStatistics: {
|
|
566
|
+
description: "Get time-series metrics for a job type Returns a list of time-bucketed metrics ordered ascending by time. The `from` and `to` fields select the time window of interest. Each item in the response corresponds to one time bucket of the requested resolution.",
|
|
567
|
+
endpoint: "POST /jobs/statistics/time-series",
|
|
568
|
+
params: "body: JobTimeSeriesStatisticsQuery",
|
|
569
|
+
returns: "JobTimeSeriesStatisticsQueryResult",
|
|
570
|
+
},
|
|
571
|
+
},
|
|
572
|
+
license: {
|
|
573
|
+
getLicense: {
|
|
574
|
+
description: "Get license status Obtains the status of the current Camunda license.",
|
|
575
|
+
endpoint: "GET /license",
|
|
576
|
+
params: "none",
|
|
577
|
+
returns: "LicenseResponse",
|
|
578
|
+
},
|
|
579
|
+
},
|
|
580
|
+
mappingRule: {
|
|
581
|
+
createMappingRule: {
|
|
582
|
+
description: "Create mapping rule Create a new mapping rule",
|
|
583
|
+
endpoint: "POST /mapping-rules",
|
|
584
|
+
params: "body?: MappingRuleCreateRequest",
|
|
585
|
+
returns: "MappingRuleCreateResult",
|
|
586
|
+
},
|
|
587
|
+
searchMappingRule: {
|
|
588
|
+
description: "Search mapping rules Search for mapping rules based on given criteria.",
|
|
589
|
+
endpoint: "POST /mapping-rules/search",
|
|
590
|
+
params: "body?: MappingRuleSearchQueryRequest",
|
|
591
|
+
returns: "MappingRuleSearchQueryResult",
|
|
592
|
+
},
|
|
593
|
+
getMappingRule: {
|
|
594
|
+
description: "Get a mapping rule Gets the mapping rule with the given ID.",
|
|
595
|
+
endpoint: "GET /mapping-rules/{mappingRuleId}",
|
|
596
|
+
params: "mappingRuleId: string",
|
|
597
|
+
returns: "MappingRuleResult",
|
|
598
|
+
},
|
|
599
|
+
updateMappingRule: {
|
|
600
|
+
description: "Update mapping rule Update a mapping rule.",
|
|
601
|
+
endpoint: "PUT /mapping-rules/{mappingRuleId}",
|
|
602
|
+
params: "mappingRuleId: string, body?: MappingRuleUpdateRequest",
|
|
603
|
+
returns: "MappingRuleUpdateResult",
|
|
604
|
+
},
|
|
605
|
+
deleteMappingRule: {
|
|
606
|
+
description: "Delete a mapping rule Deletes the mapping rule with the given ID.",
|
|
607
|
+
endpoint: "DELETE /mapping-rules/{mappingRuleId}",
|
|
608
|
+
params: "mappingRuleId: string",
|
|
609
|
+
returns: "void",
|
|
610
|
+
},
|
|
611
|
+
},
|
|
612
|
+
message: {
|
|
613
|
+
correlateMessage: {
|
|
614
|
+
description: "Correlate message Publishes a message and correlates it to a subscription. If correlation is successful it will return the first process instance key the message correlated with. The message is not buffered.",
|
|
615
|
+
endpoint: "POST /messages/correlation",
|
|
616
|
+
params: "body: MessageCorrelationRequest",
|
|
617
|
+
returns: "MessageCorrelationResult",
|
|
618
|
+
},
|
|
619
|
+
publishMessage: {
|
|
620
|
+
description: "Publish message Publishes a single message. Messages are published to specific partitions computed from their correlation keys. Messages can be buffered.",
|
|
621
|
+
endpoint: "POST /messages/publication",
|
|
622
|
+
params: "body: MessagePublicationRequest",
|
|
623
|
+
returns: "MessagePublicationResult",
|
|
624
|
+
},
|
|
625
|
+
},
|
|
626
|
+
processDefinition: {
|
|
627
|
+
searchProcessDefinitions: {
|
|
628
|
+
description: "Search process definitions Search for process definitions based on given criteria.",
|
|
629
|
+
endpoint: "POST /process-definitions/search",
|
|
630
|
+
params: "body?: ProcessDefinitionSearchQuery",
|
|
631
|
+
returns: "ProcessDefinitionSearchQueryResult",
|
|
632
|
+
},
|
|
633
|
+
getProcessDefinitionMessageSubscriptionStatistics: {
|
|
634
|
+
description: "Get message subscription statistics Get message subscription statistics, grouped by process definition.",
|
|
635
|
+
endpoint: "POST /process-definitions/statistics/message-subscriptions",
|
|
636
|
+
params: "body?: ProcessDefinitionMessageSubscriptionStatisticsQuery",
|
|
637
|
+
returns: "ProcessDefinitionMessageSubscriptionStatisticsQueryResult",
|
|
638
|
+
},
|
|
639
|
+
getProcessDefinitionInstanceStatistics: {
|
|
640
|
+
description: "Get process instance statistics Get statistics about process instances, grouped by process definition and tenant.",
|
|
641
|
+
endpoint: "POST /process-definitions/statistics/process-instances",
|
|
642
|
+
params: "body?: ProcessDefinitionInstanceStatisticsQuery",
|
|
643
|
+
returns: "ProcessDefinitionInstanceStatisticsQueryResult",
|
|
644
|
+
},
|
|
645
|
+
getProcessDefinition: {
|
|
646
|
+
description: "Get process definition Returns process definition as JSON.",
|
|
647
|
+
endpoint: "GET /process-definitions/{processDefinitionKey}",
|
|
648
|
+
params: "processDefinitionKey: string",
|
|
649
|
+
returns: "ProcessDefinitionResult",
|
|
650
|
+
},
|
|
651
|
+
getStartProcessForm: {
|
|
652
|
+
description: "Get process start form Get the start form of a process. Note that this endpoint will only return linked forms. This endpoint does not support embedded forms.",
|
|
653
|
+
endpoint: "GET /process-definitions/{processDefinitionKey}/form",
|
|
654
|
+
params: "processDefinitionKey: string",
|
|
655
|
+
returns: "FormResult",
|
|
656
|
+
},
|
|
657
|
+
getProcessDefinitionStatistics: {
|
|
658
|
+
description: "Get process definition statistics Get statistics about elements in currently running process instances by process definition key and search filter.",
|
|
659
|
+
endpoint: "POST /process-definitions/{processDefinitionKey}/statistics/element-instances",
|
|
660
|
+
params: "processDefinitionKey: string, body?: ProcessDefinitionElementStatisticsQuery",
|
|
661
|
+
returns: "ProcessDefinitionElementStatisticsQueryResult",
|
|
662
|
+
},
|
|
663
|
+
getProcessDefinitionXML: {
|
|
664
|
+
description: "Get process definition XML Returns process definition as XML.",
|
|
665
|
+
endpoint: "GET /process-definitions/{processDefinitionKey}/xml",
|
|
666
|
+
params: "processDefinitionKey: string",
|
|
667
|
+
returns: "void",
|
|
668
|
+
},
|
|
669
|
+
getProcessDefinitionInstanceVersionStatistics: {
|
|
670
|
+
description: "Get process instance statistics by version Get statistics about process instances, grouped by version for a given process definition. The process definition ID must be provided as a required field in the request body filter.",
|
|
671
|
+
endpoint: "POST /process-definitions/statistics/process-instances-by-version",
|
|
672
|
+
params: "body: ProcessDefinitionInstanceVersionStatisticsQuery",
|
|
673
|
+
returns: "ProcessDefinitionInstanceVersionStatisticsQueryResult",
|
|
674
|
+
},
|
|
675
|
+
},
|
|
676
|
+
processInstance: {
|
|
677
|
+
createProcessInstance: {
|
|
678
|
+
description: "Create process instance Creates and starts an instance of the specified process. The process definition to use to create the instance can be specified either using its unique key (as returned by Deploy resources), or using the BPMN process id and a version.",
|
|
679
|
+
endpoint: "POST /process-instances",
|
|
680
|
+
params: "body: ProcessInstanceCreationInstruction",
|
|
681
|
+
returns: "CreateProcessInstanceResult",
|
|
682
|
+
},
|
|
683
|
+
cancelProcessInstancesBatchOperation: {
|
|
684
|
+
description: "Cancel process instances (batch) Cancels multiple running process instances. Since only ACTIVE root instances can be cancelled, any given filters for state and parentProcessInstanceKey are ignored and overridden during this batch operation.",
|
|
685
|
+
endpoint: "POST /process-instances/cancellation",
|
|
686
|
+
params: "body: ProcessInstanceCancellationBatchOperationRequest",
|
|
687
|
+
returns: "BatchOperationCreatedResult",
|
|
688
|
+
},
|
|
689
|
+
deleteProcessInstancesBatchOperation: {
|
|
690
|
+
description: "Delete process instances (batch) Delete multiple process instances. This will delete the historic data from secondary storage. Only process instances in a final state (COMPLETED or TERMINATED) can be deleted. This is done asynchronously, the progress can be tracked using the batchOperationKey from the response and the batch operation status endpoint (/batch-operations/{batchOperationKey}).",
|
|
691
|
+
endpoint: "POST /process-instances/deletion",
|
|
692
|
+
params: "body: ProcessInstanceDeletionBatchOperationRequest",
|
|
693
|
+
returns: "BatchOperationCreatedResult",
|
|
694
|
+
},
|
|
695
|
+
resolveIncidentsBatchOperation: {
|
|
696
|
+
description: "Resolve related incidents (batch) Resolves multiple instances of process instances. Since only process instances with ACTIVE state can have unresolved incidents, any given filters for state are ignored and overridden during this batch operation.",
|
|
697
|
+
endpoint: "POST /process-instances/incident-resolution",
|
|
698
|
+
params: "body?: ProcessInstanceIncidentResolutionBatchOperationRequest",
|
|
699
|
+
returns: "BatchOperationCreatedResult",
|
|
700
|
+
},
|
|
701
|
+
migrateProcessInstancesBatchOperation: {
|
|
702
|
+
description: "Migrate process instances (batch) Migrate multiple process instances. Since only process instances with ACTIVE state can be migrated, any given filters for state are ignored and overridden during this batch operation.",
|
|
703
|
+
endpoint: "POST /process-instances/migration",
|
|
704
|
+
params: "body: ProcessInstanceMigrationBatchOperationRequest",
|
|
705
|
+
returns: "BatchOperationCreatedResult",
|
|
706
|
+
},
|
|
707
|
+
modifyProcessInstancesBatchOperation: {
|
|
708
|
+
description: "Modify process instances (batch) Modify multiple process instances. Since only process instances with ACTIVE state can be modified, any given filters for state are ignored and overridden during this batch operation.",
|
|
709
|
+
endpoint: "POST /process-instances/modification",
|
|
710
|
+
params: "body: ProcessInstanceModificationBatchOperationRequest",
|
|
711
|
+
returns: "BatchOperationCreatedResult",
|
|
712
|
+
},
|
|
713
|
+
searchProcessInstances: {
|
|
714
|
+
description: "Search process instances Search for process instances based on given criteria.",
|
|
715
|
+
endpoint: "POST /process-instances/search",
|
|
716
|
+
params: "body?: ProcessInstanceSearchQuery",
|
|
717
|
+
returns: "ProcessInstanceSearchQueryResult",
|
|
718
|
+
},
|
|
719
|
+
getProcessInstance: {
|
|
720
|
+
description: "Get process instance Get the process instance by the process instance key.",
|
|
721
|
+
endpoint: "GET /process-instances/{processInstanceKey}",
|
|
722
|
+
params: "processInstanceKey: string",
|
|
723
|
+
returns: "ProcessInstanceResult",
|
|
724
|
+
},
|
|
725
|
+
getProcessInstanceCallHierarchy: {
|
|
726
|
+
description: "Get call hierarchy Returns the call hierarchy for a given process instance, showing its ancestry up to the root instance.",
|
|
727
|
+
endpoint: "GET /process-instances/{processInstanceKey}/call-hierarchy",
|
|
728
|
+
params: "processInstanceKey: string",
|
|
729
|
+
returns: "Array<ProcessInstanceCallHierarchyEntry",
|
|
730
|
+
},
|
|
731
|
+
cancelProcessInstance: {
|
|
732
|
+
description: "Cancel process instance Cancels a running process instance. As a cancellation includes more than just the removal of the process instance resource, the cancellation resource must be posted.",
|
|
733
|
+
endpoint: "POST /process-instances/{processInstanceKey}/cancellation",
|
|
734
|
+
params: "processInstanceKey: string, body?: CancelProcessInstanceRequest",
|
|
735
|
+
returns: "void",
|
|
736
|
+
},
|
|
737
|
+
deleteProcessInstance: {
|
|
738
|
+
description: "Delete process instance Deletes a process instance. Only instances that are completed or terminated can be deleted.",
|
|
739
|
+
endpoint: "POST /process-instances/{processInstanceKey}/deletion",
|
|
740
|
+
params: "processInstanceKey: string, body?: DeleteProcessInstanceRequest",
|
|
741
|
+
returns: "void",
|
|
742
|
+
},
|
|
743
|
+
resolveProcessInstanceIncidents: {
|
|
744
|
+
description: "Resolve related incidents Creates a batch operation to resolve multiple incidents of a process instance.",
|
|
745
|
+
endpoint: "POST /process-instances/{processInstanceKey}/incident-resolution",
|
|
746
|
+
params: "processInstanceKey: string",
|
|
747
|
+
returns: "BatchOperationCreatedResult",
|
|
748
|
+
},
|
|
749
|
+
searchProcessInstanceIncidents: {
|
|
750
|
+
description: "Search related incidents Search for incidents caused by the process instance or any of its called process or decision instances. Although the `processInstanceKey` is provided as a path parameter to indicate the root process instance,",
|
|
751
|
+
endpoint: "POST /process-instances/{processInstanceKey}/incidents/search",
|
|
752
|
+
params: "processInstanceKey: string, body?: IncidentSearchQuery",
|
|
753
|
+
returns: "IncidentSearchQueryResult",
|
|
754
|
+
},
|
|
755
|
+
migrateProcessInstance: {
|
|
756
|
+
description: "Migrate process instance Migrates a process instance to a new process definition. This request can contain multiple mapping instructions to define mapping between the active process instance's elements and target process definition elements.",
|
|
757
|
+
endpoint: "POST /process-instances/{processInstanceKey}/migration",
|
|
758
|
+
params: "processInstanceKey: string, body: ProcessInstanceMigrationInstruction",
|
|
759
|
+
returns: "void",
|
|
760
|
+
},
|
|
761
|
+
modifyProcessInstance: {
|
|
762
|
+
description: "Modify process instance Modifies a running process instance. This request can contain multiple instructions to activate an element of the process or to terminate an active instance of an element.",
|
|
763
|
+
endpoint: "POST /process-instances/{processInstanceKey}/modification",
|
|
764
|
+
params: "processInstanceKey: string, body: ProcessInstanceModificationInstruction",
|
|
765
|
+
returns: "void",
|
|
766
|
+
},
|
|
767
|
+
getProcessInstanceSequenceFlows: {
|
|
768
|
+
description: "Get sequence flows Get sequence flows taken by the process instance.",
|
|
769
|
+
endpoint: "GET /process-instances/{processInstanceKey}/sequence-flows",
|
|
770
|
+
params: "processInstanceKey: string",
|
|
771
|
+
returns: "ProcessInstanceSequenceFlowsQueryResult",
|
|
772
|
+
},
|
|
773
|
+
getProcessInstanceStatistics: {
|
|
774
|
+
description: "Get element instance statistics Get statistics about elements by the process instance key.",
|
|
775
|
+
endpoint: "GET /process-instances/{processInstanceKey}/statistics/element-instances",
|
|
776
|
+
params: "processInstanceKey: string",
|
|
777
|
+
returns: "ProcessInstanceElementStatisticsQueryResult",
|
|
778
|
+
},
|
|
779
|
+
},
|
|
780
|
+
role: {
|
|
781
|
+
createRole: {
|
|
782
|
+
description: "Create role Create a new role.",
|
|
783
|
+
endpoint: "POST /roles",
|
|
784
|
+
params: "body?: RoleCreateRequest",
|
|
785
|
+
returns: "RoleCreateResult",
|
|
786
|
+
},
|
|
787
|
+
searchRoles: {
|
|
788
|
+
description: "Search roles Search for roles based on given criteria.",
|
|
789
|
+
endpoint: "POST /roles/search",
|
|
790
|
+
params: "body?: RoleSearchQueryRequest",
|
|
791
|
+
returns: "RoleSearchQueryResult",
|
|
792
|
+
},
|
|
793
|
+
getRole: {
|
|
794
|
+
description: "Get role Get a role by its ID.",
|
|
795
|
+
endpoint: "GET /roles/{roleId}",
|
|
796
|
+
params: "roleId: string",
|
|
797
|
+
returns: "RoleResult",
|
|
798
|
+
},
|
|
799
|
+
updateRole: {
|
|
800
|
+
description: "Update role Update a role with the given ID.",
|
|
801
|
+
endpoint: "PUT /roles/{roleId}",
|
|
802
|
+
params: "roleId: string, body: RoleUpdateRequest",
|
|
803
|
+
returns: "RoleUpdateResult",
|
|
804
|
+
},
|
|
805
|
+
deleteRole: {
|
|
806
|
+
description: "Delete role Deletes the role with the given ID.",
|
|
807
|
+
endpoint: "DELETE /roles/{roleId}",
|
|
808
|
+
params: "roleId: string",
|
|
809
|
+
returns: "void",
|
|
810
|
+
},
|
|
811
|
+
searchClientsForRole: {
|
|
812
|
+
description: "Search role clients Search clients with assigned role.",
|
|
813
|
+
endpoint: "POST /roles/{roleId}/clients/search",
|
|
814
|
+
params: "roleId: string, body?: RoleClientSearchQueryRequest",
|
|
815
|
+
returns: "RoleClientSearchResult",
|
|
816
|
+
},
|
|
817
|
+
assignRoleToClient: {
|
|
818
|
+
description: "Assign a role to a client Assigns the specified role to the client. The client will inherit the authorizations associated with this role.",
|
|
819
|
+
endpoint: "PUT /roles/{roleId}/clients/{clientId}",
|
|
820
|
+
params: "roleId: string, clientId: string",
|
|
821
|
+
returns: "void",
|
|
822
|
+
},
|
|
823
|
+
unassignRoleFromClient: {
|
|
824
|
+
description: "Unassign a role from a client Unassigns the specified role from the client. The client will no longer inherit the authorizations associated with this role.",
|
|
825
|
+
endpoint: "DELETE /roles/{roleId}/clients/{clientId}",
|
|
826
|
+
params: "roleId: string, clientId: string",
|
|
827
|
+
returns: "void",
|
|
828
|
+
},
|
|
829
|
+
searchGroupsForRole: {
|
|
830
|
+
description: "Search role groups Search groups with assigned role.",
|
|
831
|
+
endpoint: "POST /roles/{roleId}/groups/search",
|
|
832
|
+
params: "roleId: string, body?: RoleGroupSearchQueryRequest",
|
|
833
|
+
returns: "RoleGroupSearchResult",
|
|
834
|
+
},
|
|
835
|
+
assignRoleToGroup: {
|
|
836
|
+
description: "Assign a role to a group Assigns the specified role to the group. Every member of the group (user or client) will inherit the authorizations associated with this role.",
|
|
837
|
+
endpoint: "PUT /roles/{roleId}/groups/{groupId}",
|
|
838
|
+
params: "roleId: string, groupId: string",
|
|
839
|
+
returns: "void",
|
|
840
|
+
},
|
|
841
|
+
unassignRoleFromGroup: {
|
|
842
|
+
description: "Unassign a role from a group Unassigns the specified role from the group. All group members (user or client) no longer inherit the authorizations associated with this role.",
|
|
843
|
+
endpoint: "DELETE /roles/{roleId}/groups/{groupId}",
|
|
844
|
+
params: "roleId: string, groupId: string",
|
|
845
|
+
returns: "void",
|
|
846
|
+
},
|
|
847
|
+
searchMappingRulesForRole: {
|
|
848
|
+
description: "Search role mapping rules Search mapping rules with assigned role.",
|
|
849
|
+
endpoint: "POST /roles/{roleId}/mapping-rules/search",
|
|
850
|
+
params: "roleId: string, body?: MappingRuleSearchQueryRequest",
|
|
851
|
+
returns: "RoleMappingRuleSearchResult",
|
|
852
|
+
},
|
|
853
|
+
assignRoleToMappingRule: {
|
|
854
|
+
description: "Assign a role to a mapping rule Assigns a role to a mapping rule.",
|
|
855
|
+
endpoint: "PUT /roles/{roleId}/mapping-rules/{mappingRuleId}",
|
|
856
|
+
params: "roleId: string, mappingRuleId: string",
|
|
857
|
+
returns: "void",
|
|
858
|
+
},
|
|
859
|
+
unassignRoleFromMappingRule: {
|
|
860
|
+
description: "Unassign a role from a mapping rule Unassigns a role from a mapping rule.",
|
|
861
|
+
endpoint: "DELETE /roles/{roleId}/mapping-rules/{mappingRuleId}",
|
|
862
|
+
params: "roleId: string, mappingRuleId: string",
|
|
863
|
+
returns: "void",
|
|
864
|
+
},
|
|
865
|
+
searchUsersForRole: {
|
|
866
|
+
description: "Search role users Search users with assigned role.",
|
|
867
|
+
endpoint: "POST /roles/{roleId}/users/search",
|
|
868
|
+
params: "roleId: string, body?: RoleUserSearchQueryRequest",
|
|
869
|
+
returns: "RoleUserSearchResult",
|
|
870
|
+
},
|
|
871
|
+
assignRoleToUser: {
|
|
872
|
+
description: "Assign a role to a user Assigns the specified role to the user. The user will inherit the authorizations associated with this role.",
|
|
873
|
+
endpoint: "PUT /roles/{roleId}/users/{username}",
|
|
874
|
+
params: "roleId: string, username: string",
|
|
875
|
+
returns: "void",
|
|
876
|
+
},
|
|
877
|
+
unassignRoleFromUser: {
|
|
878
|
+
description: "Unassign a role from a user Unassigns a role from a user. The user will no longer inherit the authorizations associated with this role.",
|
|
879
|
+
endpoint: "DELETE /roles/{roleId}/users/{username}",
|
|
880
|
+
params: "roleId: string, username: string",
|
|
881
|
+
returns: "void",
|
|
882
|
+
},
|
|
883
|
+
},
|
|
884
|
+
setup: {
|
|
885
|
+
createAdminUser: {
|
|
886
|
+
description: "Create admin user Creates a new user and assigns the admin role to it. This endpoint is only usable when users are managed in the Orchestration Cluster and while no user is assigned to the admin role.",
|
|
887
|
+
endpoint: "POST /setup/user",
|
|
888
|
+
params: "body: UserRequest",
|
|
889
|
+
returns: "UserCreateResult",
|
|
890
|
+
},
|
|
891
|
+
},
|
|
892
|
+
signal: {
|
|
893
|
+
broadcastSignal: {
|
|
894
|
+
description: "Broadcast signal Broadcasts a signal.",
|
|
895
|
+
endpoint: "POST /signals/broadcast",
|
|
896
|
+
params: "body: SignalBroadcastRequest",
|
|
897
|
+
returns: "SignalBroadcastResult",
|
|
898
|
+
},
|
|
899
|
+
},
|
|
900
|
+
cluster: {
|
|
901
|
+
getStatus: {
|
|
902
|
+
description: "Get cluster status Checks the health status of the cluster by verifying if there's at least one partition with a healthy leader.",
|
|
903
|
+
endpoint: "GET /status",
|
|
904
|
+
params: "none",
|
|
905
|
+
returns: "void",
|
|
906
|
+
},
|
|
907
|
+
getTopology: {
|
|
908
|
+
description: "Get cluster topology Obtains the current topology of the cluster the gateway is part of.",
|
|
909
|
+
endpoint: "GET /topology",
|
|
910
|
+
params: "none",
|
|
911
|
+
returns: "TopologyResponse",
|
|
912
|
+
},
|
|
913
|
+
},
|
|
914
|
+
system: {
|
|
915
|
+
getUsageMetrics: {
|
|
916
|
+
description: "Get usage metrics Retrieve the usage metrics based on given criteria.",
|
|
917
|
+
endpoint: "GET /system/usage-metrics",
|
|
918
|
+
params: "query?: { startTime: string; endTime: string; tenantId?: TenantId; withTenants?: boolean }",
|
|
919
|
+
returns: "UsageMetricsResponse",
|
|
920
|
+
},
|
|
921
|
+
},
|
|
922
|
+
tenant: {
|
|
923
|
+
createTenant: {
|
|
924
|
+
description: "Create tenant Creates a new tenant.",
|
|
925
|
+
endpoint: "POST /tenants",
|
|
926
|
+
params: "body: TenantCreateRequest",
|
|
927
|
+
returns: "TenantCreateResult",
|
|
928
|
+
},
|
|
929
|
+
searchTenants: {
|
|
930
|
+
description: "Search tenants Retrieves a filtered and sorted list of tenants.",
|
|
931
|
+
endpoint: "POST /tenants/search",
|
|
932
|
+
params: "body?: TenantSearchQueryRequest",
|
|
933
|
+
returns: "TenantSearchQueryResult",
|
|
934
|
+
},
|
|
935
|
+
getTenant: {
|
|
936
|
+
description: "Get tenant Retrieves a single tenant by tenant ID.",
|
|
937
|
+
endpoint: "GET /tenants/{tenantId}",
|
|
938
|
+
params: "tenantId: string",
|
|
939
|
+
returns: "TenantResult",
|
|
940
|
+
},
|
|
941
|
+
updateTenant: {
|
|
942
|
+
description: "Update tenant Updates an existing tenant.",
|
|
943
|
+
endpoint: "PUT /tenants/{tenantId}",
|
|
944
|
+
params: "tenantId: string, body: TenantUpdateRequest",
|
|
945
|
+
returns: "TenantUpdateResult",
|
|
946
|
+
},
|
|
947
|
+
deleteTenant: {
|
|
948
|
+
description: "Delete tenant Deletes an existing tenant.",
|
|
949
|
+
endpoint: "DELETE /tenants/{tenantId}",
|
|
950
|
+
params: "tenantId: string",
|
|
951
|
+
returns: "void",
|
|
952
|
+
},
|
|
953
|
+
searchClientsForTenant: {
|
|
954
|
+
description: "Search clients for tenant Retrieves a filtered and sorted list of clients for a specified tenant.",
|
|
955
|
+
endpoint: "POST /tenants/{tenantId}/clients/search",
|
|
956
|
+
params: "tenantId: string, body?: TenantClientSearchQueryRequest",
|
|
957
|
+
returns: "TenantClientSearchResult",
|
|
958
|
+
},
|
|
959
|
+
assignClientToTenant: {
|
|
960
|
+
description: "Assign a client to a tenant Assign the client to the specified tenant. The client can then access tenant data and perform authorized actions.",
|
|
961
|
+
endpoint: "PUT /tenants/{tenantId}/clients/{clientId}",
|
|
962
|
+
params: "tenantId: string, clientId: string",
|
|
963
|
+
returns: "void",
|
|
964
|
+
},
|
|
965
|
+
unassignClientFromTenant: {
|
|
966
|
+
description: "Unassign a client from a tenant Unassigns the client from the specified tenant. The client can no longer access tenant data.",
|
|
967
|
+
endpoint: "DELETE /tenants/{tenantId}/clients/{clientId}",
|
|
968
|
+
params: "tenantId: string, clientId: string",
|
|
969
|
+
returns: "void",
|
|
970
|
+
},
|
|
971
|
+
searchGroupIdsForTenant: {
|
|
972
|
+
description: "Search groups for tenant Retrieves a filtered and sorted list of groups for a specified tenant.",
|
|
973
|
+
endpoint: "POST /tenants/{tenantId}/groups/search",
|
|
974
|
+
params: "tenantId: string, body?: TenantGroupSearchQueryRequest",
|
|
975
|
+
returns: "TenantGroupSearchResult",
|
|
976
|
+
},
|
|
977
|
+
assignGroupToTenant: {
|
|
978
|
+
description: "Assign a group to a tenant Assigns a group to a specified tenant. Group members (users, clients) can then access tenant data and perform authorized actions.",
|
|
979
|
+
endpoint: "PUT /tenants/{tenantId}/groups/{groupId}",
|
|
980
|
+
params: "tenantId: string, groupId: string",
|
|
981
|
+
returns: "void",
|
|
982
|
+
},
|
|
983
|
+
unassignGroupFromTenant: {
|
|
984
|
+
description: "Unassign a group from a tenant Unassigns a group from a specified tenant. Members of the group (users, clients) will no longer have access to the tenant's data - except they are assigned directly to the tenant.",
|
|
985
|
+
endpoint: "DELETE /tenants/{tenantId}/groups/{groupId}",
|
|
986
|
+
params: "tenantId: string, groupId: string",
|
|
987
|
+
returns: "void",
|
|
988
|
+
},
|
|
989
|
+
searchMappingRulesForTenant: {
|
|
990
|
+
description: "Search mapping rules for tenant Retrieves a filtered and sorted list of MappingRules for a specified tenant.",
|
|
991
|
+
endpoint: "POST /tenants/{tenantId}/mapping-rules/search",
|
|
992
|
+
params: "tenantId: string, body?: MappingRuleSearchQueryRequest",
|
|
993
|
+
returns: "TenantMappingRuleSearchResult",
|
|
994
|
+
},
|
|
995
|
+
assignMappingRuleToTenant: {
|
|
996
|
+
description: "Assign a mapping rule to a tenant Assign a single mapping rule to a specified tenant.",
|
|
997
|
+
endpoint: "PUT /tenants/{tenantId}/mapping-rules/{mappingRuleId}",
|
|
998
|
+
params: "tenantId: string, mappingRuleId: string",
|
|
999
|
+
returns: "void",
|
|
1000
|
+
},
|
|
1001
|
+
unassignMappingRuleFromTenant: {
|
|
1002
|
+
description: "Unassign a mapping rule from a tenant Unassigns a single mapping rule from a specified tenant without deleting the rule.",
|
|
1003
|
+
endpoint: "DELETE /tenants/{tenantId}/mapping-rules/{mappingRuleId}",
|
|
1004
|
+
params: "tenantId: string, mappingRuleId: string",
|
|
1005
|
+
returns: "void",
|
|
1006
|
+
},
|
|
1007
|
+
searchRolesForTenant: {
|
|
1008
|
+
description: "Search roles for tenant Retrieves a filtered and sorted list of roles for a specified tenant.",
|
|
1009
|
+
endpoint: "POST /tenants/{tenantId}/roles/search",
|
|
1010
|
+
params: "tenantId: string, body?: RoleSearchQueryRequest",
|
|
1011
|
+
returns: "TenantRoleSearchResult",
|
|
1012
|
+
},
|
|
1013
|
+
assignRoleToTenant: {
|
|
1014
|
+
description: "Assign a role to a tenant Assigns a role to a specified tenant. Users, Clients or Groups, that have the role assigned, will get access to the tenant's data and can perform actions according to their authorizations.",
|
|
1015
|
+
endpoint: "PUT /tenants/{tenantId}/roles/{roleId}",
|
|
1016
|
+
params: "tenantId: string, roleId: string",
|
|
1017
|
+
returns: "void",
|
|
1018
|
+
},
|
|
1019
|
+
unassignRoleFromTenant: {
|
|
1020
|
+
description: "Unassign a role from a tenant Unassigns a role from a specified tenant. Users, Clients or Groups, that have the role assigned, will no longer have access to the tenant's data - unless they are assigned directly to the tenant.",
|
|
1021
|
+
endpoint: "DELETE /tenants/{tenantId}/roles/{roleId}",
|
|
1022
|
+
params: "tenantId: string, roleId: string",
|
|
1023
|
+
returns: "void",
|
|
1024
|
+
},
|
|
1025
|
+
searchUsersForTenant: {
|
|
1026
|
+
description: "Search users for tenant Retrieves a filtered and sorted list of users for a specified tenant.",
|
|
1027
|
+
endpoint: "POST /tenants/{tenantId}/users/search",
|
|
1028
|
+
params: "tenantId: string, body?: TenantUserSearchQueryRequest",
|
|
1029
|
+
returns: "TenantUserSearchResult",
|
|
1030
|
+
},
|
|
1031
|
+
assignUserToTenant: {
|
|
1032
|
+
description: "Assign a user to a tenant Assign a single user to a specified tenant. The user can then access tenant data and perform authorized actions.",
|
|
1033
|
+
endpoint: "PUT /tenants/{tenantId}/users/{username}",
|
|
1034
|
+
params: "tenantId: string, username: string",
|
|
1035
|
+
returns: "void",
|
|
1036
|
+
},
|
|
1037
|
+
unassignUserFromTenant: {
|
|
1038
|
+
description: "Unassign a user from a tenant Unassigns the user from the specified tenant. The user can no longer access tenant data.",
|
|
1039
|
+
endpoint: "DELETE /tenants/{tenantId}/users/{username}",
|
|
1040
|
+
params: "tenantId: string, username: string",
|
|
1041
|
+
returns: "void",
|
|
1042
|
+
},
|
|
1043
|
+
},
|
|
1044
|
+
user: {
|
|
1045
|
+
createUser: {
|
|
1046
|
+
description: "Create user Create a new user.",
|
|
1047
|
+
endpoint: "POST /users",
|
|
1048
|
+
params: "body: UserRequest",
|
|
1049
|
+
returns: "UserCreateResult",
|
|
1050
|
+
},
|
|
1051
|
+
searchUsers: {
|
|
1052
|
+
description: "Search users Search for users based on given criteria.",
|
|
1053
|
+
endpoint: "POST /users/search",
|
|
1054
|
+
params: "body?: UserSearchQueryRequest",
|
|
1055
|
+
returns: "UserSearchResult",
|
|
1056
|
+
},
|
|
1057
|
+
getUser: {
|
|
1058
|
+
description: "Get user Get a user by its username.",
|
|
1059
|
+
endpoint: "GET /users/{username}",
|
|
1060
|
+
params: "username: string",
|
|
1061
|
+
returns: "UserResult",
|
|
1062
|
+
},
|
|
1063
|
+
updateUser: {
|
|
1064
|
+
description: "Update user Updates a user.",
|
|
1065
|
+
endpoint: "PUT /users/{username}",
|
|
1066
|
+
params: "username: string, body: UserUpdateRequest",
|
|
1067
|
+
returns: "UserUpdateResult",
|
|
1068
|
+
},
|
|
1069
|
+
deleteUser: {
|
|
1070
|
+
description: "Delete user Deletes a user.",
|
|
1071
|
+
endpoint: "DELETE /users/{username}",
|
|
1072
|
+
params: "username: string",
|
|
1073
|
+
returns: "void",
|
|
1074
|
+
},
|
|
1075
|
+
},
|
|
1076
|
+
userTask: {
|
|
1077
|
+
searchUserTasks: {
|
|
1078
|
+
description: "Search user tasks Search for user tasks based on given criteria.",
|
|
1079
|
+
endpoint: "POST /user-tasks/search",
|
|
1080
|
+
params: "body?: UserTaskSearchQuery",
|
|
1081
|
+
returns: "UserTaskSearchQueryResult",
|
|
1082
|
+
},
|
|
1083
|
+
getUserTask: {
|
|
1084
|
+
description: "Get user task Get the user task by the user task key.",
|
|
1085
|
+
endpoint: "GET /user-tasks/{userTaskKey}",
|
|
1086
|
+
params: "userTaskKey: string",
|
|
1087
|
+
returns: "UserTaskResult",
|
|
1088
|
+
},
|
|
1089
|
+
updateUserTask: {
|
|
1090
|
+
description: "Update user task Update a user task with the given key.",
|
|
1091
|
+
endpoint: "PATCH /user-tasks/{userTaskKey}",
|
|
1092
|
+
params: "userTaskKey: string, body?: UserTaskUpdateRequest",
|
|
1093
|
+
returns: "void",
|
|
1094
|
+
},
|
|
1095
|
+
unassignUserTask: {
|
|
1096
|
+
description: "Unassign user task Removes the assignee of a task with the given key.",
|
|
1097
|
+
endpoint: "DELETE /user-tasks/{userTaskKey}/assignee",
|
|
1098
|
+
params: "userTaskKey: string",
|
|
1099
|
+
returns: "void",
|
|
1100
|
+
},
|
|
1101
|
+
assignUserTask: {
|
|
1102
|
+
description: "Assign user task Assigns a user task with the given key to the given assignee.",
|
|
1103
|
+
endpoint: "POST /user-tasks/{userTaskKey}/assignment",
|
|
1104
|
+
params: "userTaskKey: string, body: UserTaskAssignmentRequest",
|
|
1105
|
+
returns: "void",
|
|
1106
|
+
},
|
|
1107
|
+
searchUserTaskAuditLogs: {
|
|
1108
|
+
description: "Search user task audit logs Search for user task audit logs based on given criteria.",
|
|
1109
|
+
endpoint: "POST /user-tasks/{userTaskKey}/audit-logs/search",
|
|
1110
|
+
params: "userTaskKey: string, body?: UserTaskAuditLogSearchQueryRequest",
|
|
1111
|
+
returns: "AuditLogSearchQueryResult",
|
|
1112
|
+
},
|
|
1113
|
+
completeUserTask: {
|
|
1114
|
+
description: "Complete user task Completes a user task with the given key.",
|
|
1115
|
+
endpoint: "POST /user-tasks/{userTaskKey}/completion",
|
|
1116
|
+
params: "userTaskKey: string, body?: UserTaskCompletionRequest",
|
|
1117
|
+
returns: "void",
|
|
1118
|
+
},
|
|
1119
|
+
getUserTaskForm: {
|
|
1120
|
+
description: "Get user task form Get the form of a user task. Note that this endpoint will only return linked forms. This endpoint does not support embedded forms.",
|
|
1121
|
+
endpoint: "GET /user-tasks/{userTaskKey}/form",
|
|
1122
|
+
params: "userTaskKey: string",
|
|
1123
|
+
returns: "FormResult",
|
|
1124
|
+
},
|
|
1125
|
+
searchUserTaskVariables: {
|
|
1126
|
+
description: "Search user task variables Search for user task variables based on given criteria. This endpoint returns all variables visible from the user task's scope, including variables from parent scopes in the scope hierarchy. By default, long variable values in the response are truncated.",
|
|
1127
|
+
endpoint: "POST /user-tasks/{userTaskKey}/variables/search",
|
|
1128
|
+
params: "userTaskKey: string, body?: UserTaskVariableSearchQueryRequest, query?: { truncateValues?: boolean }",
|
|
1129
|
+
returns: "VariableSearchQueryResult",
|
|
1130
|
+
},
|
|
1131
|
+
},
|
|
1132
|
+
variable: {
|
|
1133
|
+
searchVariables: {
|
|
1134
|
+
description: "Search variables Search for variables based on given criteria. This endpoint returns variables that exist directly at the specified scopes - it does not",
|
|
1135
|
+
endpoint: "POST /variables/search",
|
|
1136
|
+
params: "body?: VariableSearchQuery, query?: { truncateValues?: boolean }",
|
|
1137
|
+
returns: "VariableSearchQueryResult",
|
|
1138
|
+
},
|
|
1139
|
+
getVariable: {
|
|
1140
|
+
description: "Get variable Get a variable by its key. This endpoint returns both process-level and local (element-scoped) variables.",
|
|
1141
|
+
endpoint: "GET /variables/{variableKey}",
|
|
1142
|
+
params: "variableKey: string",
|
|
1143
|
+
returns: "VariableResult",
|
|
1144
|
+
},
|
|
1145
|
+
},
|
|
1146
|
+
};
|
|
1147
|
+
//# sourceMappingURL=camunda-spec.js.map
|