aboutsummaryrefslogtreecommitdiffstats
path: root/docs/api/swagger/SO_MONITORING_SWAGGER.yaml
blob: fc6e75787f835f7e887336f19d54914c28d5b8cf (plain)
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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
swagger: '2.0'
info:
  version: 3.1.2
  title: SO Monitoring APIs
tags:
- name: getProcessInstanceId
- name: getSingleProcessInstance
- name: getProcessDefinitionXml
- name: getActivityInstanceDetail
- name: getProcessInstanceVariables
- name: getInfraActiveRequests
schemes:
- http
paths:
  /so/monitoring/process-instance-id/{requestId}:
    get:
      tags:
      - getProcessInstanceId
      summary: Get process instance ID for given request ID
      description: ''
      operationId: getProcessInstanceId
      consumes:
      - application/json
      produces:
      - application/json
      - application/xml
      parameters:
      - name: requestId
        in: path
        required: true
        type: string
        pattern: ^(?!\s*$).+
      responses:
        200:
          description: A ProcessInstanceIdDetail object
          schema:
            type: object
            properties:
              processInstanceId:
                type: string
                description: The process instance ID
        204:
          description: Unable to find process instance id for given request ID.
        400:
          description: Unable to find process instance id for given request ID.
        500:
          description: Unable to find process instance id for given request ID.
  /so/monitoring/process-instance/{processInstanceId}:
    get:
      tags:
      - getSingleProcessInstance
      summary: Get process instance for given process instance ID
      description: ''
      operationId: getSingleProcessInstance
      consumes:
      - application/json
      produces:
      - application/json
      - application/xml
      parameters:
      - name: processInstanceId
        in: path
        required: true
        type: string
        pattern: ^(?!\s*$).+
      responses:
        200:
          description: A ProcessInstanceDetail object
          schema:
            type: object
            properties:
              processInstanceId:
                type: string
                description: The process instance ID
              processDefinitionId:
                type: string
                description: The process definition ID
              processDefinitionName:
                type: string
                description: The process definition name
              superProcessInstanceId:
                type: string
                description: The super process instance ID
        204:
          description: Unable to find process instance for given process instance ID.
        400:
          description: Unable to find process instance for given process instance ID.
        500:
          description: Unable to find process instance  for given process instance ID.
  /so/monitoring/process-definition/{processDefinitionId}:
    get:
      tags:
      - getProcessDefinitionXml
      summary: Get process definition for given process definition ID
      description: ''
      operationId: getProcessDefinitionXml
      consumes:
      - application/json
      produces:
      - application/json
      - application/xml
      parameters:
      - name: processDefinitionId
        in: path
        required: true
        type: string
        pattern: ^(?!\s*$).+
      responses:
        200:
          description: A ProcessDefinitionDetail object
          schema:
            type: object
            properties:
              processDefinitionId:
                type: string
                description: The process definition ID
              processDefinitionXml:
                type: string
                description: The process definition XML
        204:
          description: Unable to find process definition xml for given process definition ID.
        400:
          description: Unable to find process definition xml for given process definition ID.
        500:
          description: Unable to find process definition xml for given process definition ID.
  /so/monitoring/activity-instance/{processInstanceId}:
    get:
      tags:
      - getActivityInstanceDetail
      summary: Get activity instance details for given process instance ID
      description: ''
      operationId: getActivityInstanceDetail
      consumes:
      - application/json
      produces:
      - application/json
      - application/xml
      parameters:
      - name: processInstanceId
        in: path
        required: true
        type: string
        pattern: ^(?!\s*$).+
      responses:
        200:
          description: A ActivityInstanceDetail object
          schema:
            type: array
            items:
              properties:
                activityId:
                  type: string
                  description: The activity ID
                activityName:
                  type: string
                  description: The activity name
                activityType:
                  type: string
                  description: The activity type
                processInstanceId:
                  type: string
                  description: The process instance ID
                calledProcessInstanceId:
                  type: string
                  description: The sub-process instance ID
                startTime:
                  type: string
                  description: The process execution start time
                endTime:
                  type: string
                  description: The process execution end time
                durationInMilliseconds:
                  type: string
                  description: The process execution duration in ms
        204:
          description: Unable to find process instance variables for given process instance ID.
        400:
          description: Unable to find process instance variables for given process instance ID.
        500:
          description: Unable to find process instance variables for given process instance ID.
  /so/monitoring/variable-instance/{processInstanceId}:
    get:
      tags:
      - getProcessInstanceVariables
      summary: Get process instance variables for given process instance ID
      description: ''
      operationId: getProcessInstanceVariables
      consumes:
      - application/json
      produces:
      - application/json
      - application/xml
      parameters:
      - name: processInstanceId
        in: path
        required: true
        type: string
        pattern: ^(?!\s*$).+
      responses:
        200:
          description: A ProcessInstanceVariableDetail object
          schema:
            type: object
            properties:
              name:
                type: string
                description: The variable name
              value:
                type: object
                description: The variable value
              type:
                type: string
                description: The variable type
        204:
          description: Unable to find activity instance for given process instance ID.
        400:
          description: Unable to find activity instance for given process instance ID.
        500:
          description: Unable to find activity instance for given process instance ID.
  /so/monitoring/v1/search:
    post:
      tags:
      - getInfraActiveRequests
      summary: Search infra active request for given parameter map and parameters
      description: ''
      operationId: getInfraActiveRequests
      consumes:
      - application/json
      produces:
      - application/json
      - application/xml
      parameters:
      - in: body
        name: filters
        required: true
        schema:
          type: object
          additionalProperties:
            type: string
      - in: query
        name: from
        required: true
        type: number
      - in: query
        name: to
        required: true
        type: number
      - in: query
        name: maxResult
        required: false
        type: number
      responses:
        200:
          description: A SoInfraRequest object
          schema:
            type: array
            items:
              properties:
                requestId:
                  type: string
                  description: The request ID
                serviceInstanceId:
                  type: string
                  description: The service instance ID
                serviceIstanceName:
                  type: string
                  description: The service instance name
                networkId:
                  type: string
                  description: The network ID
                requestStatus:
                  type: string
                  description: The request status
                serviceType:
                  type: string
                  description: The service type
                startTime:
                  type: string
                  description: The process execution start time
                endTime:
                  type: string
                  description: The process execution send time
        204:
          description: Unable to find search request for given filter and parameters.
        400:
          description: Unable to find search request for given filter and parameters
        500:
          description: Unable to find search request for given filter and parameters