You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: Reads all of the active TrafficInfluence resources owned by the same API Consumer authenticated via oAuth2
142
+
description: Reads all of the active TrafficInfluence resources owned by the same API Consumer
148
143
operationId: getTrafficInfluence
149
144
responses:
150
145
'200':
151
146
description: Returns the information about existing TrafficInfluence resources.
147
+
headers:
148
+
x-correlator:
149
+
$ref: '#/components/headers/x-correlator'
152
150
content:
153
151
application/json:
154
152
schema:
@@ -172,18 +170,24 @@ paths:
172
170
summary: Creates a new TrafficInfluence resource
173
171
description: Takes as input an object containing the intents from the API Consumer and creates a TrafficInfluence resourse accordingly. The trafficInfluenceID parameter, that is part of the object, must not be valorized when creating a new resource. For this reason the trafficInfluenceID parameter must be avoided in the object, anyway it will be ignored by the API Producer. It is automatically generated by the system and returned in the response.
174
172
operationId: postTrafficInfluence
173
+
parameters:
174
+
- $ref: '#/components/parameters/x-correlator'
175
+
security:
176
+
- openId:
177
+
- traffic-influences:write
175
178
requestBody:
176
179
description: Describes the request body
177
180
required: true
178
181
content:
179
182
application/json:
180
183
schema:
181
184
$ref: '#/components/schemas/PostTrafficInfluence'
182
-
183
185
responses:
184
186
'201':
185
-
description: TrafficInfluence resource created, the related object is returned with the resource ID (trafficInfluenceID) and status (state) valorised,
187
+
description: TrafficInfluence resource created, the related object is returned with the resource ID (trafficInfluenceID) and status (state) valorised.
186
188
headers:
189
+
x-correlator:
190
+
$ref: '#/components/headers/x-correlator'
187
191
Location:
188
192
description: Link to the created traffic influence resource
189
193
schema:
@@ -221,11 +225,19 @@ paths:
221
225
tags:
222
226
- Traffic Influence API read
223
227
summary: Reads a specific TrafficInfluence resource identified by the trafficInfluenceID value
224
-
description: Returns a specific TrafficInfluence resources owned by the same API Consumer authenticated via oAuth2
228
+
description: Returns a specific TrafficInfluence resources owned by the same API Consumer
225
229
operationId: getAllTrafficInfluences
230
+
parameters:
231
+
- $ref: '#/components/parameters/x-correlator'
232
+
security:
233
+
- openId:
234
+
- traffic-influences:read
226
235
responses:
227
236
'200':
228
237
description: OK.
238
+
headers:
239
+
x-correlator:
240
+
$ref: '#/components/headers/x-correlator'
229
241
content:
230
242
application/json:
231
243
schema:
@@ -248,6 +260,11 @@ paths:
248
260
summary: updates a specific TrafficInfluence resource, identified by the trafficInfluenceID value
249
261
description: The resource identified by the trafficInfluenceID value can be modified
250
262
operationId: patchTrafficInfluence
263
+
parameters:
264
+
- $ref: '#/components/parameters/x-correlator'
265
+
security:
266
+
- openId:
267
+
- traffic-influences:write
251
268
requestBody:
252
269
description: Describes the request body
253
270
required: true
@@ -268,6 +285,8 @@ paths:
268
285
schema:
269
286
type: string
270
287
description: Link to the created traffic influence resource
288
+
x-correlator:
289
+
$ref: '#/components/headers/x-correlator'
271
290
"400":
272
291
$ref: "#/components/responses/Generic400"
273
292
'404':
@@ -291,7 +310,11 @@ paths:
291
310
summary: Delete an existing TrafficInfluence resource
292
311
description: invoked by the API Consumer to stop influencing the traffic, deleting a TrafficInfluence resource previously created
summary: Provides a notifican channel for changes in the TrafficInfluence resource
346
381
description: Creating, modifying or delating a Traffic Influece resourece is an asycronous task. For this reason a notification channel via callback to a specified URL is provided.
347
-
operationId: postTrafficInfluence
382
+
operationId: postTrafficInfluence
383
+
parameters:
384
+
- $ref: '#/components/parameters/x-correlator'
348
385
requestBody:
349
386
description: subscription payload which contains the updated traffic influence instance
350
387
content:
@@ -356,10 +393,16 @@ components:
356
393
description: |
357
394
Your server implementation should return this HTTP status code
358
395
if the data was received successfully
396
+
headers:
397
+
x-correlator:
398
+
$ref: '#/components/headers/x-correlator'
359
399
'204':
360
400
description: |
361
401
Your server should return this HTTP status code if no longer interested
0 commit comments