forked from telefonicaid/fiware-orion
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ServiceRoutines.txt
385 lines (286 loc) · 43 KB
/
ServiceRoutines.txt
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
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
This "document" shows the service routine for each REST request that Orion supports.
In the graph, you can clearly see which service routines call other service routines and
finally the function of mongoBackend (if any) where the request ends up.
NOTE:
The OPTIONS verb is only supported by the broker if started with the CLI option '-corsOrigin'
API V2:
====================================================================================================
GET /v2 entryPointsTreat
OPTIONS /v2 optionsGetOnly
* /v2 badVerbGetOnly
GET /v2/entities getEntities -----------------------------------------------> postQueryContext -------------------------------------------> mongoQueryContext
POST /v2/entities postEntities ----------------------------------------------> postUpdateContext -------------------------------------------> mongoUpdateContext
OPTIONS /v2/entities optionsGetPostOnly
* /v2/entities badVerbGetPostOnly
GET /v2/entities/{EID} getEntity -------------------------------------> postQueryContext -------------------------------------------> mongoQueryContext
DELETE /v2/entities/{EID} deleteEntity ----------------------------------------------> postUpdateContext -------------------------------------------> mongoUpdateContext
OPTIONS /v2/entities/{EID} optionsGetDeleteOnly
* /v2/entities/{EID} badVerbGetDeleteOnly
GET /v2/entities/{EID}/attrs getEntity -------------------------------------------------> postQueryContext -------------------------------------------> mongoQueryContext
POST /v2/entities/{EID}/attrs postEntity ------------------------------------------------> postUpdateContext -------------------------------------------> mongoUpdateContext
PUT /v2/entities/{EID}/attrs putEntity -------------------------------------------------> postUpdateContext -------------------------------------------> mongoUpdateContext
PATCH /v2/entities/{EID}/attrs patchEntity -----------------------------------------------> postUpdateContext -------------------------------------------> mongoUpdateContext
OPTIONS /v2/entities/{EID}/attrs optionsAllNotDelete
* /v2/entities/{EID}/attrs badVerbAllNotDelete
GET /v2/entities/{EID}/attrs/{ATTRNAME}/value getEntityAttributeValue -----------------------------------> postQueryContext -------------------------------------------> mongoQueryContext
PUT /v2/entities/{EID}/attrs/{ATTRNAME}/value putEntityAttributeValue -----------------------------------> postUpdateContext -------------------------------------------> mongoUpdateContext
OPTIONS /v2/entities/{EID}/attrs/{ATTRNAME}/value optionsGetPutOnly
* /v2/entities/{EID}/attrs/{ATTRNAME}/value badVerbGetPutOnly
GET /v2/entities/{EID}/attrs/{ATTRNAME} getEntityAttribute ----------------------------------------> postQueryContext -------------------------------------------> mongoQueryContext
PUT /v2/entities/{EID}/attrs/{ATTRNAME} putEntityAttribute ----------------------------------------> postUpdateContext -------------------------------------------> mongoUpdateContext
DELETE /v2/entities/{EID}/attrs/{ATTRNAME} deleteEntity ----------------------------------------------> postUpdateContext -------------------------------------------> mongoUpdateContext
OPTIONS /v2/entities/{EID}/attrs/{ATTRNAME} optionsGetPutDeleteOnly
* /v2/entities/{EID}/attrs/{ATTRNAME} badVerbGetPutDeleteOnly
GET /v2/types/{ETYPE} getEntityType ------------------------------------------------------------------------------------------------------------> mongoAttributesForEntityType
OPTIONS /v2/types/{ETYPE} optionsGetOnly
* /v2/types/{ETYPE} badVerbGetOnly
GET /v2/types getEntityAllTypes --------------------------------------------------------------------------------------------------------> mongoEntityTypesValues/mongoEntityTypes
OPTIONS /v2/types optionsGetOnly
* /v2/types badVerbGetOnly
GET /v2/subscriptions getAllSubscriptions ------------------------------------------------------------------------------------------------------> mongoListSubscriptions
POST /v2/subscriptions postSubscriptions --------------------------------------------------------------------------------------------------------> mongoCreateSubscription
OPTIONS /v2/subscriptions optionsGetPostOnly
* /v2/subscriptions badVerbGetPostOnly
GET /v2/subscriptions/{SUBID} getSubscription ----------------------------------------------------------------------------------------------------------> mongoGetSubscription
DELETE /v2/subscriptions/{SUBID} deleteSubscription -------------------------------------------------------------------------------------------------------> mongoUnsubscribeContext
PATCH /v2/subscriptions/{SUBID} patchSubscription --------------------------------------------------------------------------------------------------------> mongoUpdateSubscription
OPTIONS /v2/subscriptions/{SUBID} optionsGetDeletePatchOnly
* /v2/subscriptions/{SUBID} badVerbGetDeletePatchOnly
GET /v2/registrations/{REGID} getRegistration ----------------------------------------------------------------------------------------------------------> mongoRegistrationGet
DELETE /v2/registrations/{REGID} deleteRegistration -------------------------------------------------------------------------------------------------------> mongoRegistrationDelete
OPTIONS /v2/registrations/{REGID} optionsGetDeleteOnly
* /v2/registrations/{REGID} badVerbGetDeleteOnly
GET /v2/registrations getRegistrations ---------------------------------------------------------------------------------------------------------> mongoRegistrationsGet
POST /v2/registrations getRegistrations ---------------------------------------------------------------------------------------------------------> mongoRegistrationCreate
OPTIONS /v2/registrations optionsGetPostOnly
* /v2/registrations badVerbGetPostOnly
POST /v2/op/query postBatchQuery --------------------------------------------> postQueryContext -------------------------------------------> mongoQueryContext
* /v2/op/query badVerbPostOnly
POST /v2/op/update postBatchUpdate -------------------------------------------> postUpdateContext -------------------------------------------> mongoUpdateContext
* /v2/op/update badVerbPostOnly
V0 STANDARD REGISTRY REQUESTS:
====================================================================================================
POST /ngsi9/registerContext postRegisterContext ------------------------------------------------------------------------------------------------------> mongoRegisterContext
* /ngsi9/registerContext badVerbPostOnly
POST /ngsi9/discoverContextAvailability postDiscoverContextAvailability ------------------------------------------------------------------------------------------> mongoDiscoverContextAvailability
* /ngsi9/discoverContextAvailability badVerbPostOnly
V1 STANDARD REGISTRY REQUESTS:
====================================================================================================
POST /v1/registerContext postRegisterContext ------------------------------------------------------------------------------------------------------> mongoRegisterContext
* /v1/registerContext badVerbPostOnly
POST /v1/discoverContextAvailability postDiscoverContextAvailability ------------------------------------------------------------------------------------------> mongoDiscoverContextAvailability
* /v1/discoverContextAvailability badVerbPostOnly
V0 STANDARD REQUESTS:
====================================================================================================
POST /ngsi10/updateContext postUpdateContext --------------------------------------------------------------------------------------------------------> mongoUpdateContext
* /ngsi10/updateContext badVerbPostOnly
POST /ngsi10/queryContext postQueryContext ---------------------------------------------------------------------------------------------------------> mongoQueryContext
* /ngsi10/queryContext badVerbPostOnly
POST /ngsi10/subscribeContext postSubscribeContext -----------------------------------------------------------------------------------------------------> mongoSubscribeContext
* /ngsi10/subscribeContext badVerbPostOnly
POST /ngsi10/unsubscribeContext postUnsubscribeContext ---------------------------------------------------------------------------------------------------> mongoUnsubscribeContext
* /ngsi10/unsubscribeContext badVerbPostOnly
POST /ngsi10/updateContextSubscription postUpdateContextSubscription --------------------------------------------------------------------------------------------> mongoUpdateContextSubscription
* /ngsi10/updateContextSubscription badVerbPostOnly
POST /ngsi10/notifyContext postNotifyContext --------------------------------------------------------------------------------------------------------> mongoNotifyContext
* /ngsi10/notifyContext badVerbPostOnly
V1 STANDARD REQUESTS:
====================================================================================================
POST /v1/updateContext postUpdateContext --------------------------------------------------------------------------------------------------------> mongoUpdateContext
* /v1/updateContext badVerbPostOnly
POST /v1/queryContext postQueryContext ---------------------------------------------------------------------------------------------------------> mongoQueryContext
* /v1/queryContext badVerbPostOnly
POST /v1/subscribeContext postSubscribeContext -----------------------------------------------------------------------------------------------------> mongoSubscribeContext
* /v1/subscribeContext badVerbPostOnly
POST /v1/unsubscribeContext postUnsubscribeContext ---------------------------------------------------------------------------------------------------> mongoUnsubscribeContext
* /v1/unsubscribeContext badVerbPostOnly
POST /v1/updateContextSubscription postUpdateContextSubscription --------------------------------------------------------------------------------------------> mongoUpdateContextSubscription
* /v1/updateContextSubscription badVerbPostOnly
POST /v1/notifyContext postNotifyContext --------------------------------------------------------------------------------------------------------> mongoNotifyContext
* /v1/notifyContext badVerbPostOnly
V0 REGISTRY CONVENIENCE OPERATIONS:
====================================================================================================
GET /ngsi9/contextEntities/{EID} getContextEntitiesByEntityId ------------------------------> postDiscoverContextAvailability -----------------------------> mongoDiscoverContextAvailability
POST /ngsi9/contextEntities/{EID} postContextEntitiesByEntityId -----------------------------> postRegisterContext -----------------------------------------> mongoRegisterContext
* /ngsi9/contextEntities/{EID} badVerbGetPostOnly
GET /ngsi9/contextEntities/{EID}/attributes getContextEntityAttributes --------------------------------> postDiscoverContextAvailability -----------------------------> mongoDiscoverContextAvailability
POST /ngsi9/contextEntities/{EID}/attributes postContextEntityAttributes -------------------------------> postRegisterContext -----------------------------------------> mongoRegisterContext
* /ngsi9/contextEntities/{EID}/attributes badVerbGetPostOnly
GET /ngsi9/contextEntities/{EID}/attributes/{ATTRNAME} getEntityByIdAttributeByName ------------------------------> postDiscoverContextAvailability -----------------------------> mongoDiscoverContextAvailability
POST /ngsi9/contextEntities/{EID}/attributes/{ATTRNAME} postEntityByIdAttributeByName -----------------------------> postRegisterContext -----------------------------------------> mongoRegisterContext
* /ngsi9/contextEntities/{EID}/attributes/{ATTRNAME} badVerbGetPostOnly
GET /ngsi9/contextEntityTypes/{ETYPE} getContextEntityTypes -------------------------------------> postDiscoverContextAvailability -----------------------------> mongoDiscoverContextAvailability
POST /ngsi9/contextEntityTypes/{ETYPE} postContextEntityTypes ------------------------------------> postRegisterContext -----------------------------------------> mongoRegisterContext
* /ngsi9/contextEntityTypes/{ETYPE} badVerbGetPostOnly
GET /ngsi9/contextEntityTypes/{ETYPE}/attributes getContextEntityTypes -------------------------------------> postDiscoverContextAvailability -----------------------------> mongoDiscoverContextAvailability
POST /ngsi9/contextEntityTypes/{ETYPE}/attributes postContextEntityTypes ------------------------------------> postRegisterContext -----------------------------------------> mongoRegisterContext
* /ngsi9/contextEntityTypes/{ETYPE}/attributes badVerbGetPostOnly
GET /ngsi9/contextEntityTypes/{ETYPE}/attributes/{ATTRNAME} getContextEntityTypeAttribute -----------------------------> postDiscoverContextAvailability -----------------------------> mongoDiscoverContextAvailability
POST /ngsi9/contextEntityTypes/{ETYPE}/attributes/{ATTRNAME} postContextEntityTypeAttribute ----------------------------> postRegisterContext -----------------------------------------> mongoRegisterContext
* /ngsi9/contextEntityTypes/{ETYPE}/attributes/{ATTRNAME} badVerbGetPostOnly
V1 REGISTRY CONVENIENCE OPERATIONS:
====================================================================================================
GET /v1/registry/contextEntities/{EID} getContextEntitiesByEntityId ------------------------------> postDiscoverContextAvailability -----------------------------> mongoDiscoverContextAvailability
POST /v1/registry/contextEntities/{EID} postContextEntitiesByEntityId -----------------------------> postRegisterContext -----------------------------------------> mongoRegisterContext
* /v1/registry/contextEntities/{EID} badVerbGetPostOnly
GET /v1/registry/contextEntities/{EID}/attributes getContextEntityAttributes --------------------------------> postDiscoverContextAvailability -----------------------------> mongoDiscoverContextAvailability
POST /v1/registry/contextEntities/{EID}/attributes postContextEntityAttributes -------------------------------> postRegisterContext -----------------------------------------> mongoRegisterContext
* /v1/registry/contextEntities/{EID}/attributes badVerbGetPostOnly
GET /v1/registry/contextEntities/{EID}/attributes/{ATTRNAME} getEntityByIdAttributeByName ------------------------------> postDiscoverContextAvailability -----------------------------> mongoDiscoverContextAvailability
POST /v1/registry/contextEntities/{EID}/attributes/{ATTRNAME} postEntityByIdAttributeByName -----------------------------> postRegisterContext -----------------------------------------> mongoRegisterContext
* /v1/registry/contextEntities/{EID}/attributes/{ATTRNAME} badVerbGetPostOnly
GET /v1/registry/contextEntityTypes/{ETYPE} getContextEntityTypes -------------------------------------> postDiscoverContextAvailability -----------------------------> mongoDiscoverContextAvailability
POST /v1/registry/contextEntityTypes/{ETYPE} postContextEntityTypes ------------------------------------> postRegisterContext -----------------------------------------> mongoRegisterContext
* /v1/registry/contextEntityTypes/{ETYPE} badVerbGetPostOnly
GET /v1/registry/contextEntityTypes/{ETYPE}/attributes getContextEntityTypes -------------------------------------> postDiscoverContextAvailability -----------------------------> mongoDiscoverContextAvailability
POST /v1/registry/contextEntityTypes/{ETYPE}/attributes postContextEntityTypes ------------------------------------> postRegisterContext -----------------------------------------> mongoRegisterContext
* /v1/registry/contextEntityTypes/{ETYPE}/attributes badVerbGetPostOnly
GET /v1/registry/contextEntityTypes/{ETYPE}/attributes/{ATTRNAME} getContextEntityTypeAttribute -----------------------------> postDiscoverContextAvailability -----------------------------> mongoDiscoverContextAvailability
POST /v1/registry/contextEntityTypes/{ETYPE}/attributes/{ATTRNAME} postContextEntityTypeAttribute ----------------------------> postRegisterContext -----------------------------------------> mongoRegisterContext
* /v1/registry/contextEntityTypes/{ETYPE}/attributes/{ATTRNAME} badVerbGetPostOnly
V0 CONVENIENCE OPERATIONS:
====================================================================================================
GET /ngsi10/contextEntities/{EID} getIndividualContextEntity --------------------------------> postQueryContext --------------------------------------------> mongoQueryContext
PUT /ngsi10/contextEntities/{EID} putIndividualContextEntity --------------------------------> postUpdateContext -------------------------------------------> mongoUpdateContext
POST /ngsi10/contextEntities/{EID} postIndividualContextEntity -------------------------------> postUpdateContext -------------------------------------------> mongoUpdateContext
DELETE /ngsi10/contextEntities/{EID} deleteIndividualContextEntity -----------------------------> postUpdateContext -------------------------------------------> mongoUpdateContext
* /ngsi10/contextEntities/{EID} badVerbAllFour
GET /ngsi10/contextEntities/{EID}/attributes getIndividualContextEntity --------------------------------> postQueryContext --------------------------------------------> mongoQueryContext
PUT /ngsi10/contextEntities/{EID}/attributes putIndividualContextEntity --------------------------------> postUpdateContext -------------------------------------------> mongoUpdateContext
POST /ngsi10/contextEntities/{EID}/attributes postIndividualContextEntity -------------------------------> postUpdateContext -------------------------------------------> mongoUpdateContext
DELETE /ngsi10/contextEntities/{EID}/attributes deleteIndividualContextEntity -----------------------------> postUpdateContext -------------------------------------------> mongoUpdateContext
* /ngsi10/contextEntities/{EID}/attributes badVerbAllFour
GET /ngsi10/contextEntities/{EID}/attributes/{ATTRNAME} getIndividualContextEntityAttribute -----------------------> postQueryContext --------------------------------------------> mongoQueryContext
PUT /ngsi10/contextEntities/{EID}/attributes/{ATTRNAME} putIndividualContextEntityAttribute -----------------------> postUpdateContext -------------------------------------------> mongoUpdateContext
POST /ngsi10/contextEntities/{EID}/attributes/{ATTRNAME} postIndividualContextEntityAttribute ----------------------> postUpdateContext -------------------------------------------> mongoUpdateContext
DELETE /ngsi10/contextEntities/{EID}/attributes/{ATTRNAME} deleteIndividualContextEntityAttribute --------------------> postUpdateContext -------------------------------------------> mongoUpdateContext
* /ngsi10/contextEntities/{EID}/attributes/{ATTRNAME} badVerbAllFour
GET /ngsi10/contextEntities/{EID}/attributes/{ATTRNAME}/{ID} getAttributeValueInstance ---------------------------------> postQueryContext --------------------------------------------> mongoQueryContext
PUT /ngsi10/contextEntities/{EID}/attributes/{ATTRNAME}/{ID} putAttributeValueInstance ---------------------------------> postUpdateContext -------------------------------------------> mongoUpdateContext
DELETE /ngsi10/contextEntities/{EID}/attributes/{ATTRNAME}/{ID} deleteAttributeValueInstance ------------------------------> postUpdateContext -------------------------------------------> mongoUpdateContext
* /ngsi10/contextEntities/{EID}/attributes/{ATTRNAME}/{ID} badVerbGetPutDeleteOnly
GET /ngsi10/contextEntityTypes/{ETYPE} getNgsi10ContextEntityTypes -------------------------------> postQueryContext --------------------------------------------> mongoQueryContext
* /ngsi10/contextEntityTypes/{ETYPE} badVerbGetOnly
GET /ngsi10/contextEntityTypes/{ETYPE}/attributes getNgsi10ContextEntityTypes -------------------------------> postQueryContext --------------------------------------------> mongoQueryContext
* /ngsi10/contextEntityTypes/{ETYPE}/attributes badVerbGetOnlyy
GET /ngsi10/contextEntityTypes/{ETYPE}/attributes/{ATTRNAME} getNgsi10ContextEntityTypesAttribute ----------------------> postQueryContext --------------------------------------------> mongoQueryContext
* /ngsi10/contextEntityTypes/{ETYPE}/attributes/{ATTRNAME} badVerbGetOnly
POST /ngsi10/contextSubscriptions postSubscribeContextConvOp --------------------------------> postSubscribeContext ----------------------------------------> mongoSubscribeContext
* /ngsi10/contextSubscriptions badVerbPostOnly
PUT /ngsi10/contextSubscriptions/{SUBID} putSubscriptionConvOp -------------------------------------> postUpdateContextSubscription -------------------------------> mongoUpdateContextSubscription
DELETE /ngsi10/contextSubscriptions/{SUBID} deleteSubscriptionConvOp ----------------------------------> postUnsubscribeContext --------------------------------------> mongoUnsubscribeContext
* /ngsi10/contextSubscriptions/{SUBID} badVerbPutDeleteOnly
V1 CONVENIENCE OPERATIONS:
====================================================================================================
GET /v1/contextEntities/{EID} getIndividualContextEntity --------------------------------> postQueryContext --------------------------------------------> mongoQueryContext
PUT /v1/contextEntities/{EID} putIndividualContextEntity --------------------------------> postUpdateContext -------------------------------------------> mongoUpdateContext
POST /v1/contextEntities/{EID} postIndividualContextEntity -------------------------------> postUpdateContext -------------------------------------------> mongoUpdateContext
DELETE /v1/contextEntities/{EID} deleteIndividualContextEntity -----------------------------> postUpdateContext -------------------------------------------> mongoUpdateContext
* /v1/contextEntities/{EID} badVerbAllFour
GET /v1/contextEntities/{EID}/attributes getIndividualContextEntity --------------------------------> postQueryContext --------------------------------------------> mongoQueryContext
PUT /v1/contextEntities/{EID}/attributes putIndividualContextEntity --------------------------------> postUpdateContext -------------------------------------------> mongoUpdateContext
POST /v1/contextEntities/{EID}/attributes postIndividualContextEntity -------------------------------> postUpdateContext -------------------------------------------> mongoUpdateContext
DELETE /v1/contextEntities/{EID}/attributes deleteIndividualContextEntity -----------------------------> postUpdateContext -------------------------------------------> mongoUpdateContext
* /v1/contextEntities/{EID}/attributes badVerbAllFour
GET /v1/contextEntities/{EID}/attributes/{ATTRNAME} getIndividualContextEntityAttribute -----------------------> postQueryContext --------------------------------------------> mongoQueryContext
PUT /v1/contextEntities/{EID}/attributes/{ATTRNAME} putIndividualContextEntityAttribute -----------------------> postUpdateContext -------------------------------------------> mongoUpdateContext
POST /v1/contextEntities/{EID}/attributes/{ATTRNAME} postIndividualContextEntityAttribute ----------------------> postUpdateContext -------------------------------------------> mongoUpdateContext
DELETE /v1/contextEntities/{EID}/attributes/{ATTRNAME} deleteIndividualContextEntityAttribute --------------------> postUpdateContext -------------------------------------------> mongoUpdateContext
* /v1/contextEntities/{EID}/attributes/{ATTRNAME} badVerbAllFour
GET /v1/contextEntities/{EID}/attributes/{ATTRNAME}/{ID} getAttributeValueInstance ---------------------------------> postQueryContext --------------------------------------------> mongoQueryContext
PUT /v1/contextEntities/{EID}/attributes/{ATTRNAME}/{ID} putAttributeValueInstance ---------------------------------> postUpdateContext -------------------------------------------> mongoUpdateContext
DELETE /v1/contextEntities/{EID}/attributes/{ATTRNAME}/{ID} deleteAttributeValueInstance ------------------------------> postUpdateContext -------------------------------------------> mongoUpdateContext
* /v1/contextEntities/{EID}/attributes/{ATTRNAME}/{ID} badVerbGetPutDeleteOnly
GET /v1/contextEntityTypes/{ETYPE} getNgsi10ContextEntityTypes -------------------------------> postQueryContext --------------------------------------------> mongoQueryContext
* /v1/contextEntityTypes/{ETYPE} badVerbGetOnly
GET /v1/contextEntityTypes/{ETYPE}/attributes getNgsi10ContextEntityTypes -------------------------------> postQueryContext --------------------------------------------> mongoQueryContext
* /v1/contextEntityTypes/{ETYPE}/attributes badVerbGetOnlyy
GET /v1/contextEntityTypes/{ETYPE}/attributes/{ATTRNAME} getNgsi10ContextEntityTypesAttribute ----------------------> postQueryContext --------------------------------------------> mongoQueryContext
* /v1/contextEntityTypes/{ETYPE}/attributes/{ATTRNAME} badVerbGetOnly
POST /v1/contextSubscriptions postSubscribeContextConvOp --------------------------------> postSubscribeContext ----------------------------------------> mongoSubscribeContext
* /v1/contextSubscriptions badVerbPostOnly
PUT /v1/contextSubscriptions/{SUBID} putSubscriptionConvOp -------------------------------------> postUpdateContextSubscription -------------------------------> mongoUpdateContextSubscription
DELETE /v1/contextSubscriptions/{SUBID} deleteSubscriptionConvOp ----------------------------------> postUnsubscribeContext --------------------------------------> mongoUnsubscribeContext
* /v1/contextSubscriptions/{SUBID} badVerbPutDeleteOnly
TID CONVENIENCE OPERATIONS:
====================================================================================================
GET /v1/contextTypes getEntityTypes -----------------------------------------------------------------------------------------------------------> mongoEntityTypes
* /v1/contextTypes badVerbGetOnly
GET /v1/contextTypes/{ETYPE} getAttributesForEntityType ----------------------------------------------------------------------------------------------> mongoAttributesForEntityType
* /v1/contextTypes/{ETYPE} badVerbGetOnly
GET /v1/contextEntities getAllContextEntities -------------------------------> postQueryContext --------------------------------------------> mongoQueryContext
POST /v1/contextEntities postIndividualContextEntity -------------------------------> postUpdateContext -------------------------------------------> mongoUpdateContext
* /v1/contextEntities badVerbGetPostOnly
GET /v1/contextEntities/type/{ETYPE}/id/{EID} getAllEntitiesWithTypeAndId -------------------------------> postQueryContext --------------------------------------------> mongoQueryContext
POST /v1/contextEntities/type/{ETYPE}/id/{EID} postAllEntitiesWithTypeAndId ------------------------------> postUpdateContext -------------------------------------------> mongoUpdateContext
PUT /v1/contextEntities/type/{ETYPE}/id/{EID} putAllEntitiesWithTypeAndId -------------------------------> postUpdateContext -------------------------------------------> mongoUpdateContext
DELETE /v1/contextEntities/type/{ETYPE}/id/{EID} deleteAllEntitiesWithTypeAndId ----------------------------> postUpdateContext -------------------------------------------> mongoUpdateContext
* /v1/contextEntities/type/{ETYPE}/id/{EID} badVerbAllFour
GET /v1/contextEntities/type/{ETYPE}/id/{EID}/attributes/{ATTRNAME} getIndividualContextEntityAttributeWithTypeAndId -------> postQueryContext --------------------------------------------> mongoQueryContext
POST /v1/contextEntities/type/{ETYPE}/id/{EID}/attributes/{ATTRNAME} postIndividualContextEntityAttributeWithTypeAndId -------> postUpdateContext -------------------------------------------> mongoUpdateContext
PUT /v1/contextEntities/type/{ETYPE}/id/{EID}/attributes/{ATTRNAME} putIndividualContextEntityAttributeWithTypeAndId -------> postUpdateContext -------------------------------------------> mongoUpdateContext
DELETE /v1/contextEntities/type/{ETYPE}/id/{EID}/attributes/{ATTRNAME} deleteIndividualContextEntityAttributeWithTypeAndId -------> postUpdateContext -------------------------------------------> mongoUpdateContext
* /v1/contextEntities/type/{ETYPE}/id/{EID}/attributes/{ATTRNAME} badVerbAllFour
GET /v1/contextEntities/type/{ETYPE}/id/{EID}/attributes/{ATTRNAME}/{ID} getAttributeValueInstanceWithTypeAndId -----------------> postQueryContext --------------------------------------------> mongoQueryContext
POST /v1/contextEntities/type/{ETYPE}/id/{EID}/attributes/{ATTRNAME}/{ID} postAttributeValueInstanceWithTypeAndId -----------------> postUpdateContext -------------------------------------------> mongoUpdateContext
PUT /v1/contextEntities/type/{ETYPE}/id/{EID}/attributes/{ATTRNAME}/{ID} putAttributeValueInstanceWithTypeAndId -----------------> postUpdateContext -------------------------------------------> mongoUpdateContext
DELETE /v1/contextEntities/type/{ETYPE}/id/{EID}/attributes/{ATTRNAME}/{ID} deleteAttributeValueInstanceWithTypeAndId -----------------> postUpdateContext -------------------------------------------> mongoUpdateContext
* /v1/contextEntities/type/{ETYPE}/id/{EID}/attributes/{ATTRNAME}/{ID} badVerbAllFour
GET /v1/registry/contextEntities/type/{ETYPE}/id/{ID} getContextEntitiesByEntityIdAndType -----------------> postDiscoverContextAvailability -----------------------------> mongoDiscoverContextAvailability
POST /v1/registry/contextEntities/type/{ETYPE}/id/{ID} postContextEntitiesByEntityIdAndType -----------------> postRegisterContext -----------------------------------------> mongoRegisterContext
* /v1/registry/contextEntities/type/{ETYPE}/id/{ID} badVerbGetPostOnly
GET /v1/registry/contextEntities/type/{ETYPE}/id/{ID}/attributes/{ATTRNAME} getEntityByIdAttributeByNameWithTypeAndId ----------------> postDiscoverContextAvailability -----------------------------> mongoDiscoverContextAvailability
POST /v1/registry/contextEntities/type/{ETYPE}/id/{ID}/attributes/{ATTRNAME} postEntityByIdAttributeByNameWithTypeAndId ----------------> postRegisterContext -----------------------------------------> mongoRegisterContext
* /v1/registry/contextEntities/type/{ETYPE}/id/{ID}/attributes/{ATTRNAME} badVerbGetPostOnly
MISC REQUESTS:
====================================================================================================
GET /log/trace logTraceTreat
DELETE /log/trace logTraceTreat
* /log/trace badVerbGetDeleteOnly
PUT /log/trace/{TRACELEVEL} logTraceTreat
DELETE /log/trace/{TRACELEVEL} logTraceTreat
* /log/trace/{TRACELEVEL} badVerbPutDeleteOnly
GET /log/traceLevel logTraceTreat
DELETE /log/traceLevel logTraceTreat
* /log/traceLevel badVerbGetDeleteOnly
PUT /log/traceLevel/{TRACELEVEL} logTraceTreat
DELETE /log/traceLevel/{TRACELEVEL} logTraceTreat
* /log/traceLevel/{TRACELEVEL} badVerbPutDeleteOnly
GET /v1/admin/log/trace logTraceTreat
DELETE /v1/admin/log/trace logTraceTreat
* /v1/admin/log/trace badVerbGetDeleteOnly
PUT /v1/admin/log/trace/{TRACELEVEL} logTraceTreat
DELETE /v1/admin/log/trace/{TRACELEVEL} logTraceTreat
* /v1/admin/log/trace/{TRACELEVEL} badVerbPutDeleteOnly
GET /v1/admin/log/traceLevel logTraceTreat
DELETE /v1/admin/log/traceLevel logTraceTreat
* /v1/admin/log/traceLevel badVerbGetDeleteOnly
PUT /v1/admin/log/traceLevel/{TRACELEVEL} logTraceTreat
DELETE /v1/admin/log/traceLevel/{TRACELEVEL} logTraceTreat
* /v1/admin/log/traceLevel/{TRACELEVEL} badVerbPutDeleteOnly
GET /statistics statisticsTreat
DELETE /statistics statisticsTreat
* /statistics badVerbGetDeleteOnly
GET /v1/admin/statistics statisticsTreat
DELETE /v1/admin/statistics statisticsTreat
* /v1/admin/statistics badVerbGetDeleteOnly
GET /cache/statistics statisticsCacheTreat
DELETE /cache/statistics statisticsCacheTreat
* /cache/statistics badVerbGetDeleteOnly
GET /v1/admin/cache/statistics statisticsCacheTreat
DELETE /v1/admin/cache/statistics statisticsCacheTreat
* /v1/admin/cache/statistics badVerbGetDeleteOnly
GET /version versionTreat
OPTIONS /version optionsVersionRequest
* /version badVerbGetOnly
PUT /admin/log changeLogLevel
GET /admin/log getLogLevel
* /admin/log badVerbPutOnly
GET /admin/sem semStateTreat
* /admin/sem badVerbGetOnly
GET /admin/metrics getMetrics
DELETE /admin/metrics deleteMetrics
* /admin/metrics badVerbGetDeleteOnly
* /ngsi9/{ANYTHING} badNgsi9Request
* /ngsi10/{ANYTHING} badNgsi10Request
* {ANYTHING} badRequest