@communecter/cocolight-api-client 1.0.72 → 1.0.74
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/cocolight-api-client.browser.js +2 -2
- package/dist/cocolight-api-client.cjs +1 -1
- package/dist/cocolight-api-client.mjs.js +1 -1
- package/dist/cocolight-api-client.vite.mjs.js +1 -1
- package/dist/cocolight-api-client.vite.mjs.js.map +1 -1
- package/package.json +1 -1
- package/src/api/BaseEntity.ts +32 -1
- package/src/api/EndpointApi.ts +17 -1
- package/src/api/EndpointApi.types.ts +29 -0
- package/src/api/User.ts +14 -0
- package/src/endpoints.module.ts +234 -161
- package/types/api/BaseEntity.d.ts +18 -0
- package/types/api/EndpointApi.d.ts +11 -1
- package/types/api/EndpointApi.types.d.ts +27 -0
- package/types/api/User.d.ts +6 -0
- package/types/endpoints.module.d.ts +856 -173
package/src/endpoints.module.ts
CHANGED
|
@@ -880,30 +880,103 @@ const common = {
|
|
|
880
880
|
}
|
|
881
881
|
},
|
|
882
882
|
"common92": {
|
|
883
|
+
"additionalProperties": false,
|
|
884
|
+
"else": {
|
|
885
|
+
"properties": {
|
|
886
|
+
"ownerId": {
|
|
887
|
+
"pattern": "^[a-f0-9]{24}$"
|
|
888
|
+
}
|
|
889
|
+
}
|
|
890
|
+
},
|
|
891
|
+
"if": {
|
|
892
|
+
"properties": {
|
|
893
|
+
"folder": {
|
|
894
|
+
"const": "citoyens"
|
|
895
|
+
}
|
|
896
|
+
}
|
|
897
|
+
},
|
|
898
|
+
"properties": {
|
|
899
|
+
"folder": {
|
|
900
|
+
"default": "citoyens",
|
|
901
|
+
"enum": [
|
|
902
|
+
"citoyens",
|
|
903
|
+
"projects",
|
|
904
|
+
"organizations",
|
|
905
|
+
"events",
|
|
906
|
+
"poi"
|
|
907
|
+
],
|
|
908
|
+
"type": "string"
|
|
909
|
+
},
|
|
910
|
+
"ownerId": {
|
|
911
|
+
"type": "string"
|
|
912
|
+
}
|
|
913
|
+
},
|
|
914
|
+
"required": [
|
|
915
|
+
"folder",
|
|
916
|
+
"ownerId"
|
|
917
|
+
],
|
|
918
|
+
"then": {
|
|
919
|
+
"properties": {
|
|
920
|
+
"ownerId": {
|
|
921
|
+
"default": "@userId",
|
|
922
|
+
"pattern": "^(?:[a-f0-9]{24}|@userId)$"
|
|
923
|
+
}
|
|
924
|
+
}
|
|
925
|
+
},
|
|
926
|
+
"type": "object"
|
|
927
|
+
},
|
|
928
|
+
"common93": {
|
|
883
929
|
"properties": {
|
|
884
930
|
"ownerId": {
|
|
885
931
|
"pattern": "^[a-f0-9]{24}$"
|
|
886
932
|
}
|
|
887
933
|
}
|
|
888
934
|
},
|
|
889
|
-
"
|
|
935
|
+
"common94": {
|
|
890
936
|
"ownerId": {
|
|
891
937
|
"pattern": "^[a-f0-9]{24}$"
|
|
892
938
|
}
|
|
893
939
|
},
|
|
894
|
-
"
|
|
940
|
+
"common95": {
|
|
895
941
|
"properties": {
|
|
896
942
|
"folder": {
|
|
897
943
|
"const": "citoyens"
|
|
898
944
|
}
|
|
899
945
|
}
|
|
900
946
|
},
|
|
901
|
-
"
|
|
947
|
+
"common96": {
|
|
902
948
|
"folder": {
|
|
903
949
|
"const": "citoyens"
|
|
904
950
|
}
|
|
905
951
|
},
|
|
906
|
-
"
|
|
952
|
+
"common97": {
|
|
953
|
+
"folder": {
|
|
954
|
+
"default": "citoyens",
|
|
955
|
+
"enum": [
|
|
956
|
+
"citoyens",
|
|
957
|
+
"projects",
|
|
958
|
+
"organizations",
|
|
959
|
+
"events",
|
|
960
|
+
"poi"
|
|
961
|
+
],
|
|
962
|
+
"type": "string"
|
|
963
|
+
},
|
|
964
|
+
"ownerId": {
|
|
965
|
+
"type": "string"
|
|
966
|
+
}
|
|
967
|
+
},
|
|
968
|
+
"common98": {
|
|
969
|
+
"default": "citoyens",
|
|
970
|
+
"enum": [
|
|
971
|
+
"citoyens",
|
|
972
|
+
"projects",
|
|
973
|
+
"organizations",
|
|
974
|
+
"events",
|
|
975
|
+
"poi"
|
|
976
|
+
],
|
|
977
|
+
"type": "string"
|
|
978
|
+
},
|
|
979
|
+
"common99": {
|
|
907
980
|
"properties": {
|
|
908
981
|
"ownerId": {
|
|
909
982
|
"default": "@userId",
|
|
@@ -911,37 +984,37 @@ const common = {
|
|
|
911
984
|
}
|
|
912
985
|
}
|
|
913
986
|
},
|
|
914
|
-
"
|
|
987
|
+
"common100": {
|
|
915
988
|
"ownerId": {
|
|
916
989
|
"default": "@userId",
|
|
917
990
|
"pattern": "^(?:[a-f0-9]{24}|@userId)$"
|
|
918
991
|
}
|
|
919
992
|
},
|
|
920
|
-
"
|
|
993
|
+
"common101": {
|
|
921
994
|
"properties": {
|
|
922
995
|
"parentId": {
|
|
923
996
|
"pattern": "^[a-f0-9]{24}$"
|
|
924
997
|
}
|
|
925
998
|
}
|
|
926
999
|
},
|
|
927
|
-
"
|
|
1000
|
+
"common102": {
|
|
928
1001
|
"parentId": {
|
|
929
1002
|
"pattern": "^[a-f0-9]{24}$"
|
|
930
1003
|
}
|
|
931
1004
|
},
|
|
932
|
-
"
|
|
1005
|
+
"common103": {
|
|
933
1006
|
"properties": {
|
|
934
1007
|
"parentType": {
|
|
935
1008
|
"const": "citoyens"
|
|
936
1009
|
}
|
|
937
1010
|
}
|
|
938
1011
|
},
|
|
939
|
-
"
|
|
1012
|
+
"common104": {
|
|
940
1013
|
"parentType": {
|
|
941
1014
|
"const": "citoyens"
|
|
942
1015
|
}
|
|
943
1016
|
},
|
|
944
|
-
"
|
|
1017
|
+
"common105": {
|
|
945
1018
|
"properties": {
|
|
946
1019
|
"parentId": {
|
|
947
1020
|
"default": "@userId",
|
|
@@ -949,36 +1022,36 @@ const common = {
|
|
|
949
1022
|
}
|
|
950
1023
|
}
|
|
951
1024
|
},
|
|
952
|
-
"
|
|
1025
|
+
"common106": {
|
|
953
1026
|
"parentId": {
|
|
954
1027
|
"default": "@userId",
|
|
955
1028
|
"pattern": "^(?:[a-f0-9]{24}|@userId)$"
|
|
956
1029
|
}
|
|
957
1030
|
},
|
|
958
|
-
"
|
|
1031
|
+
"common107": {
|
|
959
1032
|
"default": true,
|
|
960
1033
|
"type": "boolean"
|
|
961
1034
|
},
|
|
962
|
-
"
|
|
1035
|
+
"common108": {
|
|
963
1036
|
"default": 0,
|
|
964
1037
|
"type": "integer"
|
|
965
1038
|
},
|
|
966
|
-
"
|
|
1039
|
+
"common109": {
|
|
967
1040
|
"required": [
|
|
968
1041
|
"text"
|
|
969
1042
|
]
|
|
970
1043
|
},
|
|
971
|
-
"
|
|
1044
|
+
"common110": {
|
|
972
1045
|
"required": [
|
|
973
1046
|
"mediaImg"
|
|
974
1047
|
]
|
|
975
1048
|
},
|
|
976
|
-
"
|
|
1049
|
+
"common111": {
|
|
977
1050
|
"required": [
|
|
978
1051
|
"mediaFile"
|
|
979
1052
|
]
|
|
980
1053
|
},
|
|
981
|
-
"
|
|
1054
|
+
"common112": {
|
|
982
1055
|
"additionalProperties": false,
|
|
983
1056
|
"properties": {
|
|
984
1057
|
"countFiles": {
|
|
@@ -997,7 +1070,7 @@ const common = {
|
|
|
997
1070
|
],
|
|
998
1071
|
"type": "object"
|
|
999
1072
|
},
|
|
1000
|
-
"
|
|
1073
|
+
"common113": {
|
|
1001
1074
|
"countFiles": {
|
|
1002
1075
|
"type": "number"
|
|
1003
1076
|
},
|
|
@@ -1008,7 +1081,7 @@ const common = {
|
|
|
1008
1081
|
"type": "array"
|
|
1009
1082
|
}
|
|
1010
1083
|
},
|
|
1011
|
-
"
|
|
1084
|
+
"common114": {
|
|
1012
1085
|
"additionalProperties": false,
|
|
1013
1086
|
"properties": {
|
|
1014
1087
|
"countImages": {
|
|
@@ -1027,7 +1100,7 @@ const common = {
|
|
|
1027
1100
|
],
|
|
1028
1101
|
"type": "object"
|
|
1029
1102
|
},
|
|
1030
|
-
"
|
|
1103
|
+
"common115": {
|
|
1031
1104
|
"countImages": {
|
|
1032
1105
|
"type": "number"
|
|
1033
1106
|
},
|
|
@@ -1038,7 +1111,7 @@ const common = {
|
|
|
1038
1111
|
"type": "array"
|
|
1039
1112
|
}
|
|
1040
1113
|
},
|
|
1041
|
-
"
|
|
1114
|
+
"common116": {
|
|
1042
1115
|
"items": {
|
|
1043
1116
|
"properties": {
|
|
1044
1117
|
"count": {
|
|
@@ -1074,7 +1147,7 @@ const common = {
|
|
|
1074
1147
|
},
|
|
1075
1148
|
"type": "array"
|
|
1076
1149
|
},
|
|
1077
|
-
"
|
|
1150
|
+
"common117": {
|
|
1078
1151
|
"properties": {
|
|
1079
1152
|
"count": {
|
|
1080
1153
|
"minimum": 1,
|
|
@@ -1107,7 +1180,7 @@ const common = {
|
|
|
1107
1180
|
],
|
|
1108
1181
|
"type": "object"
|
|
1109
1182
|
},
|
|
1110
|
-
"
|
|
1183
|
+
"common118": {
|
|
1111
1184
|
"count": {
|
|
1112
1185
|
"minimum": 1,
|
|
1113
1186
|
"type": "integer"
|
|
@@ -1129,11 +1202,11 @@ const common = {
|
|
|
1129
1202
|
"type": "string"
|
|
1130
1203
|
}
|
|
1131
1204
|
},
|
|
1132
|
-
"
|
|
1205
|
+
"common119": {
|
|
1133
1206
|
"minimum": 1,
|
|
1134
1207
|
"type": "integer"
|
|
1135
1208
|
},
|
|
1136
|
-
"
|
|
1209
|
+
"common120": {
|
|
1137
1210
|
"default": "public",
|
|
1138
1211
|
"enum": [
|
|
1139
1212
|
"public",
|
|
@@ -1142,12 +1215,12 @@ const common = {
|
|
|
1142
1215
|
],
|
|
1143
1216
|
"type": "string"
|
|
1144
1217
|
},
|
|
1145
|
-
"
|
|
1218
|
+
"common121": {
|
|
1146
1219
|
"const": "news",
|
|
1147
1220
|
"default": "news",
|
|
1148
1221
|
"type": "string"
|
|
1149
1222
|
},
|
|
1150
|
-
"
|
|
1223
|
+
"common122": {
|
|
1151
1224
|
"additionalProperties": false,
|
|
1152
1225
|
"else": {
|
|
1153
1226
|
"properties": {
|
|
@@ -1191,7 +1264,7 @@ const common = {
|
|
|
1191
1264
|
},
|
|
1192
1265
|
"type": "object"
|
|
1193
1266
|
},
|
|
1194
|
-
"
|
|
1267
|
+
"common123": {
|
|
1195
1268
|
"folder": {
|
|
1196
1269
|
"default": "citoyens",
|
|
1197
1270
|
"enum": [
|
|
@@ -1205,7 +1278,7 @@ const common = {
|
|
|
1205
1278
|
"type": "string"
|
|
1206
1279
|
}
|
|
1207
1280
|
},
|
|
1208
|
-
"
|
|
1281
|
+
"common124": {
|
|
1209
1282
|
"additionalProperties": false,
|
|
1210
1283
|
"properties": {
|
|
1211
1284
|
"id": {
|
|
@@ -1218,40 +1291,40 @@ const common = {
|
|
|
1218
1291
|
],
|
|
1219
1292
|
"type": "object"
|
|
1220
1293
|
},
|
|
1221
|
-
"
|
|
1294
|
+
"common125": {
|
|
1222
1295
|
"default": false,
|
|
1223
1296
|
"type": "boolean"
|
|
1224
1297
|
},
|
|
1225
|
-
"
|
|
1298
|
+
"common126": {
|
|
1226
1299
|
"properties": {
|
|
1227
1300
|
"childId": {
|
|
1228
1301
|
"pattern": "^[a-f0-9]{24}$"
|
|
1229
1302
|
}
|
|
1230
1303
|
}
|
|
1231
1304
|
},
|
|
1232
|
-
"
|
|
1305
|
+
"common127": {
|
|
1233
1306
|
"childId": {
|
|
1234
1307
|
"pattern": "^[a-f0-9]{24}$"
|
|
1235
1308
|
}
|
|
1236
1309
|
},
|
|
1237
|
-
"
|
|
1310
|
+
"common128": {
|
|
1238
1311
|
"properties": {
|
|
1239
1312
|
"childType": {
|
|
1240
1313
|
"const": "citoyens"
|
|
1241
1314
|
}
|
|
1242
1315
|
}
|
|
1243
1316
|
},
|
|
1244
|
-
"
|
|
1317
|
+
"common129": {
|
|
1245
1318
|
"childType": {
|
|
1246
1319
|
"const": "citoyens"
|
|
1247
1320
|
}
|
|
1248
1321
|
},
|
|
1249
|
-
"
|
|
1322
|
+
"common130": {
|
|
1250
1323
|
"const": "share",
|
|
1251
1324
|
"default": "share",
|
|
1252
1325
|
"type": "string"
|
|
1253
1326
|
},
|
|
1254
|
-
"
|
|
1327
|
+
"common131": {
|
|
1255
1328
|
"properties": {
|
|
1256
1329
|
"childId": {
|
|
1257
1330
|
"default": "@userId",
|
|
@@ -1259,13 +1332,13 @@ const common = {
|
|
|
1259
1332
|
}
|
|
1260
1333
|
}
|
|
1261
1334
|
},
|
|
1262
|
-
"
|
|
1335
|
+
"common132": {
|
|
1263
1336
|
"childId": {
|
|
1264
1337
|
"default": "@userId",
|
|
1265
1338
|
"pattern": "^(?:[a-f0-9]{24}|@userId)$"
|
|
1266
1339
|
}
|
|
1267
1340
|
},
|
|
1268
|
-
"
|
|
1341
|
+
"common133": {
|
|
1269
1342
|
"additionalProperties": false,
|
|
1270
1343
|
"properties": {
|
|
1271
1344
|
"id": {
|
|
@@ -1286,7 +1359,7 @@ const common = {
|
|
|
1286
1359
|
],
|
|
1287
1360
|
"type": "object"
|
|
1288
1361
|
},
|
|
1289
|
-
"
|
|
1362
|
+
"common134": {
|
|
1290
1363
|
"id": {
|
|
1291
1364
|
"pattern": "^[a-f0-9]{24}$",
|
|
1292
1365
|
"type": "string"
|
|
@@ -1299,14 +1372,14 @@ const common = {
|
|
|
1299
1372
|
"type": "string"
|
|
1300
1373
|
}
|
|
1301
1374
|
},
|
|
1302
|
-
"
|
|
1375
|
+
"common135": {
|
|
1303
1376
|
"default": "news",
|
|
1304
1377
|
"enum": [
|
|
1305
1378
|
"news"
|
|
1306
1379
|
],
|
|
1307
1380
|
"type": "string"
|
|
1308
1381
|
},
|
|
1309
|
-
"
|
|
1382
|
+
"common136": {
|
|
1310
1383
|
"items": {
|
|
1311
1384
|
"additionalProperties": false,
|
|
1312
1385
|
"properties": {
|
|
@@ -1342,7 +1415,7 @@ const common = {
|
|
|
1342
1415
|
},
|
|
1343
1416
|
"type": "array"
|
|
1344
1417
|
},
|
|
1345
|
-
"
|
|
1418
|
+
"common137": {
|
|
1346
1419
|
"additionalProperties": false,
|
|
1347
1420
|
"properties": {
|
|
1348
1421
|
"count": {
|
|
@@ -1375,7 +1448,7 @@ const common = {
|
|
|
1375
1448
|
],
|
|
1376
1449
|
"type": "object"
|
|
1377
1450
|
},
|
|
1378
|
-
"
|
|
1451
|
+
"common138": {
|
|
1379
1452
|
"count": {
|
|
1380
1453
|
"type": "number"
|
|
1381
1454
|
},
|
|
@@ -1396,7 +1469,7 @@ const common = {
|
|
|
1396
1469
|
"type": "string"
|
|
1397
1470
|
}
|
|
1398
1471
|
},
|
|
1399
|
-
"
|
|
1472
|
+
"common139": {
|
|
1400
1473
|
"enum": [
|
|
1401
1474
|
"NGO",
|
|
1402
1475
|
"LocalBusiness",
|
|
@@ -1409,25 +1482,25 @@ const common = {
|
|
|
1409
1482
|
],
|
|
1410
1483
|
"type": "string"
|
|
1411
1484
|
},
|
|
1412
|
-
"
|
|
1485
|
+
"common140": {
|
|
1413
1486
|
"const": false,
|
|
1414
1487
|
"default": false,
|
|
1415
1488
|
"type": "boolean"
|
|
1416
1489
|
},
|
|
1417
|
-
"
|
|
1490
|
+
"common141": {
|
|
1418
1491
|
"const": "",
|
|
1419
1492
|
"default": "",
|
|
1420
1493
|
"type": "string"
|
|
1421
1494
|
},
|
|
1422
|
-
"
|
|
1495
|
+
"common142": {
|
|
1423
1496
|
"default": 0,
|
|
1424
1497
|
"type": "number"
|
|
1425
1498
|
},
|
|
1426
|
-
"
|
|
1499
|
+
"common143": {
|
|
1427
1500
|
"default": 30,
|
|
1428
1501
|
"type": "number"
|
|
1429
1502
|
},
|
|
1430
|
-
"
|
|
1503
|
+
"common144": {
|
|
1431
1504
|
"additionalProperties": false,
|
|
1432
1505
|
"patternProperties": {
|
|
1433
1506
|
"^[^\\s]+$": {
|
|
@@ -1453,7 +1526,7 @@ const common = {
|
|
|
1453
1526
|
},
|
|
1454
1527
|
"type": "object"
|
|
1455
1528
|
},
|
|
1456
|
-
"
|
|
1529
|
+
"common145": {
|
|
1457
1530
|
"^[^\\s]+$": {
|
|
1458
1531
|
"additionalProperties": false,
|
|
1459
1532
|
"properties": {
|
|
@@ -1475,7 +1548,7 @@ const common = {
|
|
|
1475
1548
|
"type": "object"
|
|
1476
1549
|
}
|
|
1477
1550
|
},
|
|
1478
|
-
"
|
|
1551
|
+
"common146": {
|
|
1479
1552
|
"additionalProperties": false,
|
|
1480
1553
|
"properties": {
|
|
1481
1554
|
"id": {
|
|
@@ -1495,7 +1568,7 @@ const common = {
|
|
|
1495
1568
|
],
|
|
1496
1569
|
"type": "object"
|
|
1497
1570
|
},
|
|
1498
|
-
"
|
|
1571
|
+
"common147": {
|
|
1499
1572
|
"id": {
|
|
1500
1573
|
"type": "string"
|
|
1501
1574
|
},
|
|
@@ -1507,14 +1580,14 @@ const common = {
|
|
|
1507
1580
|
"type": "string"
|
|
1508
1581
|
}
|
|
1509
1582
|
},
|
|
1510
|
-
"
|
|
1583
|
+
"common148": {
|
|
1511
1584
|
"enum": [
|
|
1512
1585
|
"cities",
|
|
1513
1586
|
"level1"
|
|
1514
1587
|
],
|
|
1515
1588
|
"type": "string"
|
|
1516
1589
|
},
|
|
1517
|
-
"
|
|
1590
|
+
"common149": {
|
|
1518
1591
|
"additionalProperties": false,
|
|
1519
1592
|
"patternProperties": {
|
|
1520
1593
|
"^[^\\s]+$": {
|
|
@@ -1536,7 +1609,7 @@ const common = {
|
|
|
1536
1609
|
},
|
|
1537
1610
|
"type": "object"
|
|
1538
1611
|
},
|
|
1539
|
-
"
|
|
1612
|
+
"common150": {
|
|
1540
1613
|
"^[^\\s]+$": {
|
|
1541
1614
|
"additionalProperties": false,
|
|
1542
1615
|
"properties": {
|
|
@@ -1554,7 +1627,7 @@ const common = {
|
|
|
1554
1627
|
"type": "object"
|
|
1555
1628
|
}
|
|
1556
1629
|
},
|
|
1557
|
-
"
|
|
1630
|
+
"common151": {
|
|
1558
1631
|
"additionalProperties": false,
|
|
1559
1632
|
"properties": {
|
|
1560
1633
|
"indexMax": {
|
|
@@ -1570,7 +1643,7 @@ const common = {
|
|
|
1570
1643
|
],
|
|
1571
1644
|
"type": "object"
|
|
1572
1645
|
},
|
|
1573
|
-
"
|
|
1646
|
+
"common152": {
|
|
1574
1647
|
"indexMax": {
|
|
1575
1648
|
"type": "number"
|
|
1576
1649
|
},
|
|
@@ -1578,18 +1651,18 @@ const common = {
|
|
|
1578
1651
|
"type": "number"
|
|
1579
1652
|
}
|
|
1580
1653
|
},
|
|
1581
|
-
"
|
|
1654
|
+
"common153": {
|
|
1582
1655
|
"enum": [
|
|
1583
1656
|
"ALL"
|
|
1584
1657
|
],
|
|
1585
1658
|
"type": "string"
|
|
1586
1659
|
},
|
|
1587
|
-
"
|
|
1660
|
+
"common154": {
|
|
1588
1661
|
"default": 0,
|
|
1589
1662
|
"minimum": 0,
|
|
1590
1663
|
"type": "integer"
|
|
1591
1664
|
},
|
|
1592
|
-
"
|
|
1665
|
+
"common155": {
|
|
1593
1666
|
"const": [
|
|
1594
1667
|
"projects"
|
|
1595
1668
|
],
|
|
@@ -1604,16 +1677,16 @@ const common = {
|
|
|
1604
1677
|
},
|
|
1605
1678
|
"type": "array"
|
|
1606
1679
|
},
|
|
1607
|
-
"
|
|
1680
|
+
"common156": {
|
|
1608
1681
|
"enum": [
|
|
1609
1682
|
"projects"
|
|
1610
1683
|
],
|
|
1611
1684
|
"type": "string"
|
|
1612
1685
|
},
|
|
1613
|
-
"
|
|
1686
|
+
"common157": {
|
|
1614
1687
|
"$exists": true
|
|
1615
1688
|
},
|
|
1616
|
-
"
|
|
1689
|
+
"common158": {
|
|
1617
1690
|
"additionalProperties": false,
|
|
1618
1691
|
"properties": {
|
|
1619
1692
|
"$exists": {
|
|
@@ -1625,15 +1698,15 @@ const common = {
|
|
|
1625
1698
|
],
|
|
1626
1699
|
"type": "object"
|
|
1627
1700
|
},
|
|
1628
|
-
"
|
|
1701
|
+
"common159": {
|
|
1629
1702
|
"$exists": {
|
|
1630
1703
|
"const": true
|
|
1631
1704
|
}
|
|
1632
1705
|
},
|
|
1633
|
-
"
|
|
1706
|
+
"common160": {
|
|
1634
1707
|
"const": true
|
|
1635
1708
|
},
|
|
1636
|
-
"
|
|
1709
|
+
"common161": {
|
|
1637
1710
|
"additionalProperties": false,
|
|
1638
1711
|
"else": {
|
|
1639
1712
|
"properties": {
|
|
@@ -1677,7 +1750,7 @@ const common = {
|
|
|
1677
1750
|
},
|
|
1678
1751
|
"type": "object"
|
|
1679
1752
|
},
|
|
1680
|
-
"
|
|
1753
|
+
"common162": {
|
|
1681
1754
|
"id": {
|
|
1682
1755
|
"type": "string"
|
|
1683
1756
|
},
|
|
@@ -1691,7 +1764,7 @@ const common = {
|
|
|
1691
1764
|
"type": "string"
|
|
1692
1765
|
}
|
|
1693
1766
|
},
|
|
1694
|
-
"
|
|
1767
|
+
"common163": {
|
|
1695
1768
|
"const": [
|
|
1696
1769
|
"poi"
|
|
1697
1770
|
],
|
|
@@ -1706,7 +1779,7 @@ const common = {
|
|
|
1706
1779
|
},
|
|
1707
1780
|
"type": "array"
|
|
1708
1781
|
},
|
|
1709
|
-
"
|
|
1782
|
+
"common164": {
|
|
1710
1783
|
"const": [
|
|
1711
1784
|
"NGO",
|
|
1712
1785
|
"Cooperative",
|
|
@@ -1733,7 +1806,7 @@ const common = {
|
|
|
1733
1806
|
},
|
|
1734
1807
|
"type": "array"
|
|
1735
1808
|
},
|
|
1736
|
-
"
|
|
1809
|
+
"common165": {
|
|
1737
1810
|
"enum": [
|
|
1738
1811
|
"NGO",
|
|
1739
1812
|
"Cooperative",
|
|
@@ -1743,10 +1816,10 @@ const common = {
|
|
|
1743
1816
|
],
|
|
1744
1817
|
"type": "string"
|
|
1745
1818
|
},
|
|
1746
|
-
"
|
|
1819
|
+
"common166": {
|
|
1747
1820
|
"$exists": false
|
|
1748
1821
|
},
|
|
1749
|
-
"
|
|
1822
|
+
"common167": {
|
|
1750
1823
|
"additionalProperties": false,
|
|
1751
1824
|
"properties": {
|
|
1752
1825
|
"$exists": {
|
|
@@ -1758,19 +1831,19 @@ const common = {
|
|
|
1758
1831
|
],
|
|
1759
1832
|
"type": "object"
|
|
1760
1833
|
},
|
|
1761
|
-
"
|
|
1834
|
+
"common168": {
|
|
1762
1835
|
"$exists": {
|
|
1763
1836
|
"const": false
|
|
1764
1837
|
}
|
|
1765
1838
|
},
|
|
1766
|
-
"
|
|
1839
|
+
"common169": {
|
|
1767
1840
|
"const": false
|
|
1768
1841
|
},
|
|
1769
|
-
"
|
|
1842
|
+
"common170": {
|
|
1770
1843
|
"default": 30,
|
|
1771
1844
|
"type": "integer"
|
|
1772
1845
|
},
|
|
1773
|
-
"
|
|
1846
|
+
"common171": {
|
|
1774
1847
|
"const": [
|
|
1775
1848
|
"citoyens",
|
|
1776
1849
|
"NGO",
|
|
@@ -1800,7 +1873,7 @@ const common = {
|
|
|
1800
1873
|
},
|
|
1801
1874
|
"type": "array"
|
|
1802
1875
|
},
|
|
1803
|
-
"
|
|
1876
|
+
"common172": {
|
|
1804
1877
|
"enum": [
|
|
1805
1878
|
"citoyens",
|
|
1806
1879
|
"NGO",
|
|
@@ -1811,7 +1884,7 @@ const common = {
|
|
|
1811
1884
|
],
|
|
1812
1885
|
"type": "string"
|
|
1813
1886
|
},
|
|
1814
|
-
"
|
|
1887
|
+
"common173": {
|
|
1815
1888
|
"additionalProperties": false,
|
|
1816
1889
|
"properties": {
|
|
1817
1890
|
"$exists": {
|
|
@@ -1824,13 +1897,13 @@ const common = {
|
|
|
1824
1897
|
],
|
|
1825
1898
|
"type": "object"
|
|
1826
1899
|
},
|
|
1827
|
-
"
|
|
1900
|
+
"common174": {
|
|
1828
1901
|
"$exists": {
|
|
1829
1902
|
"default": false,
|
|
1830
1903
|
"type": "boolean"
|
|
1831
1904
|
}
|
|
1832
1905
|
},
|
|
1833
|
-
"
|
|
1906
|
+
"common175": {
|
|
1834
1907
|
"additionalProperties": false,
|
|
1835
1908
|
"properties": {
|
|
1836
1909
|
"$in": {
|
|
@@ -1846,7 +1919,7 @@ const common = {
|
|
|
1846
1919
|
],
|
|
1847
1920
|
"type": "object"
|
|
1848
1921
|
},
|
|
1849
|
-
"
|
|
1922
|
+
"common176": {
|
|
1850
1923
|
"$in": {
|
|
1851
1924
|
"items": {
|
|
1852
1925
|
"type": "string"
|
|
@@ -1855,14 +1928,14 @@ const common = {
|
|
|
1855
1928
|
"type": "array"
|
|
1856
1929
|
}
|
|
1857
1930
|
},
|
|
1858
|
-
"
|
|
1931
|
+
"common177": {
|
|
1859
1932
|
"items": {
|
|
1860
1933
|
"type": "string"
|
|
1861
1934
|
},
|
|
1862
1935
|
"minItems": 1,
|
|
1863
1936
|
"type": "array"
|
|
1864
1937
|
},
|
|
1865
|
-
"
|
|
1938
|
+
"common178": {
|
|
1866
1939
|
"const": [
|
|
1867
1940
|
"citoyens"
|
|
1868
1941
|
],
|
|
@@ -1877,13 +1950,13 @@ const common = {
|
|
|
1877
1950
|
},
|
|
1878
1951
|
"type": "array"
|
|
1879
1952
|
},
|
|
1880
|
-
"
|
|
1953
|
+
"common179": {
|
|
1881
1954
|
"enum": [
|
|
1882
1955
|
"citoyens"
|
|
1883
1956
|
],
|
|
1884
1957
|
"type": "string"
|
|
1885
1958
|
},
|
|
1886
|
-
"
|
|
1959
|
+
"common180": {
|
|
1887
1960
|
"const": [
|
|
1888
1961
|
"citoyens",
|
|
1889
1962
|
"NGO",
|
|
@@ -1916,7 +1989,7 @@ const common = {
|
|
|
1916
1989
|
},
|
|
1917
1990
|
"type": "array"
|
|
1918
1991
|
},
|
|
1919
|
-
"
|
|
1992
|
+
"common181": {
|
|
1920
1993
|
"enum": [
|
|
1921
1994
|
"citoyens",
|
|
1922
1995
|
"NGO",
|
|
@@ -1928,22 +2001,22 @@ const common = {
|
|
|
1928
2001
|
],
|
|
1929
2002
|
"type": "string"
|
|
1930
2003
|
},
|
|
1931
|
-
"
|
|
2004
|
+
"common182": {
|
|
1932
2005
|
"not": {
|
|
1933
2006
|
"propertyNames": {
|
|
1934
2007
|
"pattern": "^(?!links\\.followers\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
|
|
1935
2008
|
}
|
|
1936
2009
|
}
|
|
1937
2010
|
},
|
|
1938
|
-
"
|
|
2011
|
+
"common183": {
|
|
1939
2012
|
"propertyNames": {
|
|
1940
2013
|
"pattern": "^(?!links\\.followers\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
|
|
1941
2014
|
}
|
|
1942
2015
|
},
|
|
1943
|
-
"
|
|
2016
|
+
"common184": {
|
|
1944
2017
|
"pattern": "^(?!links\\.followers\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
|
|
1945
2018
|
},
|
|
1946
|
-
"
|
|
2019
|
+
"common185": {
|
|
1947
2020
|
"^links\\.followers\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$": {
|
|
1948
2021
|
"additionalProperties": false,
|
|
1949
2022
|
"properties": {
|
|
@@ -1981,22 +2054,22 @@ const common = {
|
|
|
1981
2054
|
"type": "object"
|
|
1982
2055
|
}
|
|
1983
2056
|
},
|
|
1984
|
-
"
|
|
2057
|
+
"common186": {
|
|
1985
2058
|
"not": {
|
|
1986
2059
|
"propertyNames": {
|
|
1987
2060
|
"pattern": "^(?!links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
|
|
1988
2061
|
}
|
|
1989
2062
|
}
|
|
1990
2063
|
},
|
|
1991
|
-
"
|
|
2064
|
+
"common187": {
|
|
1992
2065
|
"propertyNames": {
|
|
1993
2066
|
"pattern": "^(?!links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
|
|
1994
2067
|
}
|
|
1995
2068
|
},
|
|
1996
|
-
"
|
|
2069
|
+
"common188": {
|
|
1997
2070
|
"pattern": "^(?!links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
|
|
1998
2071
|
},
|
|
1999
|
-
"
|
|
2072
|
+
"common189": {
|
|
2000
2073
|
"default": "citoyens",
|
|
2001
2074
|
"enum": [
|
|
2002
2075
|
"citoyens",
|
|
@@ -2005,7 +2078,7 @@ const common = {
|
|
|
2005
2078
|
],
|
|
2006
2079
|
"type": "string"
|
|
2007
2080
|
},
|
|
2008
|
-
"
|
|
2081
|
+
"common190": {
|
|
2009
2082
|
"const": [
|
|
2010
2083
|
"badges"
|
|
2011
2084
|
],
|
|
@@ -2020,13 +2093,13 @@ const common = {
|
|
|
2020
2093
|
},
|
|
2021
2094
|
"type": "array"
|
|
2022
2095
|
},
|
|
2023
|
-
"
|
|
2096
|
+
"common191": {
|
|
2024
2097
|
"enum": [
|
|
2025
2098
|
"badges"
|
|
2026
2099
|
],
|
|
2027
2100
|
"type": "string"
|
|
2028
2101
|
},
|
|
2029
|
-
"
|
|
2102
|
+
"common192": {
|
|
2030
2103
|
"const": [
|
|
2031
2104
|
"citoyens",
|
|
2032
2105
|
"projects",
|
|
@@ -2059,7 +2132,7 @@ const common = {
|
|
|
2059
2132
|
},
|
|
2060
2133
|
"type": "array"
|
|
2061
2134
|
},
|
|
2062
|
-
"
|
|
2135
|
+
"common193": {
|
|
2063
2136
|
"enum": [
|
|
2064
2137
|
"citoyens",
|
|
2065
2138
|
"projects",
|
|
@@ -2071,7 +2144,7 @@ const common = {
|
|
|
2071
2144
|
],
|
|
2072
2145
|
"type": "string"
|
|
2073
2146
|
},
|
|
2074
|
-
"
|
|
2147
|
+
"common194": {
|
|
2075
2148
|
"additionalProperties": false,
|
|
2076
2149
|
"properties": {
|
|
2077
2150
|
"$exists": {
|
|
@@ -2084,17 +2157,17 @@ const common = {
|
|
|
2084
2157
|
],
|
|
2085
2158
|
"type": "object"
|
|
2086
2159
|
},
|
|
2087
|
-
"
|
|
2160
|
+
"common195": {
|
|
2088
2161
|
"$exists": {
|
|
2089
2162
|
"const": true,
|
|
2090
2163
|
"type": "boolean"
|
|
2091
2164
|
}
|
|
2092
2165
|
},
|
|
2093
|
-
"
|
|
2166
|
+
"common196": {
|
|
2094
2167
|
"const": true,
|
|
2095
2168
|
"type": "boolean"
|
|
2096
2169
|
},
|
|
2097
|
-
"
|
|
2170
|
+
"common197": {
|
|
2098
2171
|
"additionalProperties": false,
|
|
2099
2172
|
"properties": {
|
|
2100
2173
|
"$exists": {
|
|
@@ -2107,17 +2180,17 @@ const common = {
|
|
|
2107
2180
|
],
|
|
2108
2181
|
"type": "object"
|
|
2109
2182
|
},
|
|
2110
|
-
"
|
|
2183
|
+
"common198": {
|
|
2111
2184
|
"$exists": {
|
|
2112
2185
|
"const": false,
|
|
2113
2186
|
"type": "boolean"
|
|
2114
2187
|
}
|
|
2115
2188
|
},
|
|
2116
|
-
"
|
|
2189
|
+
"common199": {
|
|
2117
2190
|
"const": false,
|
|
2118
2191
|
"type": "boolean"
|
|
2119
2192
|
},
|
|
2120
|
-
"
|
|
2193
|
+
"common200": {
|
|
2121
2194
|
"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteEmetteur$": {
|
|
2122
2195
|
"additionalProperties": false,
|
|
2123
2196
|
"properties": {
|
|
@@ -2145,52 +2218,52 @@ const common = {
|
|
|
2145
2218
|
"type": "object"
|
|
2146
2219
|
}
|
|
2147
2220
|
},
|
|
2148
|
-
"
|
|
2221
|
+
"common201": {
|
|
2149
2222
|
"indexMax": 30,
|
|
2150
2223
|
"indexMin": 0
|
|
2151
2224
|
},
|
|
2152
|
-
"
|
|
2225
|
+
"common202": {
|
|
2153
2226
|
"properties": {
|
|
2154
2227
|
"parentType": {
|
|
2155
2228
|
"const": "organizations"
|
|
2156
2229
|
}
|
|
2157
2230
|
}
|
|
2158
2231
|
},
|
|
2159
|
-
"
|
|
2232
|
+
"common203": {
|
|
2160
2233
|
"parentType": {
|
|
2161
2234
|
"const": "organizations"
|
|
2162
2235
|
}
|
|
2163
2236
|
},
|
|
2164
|
-
"
|
|
2237
|
+
"common204": {
|
|
2165
2238
|
"properties": {
|
|
2166
2239
|
"parentType": {
|
|
2167
2240
|
"const": "projects"
|
|
2168
2241
|
}
|
|
2169
2242
|
}
|
|
2170
2243
|
},
|
|
2171
|
-
"
|
|
2244
|
+
"common205": {
|
|
2172
2245
|
"parentType": {
|
|
2173
2246
|
"const": "projects"
|
|
2174
2247
|
}
|
|
2175
2248
|
},
|
|
2176
|
-
"
|
|
2249
|
+
"common206": {
|
|
2177
2250
|
"properties": {
|
|
2178
2251
|
"parentType": {
|
|
2179
2252
|
"const": "events"
|
|
2180
2253
|
}
|
|
2181
2254
|
}
|
|
2182
2255
|
},
|
|
2183
|
-
"
|
|
2256
|
+
"common207": {
|
|
2184
2257
|
"parentType": {
|
|
2185
2258
|
"const": "events"
|
|
2186
2259
|
}
|
|
2187
2260
|
},
|
|
2188
|
-
"
|
|
2261
|
+
"common208": {
|
|
2189
2262
|
"default": "@userId",
|
|
2190
2263
|
"pattern": "^([a-f0-9]{24}|@\\w+)$",
|
|
2191
2264
|
"type": "string"
|
|
2192
2265
|
},
|
|
2193
|
-
"
|
|
2266
|
+
"common209": {
|
|
2194
2267
|
"const": "citoyens",
|
|
2195
2268
|
"default": "citoyens",
|
|
2196
2269
|
"enum": [
|
|
@@ -2198,7 +2271,7 @@ const common = {
|
|
|
2198
2271
|
],
|
|
2199
2272
|
"type": "string"
|
|
2200
2273
|
},
|
|
2201
|
-
"
|
|
2274
|
+
"common210": {
|
|
2202
2275
|
"enum": [
|
|
2203
2276
|
"citoyens",
|
|
2204
2277
|
"organizations",
|
|
@@ -2207,18 +2280,18 @@ const common = {
|
|
|
2207
2280
|
],
|
|
2208
2281
|
"type": "string"
|
|
2209
2282
|
},
|
|
2210
|
-
"
|
|
2283
|
+
"common211": {
|
|
2211
2284
|
"const": "citoyens",
|
|
2212
2285
|
"default": "citoyens",
|
|
2213
2286
|
"type": "string"
|
|
2214
2287
|
},
|
|
2215
|
-
"
|
|
2288
|
+
"common212": {
|
|
2216
2289
|
"const": "@userId",
|
|
2217
2290
|
"default": "@userId",
|
|
2218
2291
|
"pattern": "^(?:[a-f0-9]{24}|@userId)$",
|
|
2219
2292
|
"type": "string"
|
|
2220
2293
|
},
|
|
2221
|
-
"
|
|
2294
|
+
"common213": {
|
|
2222
2295
|
"default": {
|
|
2223
2296
|
"isOpenData": true,
|
|
2224
2297
|
"isOpenEdition": true
|
|
@@ -2239,11 +2312,11 @@ const common = {
|
|
|
2239
2312
|
],
|
|
2240
2313
|
"type": "object"
|
|
2241
2314
|
},
|
|
2242
|
-
"
|
|
2315
|
+
"common214": {
|
|
2243
2316
|
"isOpenData": true,
|
|
2244
2317
|
"isOpenEdition": true
|
|
2245
2318
|
},
|
|
2246
|
-
"
|
|
2319
|
+
"common215": {
|
|
2247
2320
|
"isOpenData": {
|
|
2248
2321
|
"default": true,
|
|
2249
2322
|
"type": "boolean"
|
|
@@ -2253,7 +2326,7 @@ const common = {
|
|
|
2253
2326
|
"type": "boolean"
|
|
2254
2327
|
}
|
|
2255
2328
|
},
|
|
2256
|
-
"
|
|
2329
|
+
"common216": {
|
|
2257
2330
|
"additionalProperties": false,
|
|
2258
2331
|
"default": {
|
|
2259
2332
|
"@userId": {
|
|
@@ -2279,36 +2352,36 @@ const common = {
|
|
|
2279
2352
|
},
|
|
2280
2353
|
"type": "object"
|
|
2281
2354
|
},
|
|
2282
|
-
"
|
|
2355
|
+
"common217": {
|
|
2283
2356
|
"@userId": {
|
|
2284
2357
|
"type": "citoyens"
|
|
2285
2358
|
}
|
|
2286
2359
|
},
|
|
2287
|
-
"
|
|
2360
|
+
"common218": {
|
|
2288
2361
|
"type": "citoyens"
|
|
2289
2362
|
},
|
|
2290
|
-
"
|
|
2363
|
+
"common219": {
|
|
2291
2364
|
"const": "poi",
|
|
2292
2365
|
"default": "poi",
|
|
2293
2366
|
"type": "string"
|
|
2294
2367
|
},
|
|
2295
|
-
"
|
|
2368
|
+
"common220": {
|
|
2296
2369
|
"const": "events",
|
|
2297
2370
|
"default": "events",
|
|
2298
2371
|
"type": "string"
|
|
2299
2372
|
},
|
|
2300
|
-
"
|
|
2373
|
+
"common221": {
|
|
2301
2374
|
"format": "date-time",
|
|
2302
2375
|
"type": "string"
|
|
2303
2376
|
},
|
|
2304
|
-
"
|
|
2377
|
+
"common222": {
|
|
2305
2378
|
"pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
|
|
2306
2379
|
"type": "string"
|
|
2307
2380
|
},
|
|
2308
|
-
"
|
|
2381
|
+
"common223": {
|
|
2309
2382
|
"type": "integer"
|
|
2310
2383
|
},
|
|
2311
|
-
"
|
|
2384
|
+
"common224": {
|
|
2312
2385
|
"additionalProperties": false,
|
|
2313
2386
|
"properties": {
|
|
2314
2387
|
"id": {
|
|
@@ -2328,7 +2401,7 @@ const common = {
|
|
|
2328
2401
|
],
|
|
2329
2402
|
"type": "object"
|
|
2330
2403
|
},
|
|
2331
|
-
"
|
|
2404
|
+
"common225": {
|
|
2332
2405
|
"id": {
|
|
2333
2406
|
"default": "@userId",
|
|
2334
2407
|
"pattern": "^[a-f0-9]{24}$",
|
|
@@ -2340,22 +2413,22 @@ const common = {
|
|
|
2340
2413
|
"type": "string"
|
|
2341
2414
|
}
|
|
2342
2415
|
},
|
|
2343
|
-
"
|
|
2416
|
+
"common226": {
|
|
2344
2417
|
"default": "@userId",
|
|
2345
2418
|
"pattern": "^[a-f0-9]{24}$",
|
|
2346
2419
|
"type": "string"
|
|
2347
2420
|
},
|
|
2348
|
-
"
|
|
2421
|
+
"common227": {
|
|
2349
2422
|
"const": "badges",
|
|
2350
2423
|
"default": "badges",
|
|
2351
2424
|
"type": "string"
|
|
2352
2425
|
},
|
|
2353
|
-
"
|
|
2426
|
+
"common228": {
|
|
2354
2427
|
"const": "badge",
|
|
2355
2428
|
"default": "badge",
|
|
2356
2429
|
"type": "string"
|
|
2357
2430
|
},
|
|
2358
|
-
"
|
|
2431
|
+
"common229": {
|
|
2359
2432
|
"patternProperties": {
|
|
2360
2433
|
"^[0-9a-f]{24}$": {
|
|
2361
2434
|
"additionalProperties": false,
|
|
@@ -2386,7 +2459,7 @@ const common = {
|
|
|
2386
2459
|
},
|
|
2387
2460
|
"type": "object"
|
|
2388
2461
|
},
|
|
2389
|
-
"
|
|
2462
|
+
"common230": {
|
|
2390
2463
|
"^[0-9a-f]{24}$": {
|
|
2391
2464
|
"additionalProperties": false,
|
|
2392
2465
|
"properties": {
|
|
@@ -2414,7 +2487,7 @@ const common = {
|
|
|
2414
2487
|
"type": "object"
|
|
2415
2488
|
}
|
|
2416
2489
|
},
|
|
2417
|
-
"
|
|
2490
|
+
"common231": {
|
|
2418
2491
|
"additionalProperties": false,
|
|
2419
2492
|
"properties": {
|
|
2420
2493
|
"isAdmin": {
|
|
@@ -2440,7 +2513,7 @@ const common = {
|
|
|
2440
2513
|
],
|
|
2441
2514
|
"type": "object"
|
|
2442
2515
|
},
|
|
2443
|
-
"
|
|
2516
|
+
"common232": {
|
|
2444
2517
|
"isAdmin": {
|
|
2445
2518
|
"default": "",
|
|
2446
2519
|
"enum": [
|
|
@@ -2459,7 +2532,7 @@ const common = {
|
|
|
2459
2532
|
"type": "array"
|
|
2460
2533
|
}
|
|
2461
2534
|
},
|
|
2462
|
-
"
|
|
2535
|
+
"common233": {
|
|
2463
2536
|
"default": "",
|
|
2464
2537
|
"enum": [
|
|
2465
2538
|
"",
|
|
@@ -2467,14 +2540,14 @@ const common = {
|
|
|
2467
2540
|
],
|
|
2468
2541
|
"type": "string"
|
|
2469
2542
|
},
|
|
2470
|
-
"
|
|
2543
|
+
"common234": {
|
|
2471
2544
|
"enum": [
|
|
2472
2545
|
"projects",
|
|
2473
2546
|
"organizations"
|
|
2474
2547
|
],
|
|
2475
2548
|
"type": "string"
|
|
2476
2549
|
},
|
|
2477
|
-
"
|
|
2550
|
+
"common235": {
|
|
2478
2551
|
"items": {
|
|
2479
2552
|
"enum": [
|
|
2480
2553
|
"NGO",
|
|
@@ -2492,7 +2565,7 @@ const common = {
|
|
|
2492
2565
|
},
|
|
2493
2566
|
"type": "array"
|
|
2494
2567
|
},
|
|
2495
|
-
"
|
|
2568
|
+
"common236": {
|
|
2496
2569
|
"enum": [
|
|
2497
2570
|
"NGO",
|
|
2498
2571
|
"LocalBusiness",
|
|
@@ -2507,7 +2580,7 @@ const common = {
|
|
|
2507
2580
|
],
|
|
2508
2581
|
"type": "string"
|
|
2509
2582
|
},
|
|
2510
|
-
"
|
|
2583
|
+
"common237": {
|
|
2511
2584
|
"default": "",
|
|
2512
2585
|
"oneOf": [
|
|
2513
2586
|
{
|
|
@@ -2520,11 +2593,11 @@ const common = {
|
|
|
2520
2593
|
}
|
|
2521
2594
|
]
|
|
2522
2595
|
},
|
|
2523
|
-
"
|
|
2596
|
+
"common238": {
|
|
2524
2597
|
"additionalProperties": true,
|
|
2525
2598
|
"type": "object"
|
|
2526
2599
|
},
|
|
2527
|
-
"
|
|
2600
|
+
"common239": {
|
|
2528
2601
|
"additionalProperties": true,
|
|
2529
2602
|
"properties": {
|
|
2530
2603
|
"tags": {
|
|
@@ -2539,7 +2612,7 @@ const common = {
|
|
|
2539
2612
|
},
|
|
2540
2613
|
"type": "object"
|
|
2541
2614
|
},
|
|
2542
|
-
"
|
|
2615
|
+
"common240": {
|
|
2543
2616
|
"tags": {
|
|
2544
2617
|
"additionalProperties": true,
|
|
2545
2618
|
"properties": {
|
|
@@ -2550,7 +2623,7 @@ const common = {
|
|
|
2550
2623
|
"type": "object"
|
|
2551
2624
|
}
|
|
2552
2625
|
},
|
|
2553
|
-
"
|
|
2626
|
+
"common241": {
|
|
2554
2627
|
"additionalProperties": true,
|
|
2555
2628
|
"properties": {
|
|
2556
2629
|
"verb": {
|
|
@@ -2559,12 +2632,12 @@ const common = {
|
|
|
2559
2632
|
},
|
|
2560
2633
|
"type": "object"
|
|
2561
2634
|
},
|
|
2562
|
-
"
|
|
2635
|
+
"common242": {
|
|
2563
2636
|
"verb": {
|
|
2564
2637
|
"type": "string"
|
|
2565
2638
|
}
|
|
2566
2639
|
},
|
|
2567
|
-
"
|
|
2640
|
+
"common243": {
|
|
2568
2641
|
"additionalProperties": {
|
|
2569
2642
|
"enum": [
|
|
2570
2643
|
1,
|
|
@@ -2574,14 +2647,14 @@ const common = {
|
|
|
2574
2647
|
},
|
|
2575
2648
|
"type": "object"
|
|
2576
2649
|
},
|
|
2577
|
-
"
|
|
2650
|
+
"common244": {
|
|
2578
2651
|
"enum": [
|
|
2579
2652
|
1,
|
|
2580
2653
|
-1
|
|
2581
2654
|
],
|
|
2582
2655
|
"type": "integer"
|
|
2583
2656
|
},
|
|
2584
|
-
"
|
|
2657
|
+
"common245": {
|
|
2585
2658
|
"additionalProperties": false,
|
|
2586
2659
|
"properties": {
|
|
2587
2660
|
"id": {
|
|
@@ -2599,7 +2672,7 @@ const common = {
|
|
|
2599
2672
|
],
|
|
2600
2673
|
"type": "object"
|
|
2601
2674
|
},
|
|
2602
|
-
"
|
|
2675
|
+
"common246": {
|
|
2603
2676
|
"id": {
|
|
2604
2677
|
"pattern": "^[a-f0-9]{24}$",
|
|
2605
2678
|
"type": "string"
|
|
@@ -2609,11 +2682,11 @@ const common = {
|
|
|
2609
2682
|
"type": "string"
|
|
2610
2683
|
}
|
|
2611
2684
|
},
|
|
2612
|
-
"
|
|
2685
|
+
"common247": {
|
|
2613
2686
|
"default": "events",
|
|
2614
2687
|
"type": "string"
|
|
2615
2688
|
},
|
|
2616
|
-
"
|
|
2689
|
+
"common248": {
|
|
2617
2690
|
"items": {
|
|
2618
2691
|
"properties": {
|
|
2619
2692
|
"id": {
|
|
@@ -2627,7 +2700,7 @@ const common = {
|
|
|
2627
2700
|
},
|
|
2628
2701
|
"type": "array"
|
|
2629
2702
|
},
|
|
2630
|
-
"
|
|
2703
|
+
"common249": {
|
|
2631
2704
|
"properties": {
|
|
2632
2705
|
"id": {
|
|
2633
2706
|
"type": "string"
|
|
@@ -2638,12 +2711,12 @@ const common = {
|
|
|
2638
2711
|
],
|
|
2639
2712
|
"type": "object"
|
|
2640
2713
|
},
|
|
2641
|
-
"
|
|
2714
|
+
"common250": {
|
|
2642
2715
|
"id": {
|
|
2643
2716
|
"type": "string"
|
|
2644
2717
|
}
|
|
2645
2718
|
},
|
|
2646
|
-
"
|
|
2719
|
+
"common251": {
|
|
2647
2720
|
"additionalProperties": false,
|
|
2648
2721
|
"properties": {
|
|
2649
2722
|
"contextId": {
|
|
@@ -2673,7 +2746,7 @@ const common = {
|
|
|
2673
2746
|
},
|
|
2674
2747
|
"type": "object"
|
|
2675
2748
|
},
|
|
2676
|
-
"
|
|
2749
|
+
"common252": {
|
|
2677
2750
|
"contextId": {
|
|
2678
2751
|
"pattern": "^[a-f0-9]{24}$",
|
|
2679
2752
|
"type": "string"
|
|
@@ -2699,7 +2772,7 @@ const common = {
|
|
|
2699
2772
|
"type": "array"
|
|
2700
2773
|
}
|
|
2701
2774
|
},
|
|
2702
|
-
"
|
|
2775
|
+
"common253": {
|
|
2703
2776
|
"items": {
|
|
2704
2777
|
"enum": [
|
|
2705
2778
|
"answers"
|
|
@@ -2708,13 +2781,13 @@ const common = {
|
|
|
2708
2781
|
},
|
|
2709
2782
|
"type": "array"
|
|
2710
2783
|
},
|
|
2711
|
-
"
|
|
2784
|
+
"common254": {
|
|
2712
2785
|
"enum": [
|
|
2713
2786
|
"answers"
|
|
2714
2787
|
],
|
|
2715
2788
|
"type": "string"
|
|
2716
2789
|
},
|
|
2717
|
-
"
|
|
2790
|
+
"common255": {
|
|
2718
2791
|
"enum": [
|
|
2719
2792
|
"comments",
|
|
2720
2793
|
"news"
|
|
@@ -2724,6 +2797,6 @@ const common = {
|
|
|
2724
2797
|
};
|
|
2725
2798
|
|
|
2726
2799
|
// Endpoints avec intégration des définitions communes
|
|
2727
|
-
const endpoints = {"endpoints":[{"auth":"none","constant":"PERSON_REGISTER","contentType":"application/x-www-form-urlencoded","generateModule":"UserNoAuth","method":"POST","onlyAuthNone":true,"path":"/co2/person/register","request":{"additionalProperties":false,"properties":{"app":common.common1,"email":common.common2,"isInvitation":common.common3,"mode":common.common1,"name":common.common1,"pendingUserId":common.common1,"pwd":common.common1,"username":common.common1},"required":["name","username","email","pwd"],"type":"object"}},{"auth":"none","constant":"AUTHENTICATE_URL","contentType":"application/json","generateModule":"UserNoAuth","method":"POST","onlyAuthNone":true,"path":"/api/cocolight/authenticate","postActions":[{"path":"accessToken","type":"setToken"},{"path":"refreshToken","type":"setRefreshToken"},{"event":"userLoggedIn","path":"user","type":"emitEvent"}],"request":{"additionalProperties":false,"properties":{"email":common.common2,"password":common.common1},"required":["email","password"],"type":"object"}},{"auth":"none","constant":"REFRESH_TOKEN_URL","contentType":"application/json","method":"POST","path":"/api/cocolight/refreshtoken","request":{"additionalProperties":false,"properties":{"refreshToken":common.common1},"required":["refreshToken"],"type":"object"}},{"auth":"bearer","constant":"ME_INFO_URL","contentType":"application/json","method":"POST","path":"/api/cocolight/me"},{"auth":"none","constant":"PASSWORD_RECOVERY","contentType":"application/x-www-form-urlencoded","generateModule":"UserNoAuth","method":"POST","onlyAuthNone":true,"path":"/co2/person/sendemail","request":{"additionalProperties":false,"properties":{"email":common.common2,"type":{"const":"password","default":"password","type":"string"}},"required":["email","type"],"type":"object"}},{"auth":"bearer","constant":"SERVER_EXCHANGE_TOKEN","contentType":"application/json","method":"POST","path":"/api/cocolight/exchangetoken","request":{"additionalProperties":false,"properties":{"serverUrl":common.common4},"required":["serverUrl"],"type":"object"}},{"auth":"bearer","constant":"CHANGE_PASSWORD","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/person/changepassword","request":{"additionalProperties":false,"properties":{"mode":{"const":"changePassword","default":"changePassword","type":"string"},"newPassword":common.common1,"newPassword2":common.common1,"oldPassword":common.common1,"scope":{"default":"","type":["string"]},"userId":common.common5},"required":["mode","userId","oldPassword","newPassword","newPassword2"],"type":"object"}},{"auth":"bearer","constant":"DELETE_ACCOUNT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/delete/id/{id}/type/citoyens","pathParams":common.common6,"postActions":[{"type":"resetSession"},{"event":"accountDeleted","path":null,"type":"emitEvent"}],"request":common.common8},{"auth":"bearer","constant":"UPDATE_SETTINGS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updatesettings","request":{"additionalProperties":false,"allOf":[{"else":{"properties":{"idEntity":common.common11}},"if":{"properties":{"typeEntity":common.common12}},"then":{"properties":{"idEntity":common.common5}}},{"if":{"properties":{"type":{"enum":["birthDate","email","locality","phone","directory"]},"typeEntity":common.common12}},"then":{"properties":{"value":{"enum":["private","public","mask"],"type":"string"}}}},{"if":{"properties":{"type":{"enum":["activitypub","isOpenData"]},"typeEntity":common.common12}},"then":common.common13},{"if":{"properties":{"type":common.common15,"typeEntity":common.common16}},"then":common.common13},{"if":{"properties":{"type":common.common15,"typeEntity":common.common17}},"then":common.common13},{"if":{"properties":{"type":{"enum":["isOpenData","isOpenEdition","public"]},"typeEntity":common.common18}},"then":common.common13}],"properties":{"idEntity":common.common1,"type":common.common1,"typeEntity":common.common19,"value":common.common20},"required":["type","value","typeEntity","idEntity"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_DESCRIPTION","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"additionalProperties":false,"allOf":[common.common21,{"anyOf":[{"properties":{"description":common.common27},"required":["description"]},{"properties":{"shortDescription":common.common27},"required":["shortDescription"]}]}],"properties":{"block":{"const":"descriptions","default":"descriptions","type":"string"},"descMentions":common.common10,"description":common.common1,"id":common.common1,"scope":{"default":"","type":["string","null"]},"shortDescription":common.common1,"typeElement":common.common29},"required":["block","typeElement","id"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_INFO","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"$defs":{"sharedFields":{"email":common.common2,"name":common.common1,"tags":common.common30,"url":common.common33}},"allOf":[{"if":common.common24,"then":{"additionalProperties":false,"anyOf":[common.common35,{"properties":{"birthDate":common.common27},"required":["birthDate"]},{"properties":{"fixe":common.common27},"required":["fixe"]},{"properties":{"mobile":common.common27},"required":["mobile"]},common.common37,common.common39,common.common41],"properties":{"birthDate":common.common43,"block":common.common44,"email":common.common45,"fixe":common.common1,"id":common.common5,"mobile":common.common1,"name":common.common46,"scope":common.common10,"tags":common.common47,"typeElement":common.common48,"url":common.common49}}},{"if":{"properties":{"typeElement":common.common17}},"then":{"additionalProperties":false,"anyOf":[common.common35,common.common37,common.common39,common.common41,common.common50,common.common52],"properties":{"avancement":{"enum":["abandoned","concept","development","production","started","testing","idea","mature","qa","finished"],"type":"string"},"block":common.common44,"email":common.common45,"id":common.common1,"name":common.common46,"parent":common.common54,"scope":common.common10,"tags":common.common47,"typeElement":{"default":"citoyens","enum":["projects"],"type":"string"},"url":common.common49}}},{"if":{"properties":{"typeElement":common.common18}},"then":{"additionalProperties":false,"anyOf":[common.common35,common.common37,common.common39,common.common41,common.common50,common.common58,{"properties":{"organizer":common.common27},"required":["organizer"]},common.common52],"properties":{"block":common.common44,"email":common.common45,"id":common.common1,"name":common.common46,"organizer":common.common60,"parent":common.common54,"scope":common.common10,"tags":common.common47,"type":common.common63,"typeElement":{"default":"citoyens","enum":["events"],"type":"string"},"url":common.common49}}},{"if":{"properties":{"typeElement":common.common16}},"then":{"additionalProperties":false,"anyOf":[common.common35,common.common37,common.common39,common.common41,common.common58],"properties":{"block":common.common44,"email":common.common45,"id":common.common1,"name":common.common46,"scope":common.common10,"tags":common.common47,"type":common.common64,"typeElement":{"enum":["organizations"],"type":"string"},"url":common.common49}}},{"if":{"properties":{"typeElement":{"const":"poi"}}},"then":{"additionalProperties":false,"anyOf":[common.common35,common.common37,common.common39,common.common41,common.common58,{"properties":{"urls":common.common27},"required":["urls"]}],"properties":{"block":common.common44,"email":common.common45,"id":common.common1,"name":common.common46,"scope":common.common10,"tags":common.common47,"type":common.common65,"typeElement":common.common66,"url":common.common49,"urls":common.common31}}}],"properties":{"block":common.common44,"id":common.common1,"scope":common.common10,"typeElement":common.common29},"required":["block","typeElement","id"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_SOCIAL","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"$defs":{"socialField":{"anyOf":[common.common32,common.common4]}},"allOf":[common.common21,{"anyOf":[{"properties":{"gitlab":common.common27},"required":["gitlab"]},{"properties":{"github":common.common27},"required":["github"]},{"properties":{"twitter":common.common27},"required":["twitter"]},{"properties":{"facebook":common.common27},"required":["facebook"]},{"properties":{"instagram":common.common27},"required":["instagram"]},{"properties":{"diaspora":common.common27},"required":["diaspora"]},{"properties":{"mastodon":common.common27},"required":["mastodon"]},{"properties":{"telegram":common.common27},"required":["telegram"]},{"properties":{"signal":common.common27},"required":["signal"]}]}],"properties":{"block":{"const":"network","default":"network","type":"string"},"diaspora":common.common67,"facebook":common.common67,"github":common.common67,"gitlab":common.common67,"id":common.common1,"instagram":common.common67,"mastodon":common.common67,"scope":common.common10,"signal":common.common67,"telegram":common.common67,"twitter":common.common67,"typeElement":common.common68},"required":["block","typeElement","id"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_LOCALITY","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"else":common.common69,"if":common.common24,"properties":{"address":{"oneOf":[common.common34,common.common72]},"block":{"const":"localities","default":"localities","type":"string"},"geo":{"oneOf":[common.common34,common.common76]},"geoPosition":{"oneOf":[common.common34,common.common80]},"id":common.common1,"scope":common.common10,"typeElement":common.common29},"required":["block","typeElement","id","address"],"then":common.common86,"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_SLUG","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"else":common.common69,"if":common.common24,"properties":{"block":common.common44,"id":common.common1,"scope":common.common10,"slug":common.common89,"typeElement":common.common29},"required":["block","typeElement","id","slug"],"then":common.common86,"type":"object"}},{"auth":"bearer","constant":"CHECK","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/slug/check","request":{"additionalProperties":false,"else":common.common69,"if":common.common90,"properties":{"block":common.common44,"id":common.common1,"slug":common.common89,"type":common.common19},"required":["block","type","id","slug"],"then":common.common86,"type":"object"}},{"auth":"bearer","constant":"PROFIL_IMAGE","contentType":"multipart/form-data","method":"POST","path":"/co2/document/upload-save/dir/communecter/folder/{folder}/ownerId/{ownerId}/input/profil_avatar/contentKey/profil/docType/image","pathParams":{"additionalProperties":false,"else":common.common92,"if":common.common94,"properties":{"folder":{"default":"citoyens","enum":["citoyens","projects","organizations","events","poi"],"type":"string"},"ownerId":common.common1},"required":["folder","ownerId"],"then":common.common96,"type":"object"},"request":{"additionalProperties":false,"properties":{"profil_avatar":common.common20},"required":["profil_avatar"],"type":"object"}},{"auth":"none","constant":"GET_ELEMENTS_ABOUT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/about/type/{type}/id/{id}/json/true","pathParams":{"additionalProperties":false,"else":common.common69,"if":common.common90,"properties":{"id":common.common1,"type":{"default":"citoyens","enum":["citoyens","projects","organizations","events","poi","badges","answers"],"type":"string"}},"required":["type","id"],"then":common.common86,"type":"object"},"request":{"additionalProperties":false,"properties":{"tpl":{"const":"ficheInfoElement","default":"ficheInfoElement","type":"string"}},"required":["tpl"],"type":"object"}},{"auth":"bearer","constant":"MULTICONNECT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/multiconnect","request":{"additionalProperties":false,"else":common.common98,"if":common.common100,"properties":{"listInvite":{"additionalProperties":false,"patternProperties":{"^(citoyens|projects|organizations)$":{"additionalProperties":false,"patternProperties":{"^[0-9a-fA-F]{24}$":{"additionalProperties":false,"properties":{"name":common.common1},"required":["name"],"type":"object"}},"type":"object"}},"type":"object"},"parentId":common.common1,"parentType":common.common68},"required":["parentId","parentType","listInvite"],"then":common.common102,"type":"object"}},{"auth":"none","constant":"GET_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/get/type/{type}/id/{id}/isLive/{isLive}/json/true","pathParams":{"additionalProperties":false,"else":common.common69,"if":common.common90,"properties":{"id":common.common1,"isLive":common.common104,"type":common.common68},"required":["isLive","type","id"],"then":common.common86,"type":"object"},"request":{"additionalProperties":false,"properties":{"dateLimit":common.common105,"indexStep":{"default":12,"type":"integer"},"search":{"additionalProperties":false,"properties":{"name":common.common10},"required":["name"],"type":"object"}},"required":["dateLimit","indexStep"],"type":"object"}},{"auth":"none","constant":"GET_NEWS_BY_ID","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/getbyids","request":{"additionalProperties":false,"properties":{"ids":{"items":common.common11,"type":"array"}},"required":["ids"],"type":"object"}},{"auth":"bearer","constant":"ADD_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/save","request":{"additionalProperties":false,"anyOf":[common.common106,common.common107,common.common108],"else":common.common98,"if":common.common100,"properties":{"json":common.common84,"markdownActive":common.common104,"mediaFile":common.common109,"mediaImg":common.common111,"mentions":common.common113,"parentId":common.common1,"parentType":common.common68,"scope":common.common117,"tags":common.common30,"text":common.common1,"type":common.common118},"required":["scope","markdownActive","parentId","parentType","type","json"],"then":common.common102,"type":"object"}},{"auth":"bearer","constant":"ADD_IMAGE_NEWS","contentType":"multipart/form-data","method":"POST","path":"/co2/document/uploadSave/dir/communecter/folder/{folder}/ownerId/{ownerId}/input/newsImage/docType/image/contentKey/slider","pathParams":common.common119,"request":{"additionalProperties":false,"properties":{"newsImage":common.common20},"required":["newsImage"],"type":"object"}},{"auth":"bearer","constant":"ADD_FILE_NEWS","contentType":"multipart/form-data","method":"POST","path":"/co2/document/uploadSave/dir/communecter/folder/{folder}/ownerId/{ownerId}/input/newsFile/docType/file","pathParams":common.common119,"request":{"additionalProperties":false,"properties":{"newsFile":common.common20},"required":["newsFile"],"type":"object"}},{"auth":"bearer","constant":"DELETE_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/delete/id/{id}","pathParams":common.common121,"request":{"additionalProperties":false,"properties":{"isLive":common.common122},"required":["isLive"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/update","request":{"additionalProperties":false,"anyOf":[common.common106,common.common107,common.common108],"else":common.common98,"if":common.common100,"properties":{"idNews":common.common11,"markdownActive":common.common104,"mediaFile":common.common109,"mediaImg":common.common111,"mentions":common.common113,"parentId":common.common1,"parentType":common.common68,"scope":common.common117,"tags":common.common30,"text":common.common1,"type":common.common118},"required":["idNews","scope","markdownActive","parentId","parentType","type"],"then":common.common102,"type":"object"}},{"auth":"bearer","constant":"SHARE_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/share","request":{"additionalProperties":false,"else":common.common123,"if":common.common125,"properties":{"childId":common.common11,"childType":common.common68,"comment":common.common1,"connectType":common.common127,"parentId":common.common11,"parentType":common.common118},"required":["parentId","parentType","childId","childType","connectType"],"then":common.common128,"type":"object"}},{"auth":"none","constant":"GET_COMMENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/comment/index/type/{type}/id/{id}/json/true","pathParams":common.common130},{"auth":"bearer","constant":"ADD_COMMENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/comment/save","request":{"additionalProperties":false,"properties":{"argval":common.common10,"contextId":common.common11,"contextType":common.common132,"mentions":common.common133,"parentCommentId":{"default":"","pattern":"^([a-f0-9]{24}|)$","type":"string"},"path":common.common10,"text":common.common1},"required":["text","contextId","contextType"],"type":"object"}},{"auth":"bearer","constant":"DELETE_COMMENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/comment/delete/id/{id}","pathParams":common.common121},{"auth":"bearer","constant":"UPDATE_COMMENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/comment/update","request":{"additionalProperties":false,"properties":{"id":common.common11,"params":{"properties":{"mentions":common.common133,"text":common.common1},"required":["text"],"type":"object"}},"required":["id","params"],"type":"object"}},{"auth":"none","constant":"SEARCH_TAGS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/api/tags/search?q={q}","pathParams":{"additionalProperties":false,"properties":{"q":common.common1},"required":["q"],"type":"object"}},{"auth":"none","constant":"SHOW_VOTE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/action/list/type/{type}/id/{id}/actionType/vote/json/true","pathParams":common.common130},{"auth":"none","constant":"GLOBAL_AUTOCOMPLETE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":{"default":["NGO","LocalBusiness","Group","GovernmentOrganization","Cooperative","projects","citoyens","poi"],"items":common.common136,"type":"array"},"fediverse":common.common137,"filters":common.common138,"indexMax":common.common83,"indexMin":common.common139,"indexStep":common.common140,"initType":common.common138,"locality":common.common141,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common146,"searchBy":common.common150,"searchTags":common.common31,"searchType":{"items":common.common136,"type":"array"}},"required":["name","searchType","countType","indexMin","indexStep","initType","count","notSourceKey","filters","fediverse"],"type":"object"}},{"auth":"none","constant":"CITY_AUTOCOMPLETE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"indexMax":{"minimum":5,"type":"integer"},"indexMin":{"minimum":0,"type":"integer"},"locality":common.common138,"name":common.common1,"searchBy":{"const":"ALL","default":"ALL","type":"string"},"searchType":{"const":["cities"],"default":["cities"],"items":{"enum":["cities"],"type":"string"},"type":"array"}},"required":["name","locality","searchType"],"type":"object"}},{"auth":"none","constant":"CITY_AUTOCOMPLETE_BY_COUNTRY","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/city/autocompletemultiscope","request":{"additionalProperties":false,"properties":{"countryCode":{"default":"FR","type":"string"},"formInMap":common.common122,"scopeValue":common.common1,"type":{"enum":["locality"],"type":"string"}},"required":["type","countryCode","scopeValue","formInMap"],"type":"object"}},{"auth":"none","constant":"SUGGESTION_INPUT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"indexMax":{"default":20,"minimum":20,"type":"integer"},"indexMin":common.common151,"name":common.common1,"searchType":{"items":{"enum":["organizations","projects","poi"],"type":"string"},"type":"array"}},"required":["name","searchType","indexMin","indexMax"],"type":"object"}},{"auth":"none","constant":"GET_PROJECTS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common152,"fediverse":common.common137,"filters":{"additionalProperties":false,"default":{"$or":{"links.contributors.@userId":common.common154,"parent.@userId":common.common154},"links.contributors.@userId":common.common154},"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@\\w+)$":common.common155},"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@\\w+)$":common.common155,"^parent\\.(?:[a-f0-9]{24}|@\\w+)$":common.common155},"type":"object"}},"required":["$or"],"type":"object"},"indexMax":common.common83,"indexMin":common.common139,"indexStep":common.common140,"initType":common.common138,"locality":common.common138,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common146,"searchBy":common.common150,"searchType":common.common152},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_PROJECTS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/{type}/id/{id}/canSee/true","pathParams":common.common158,"request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common152,"fediverse":common.common137,"filters":{"additionalProperties":false,"default":{"$or":{"links.contributors.@{pathParams.id}":common.common154,"parent.@{pathParams.id}":common.common154},"links.contributors.@{pathParams.id}":common.common154},"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common155},"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common155,"^parent\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common155},"type":"object"}},"required":["$or"],"type":"object"},"indexMax":common.common83,"indexMin":common.common139,"indexStep":common.common140,"initType":common.common138,"locality":common.common138,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common146,"searchBy":common.common150,"searchType":common.common152},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_POIS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common160,"fediverse":common.common137,"filters":{"additionalProperties":false,"default":{"parent.@userId":common.common154},"patternProperties":{"^parent\\.(?:[a-f0-9]{24}|@\\w+)$":common.common155},"type":"object"},"indexMax":common.common83,"indexMin":common.common139,"indexStep":common.common140,"initType":common.common138,"locality":common.common138,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common146,"searchBy":common.common150,"searchType":common.common160},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_POIS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/{type}/id/{id}/canSee/true","pathParams":common.common158,"request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common160,"fediverse":common.common137,"filters":{"additionalProperties":false,"default":{"parent.@{pathParams.id}":common.common154},"patternProperties":{"^parent\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common155},"type":"object"},"indexMax":common.common83,"indexMin":common.common139,"indexStep":common.common140,"initType":common.common138,"locality":common.common138,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common146,"searchBy":common.common150,"searchType":common.common160},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_ORGANIZATIONS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common161,"fediverse":common.common137,"filters":{"additionalProperties":false,"default":{"links.members.@userId":common.common154,"links.members.@userId.isInviting":common.common163,"links.members.@userId.toBeValidated":common.common163},"patternProperties":{"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)$":common.common155,"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common164,"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common164},"type":"object"},"indexMax":common.common83,"indexMin":common.common151,"indexStep":common.common167,"initType":common.common138,"locality":common.common138,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common146,"searchBy":common.common150,"searchType":common.common161},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_ORGANIZATIONS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/{type}/id/{id}/canSee/true","pathParams":{"additionalProperties":false,"else":common.common69,"if":common.common90,"properties":{"id":common.common1,"type":{"default":"citoyens","enum":["citoyens","organizations"],"type":"string"}},"required":["type","id"],"then":common.common86,"type":"object"},"request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common161,"fediverse":common.common137,"filters":{"additionalProperties":false,"default":{"links.members.@{pathParams.id}":common.common154,"links.members.@{pathParams.id}.isInviting":common.common163,"links.members.@{pathParams.id}.toBeValidated":common.common163},"patternProperties":{"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common155,"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common164,"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common164},"type":"object"},"indexMax":common.common83,"indexMin":common.common151,"indexStep":common.common167,"initType":common.common138,"locality":common.common138,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common146,"searchBy":common.common150,"searchType":common.common161},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_MEMBERS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common168,"fediverse":common.common137,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)$)"}}},{"not":{"propertyNames":{"pattern":"^(?!links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$)"}}}],"patternProperties":{"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)$":common.common155,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common155,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common155,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common170,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common172,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common164},"type":"object"},"indexMax":common.common83,"indexMin":common.common139,"indexStep":common.common140,"initType":common.common138,"locality":common.common138,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common146,"searchBy":common.common150,"searchType":common.common168},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_MEMBERS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/organizations/id/{id}/canSee/true","pathParams":common.common121,"request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common168,"fediverse":common.common137,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"}}}],"default":{"links.memberOf.@{pathParams.id}":common.common154,"links.memberOf.@{pathParams.id}.isInviting":common.common163,"links.memberOf.@{pathParams.id}.toBeValidated":common.common163},"patternProperties":{"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common155,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common155,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common155,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common170,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common172,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common170},"type":"object"},"indexMax":common.common83,"indexMin":common.common139,"indexStep":common.common140,"initType":common.common138,"locality":common.common138,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common146,"searchBy":common.common150,"searchType":common.common168},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_FRIENDS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/citoyens/id/{id}/canSee/true","pathParams":common.common6,"request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common175,"fediverse":common.common137,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"}}}],"default":{"links.friends.@{pathParams.id}":common.common154,"links.friends.@{pathParams.id}.isInviting":common.common163,"links.friends.@{pathParams.id}.toBeValidated":common.common163},"patternProperties":{"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common155,"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common170,"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common170},"type":"object"},"indexMin":common.common151,"indexStep":common.common167,"initType":common.common138,"locality":common.common138,"name":common.common1,"notSourceKey":common.common84,"searchType":common.common175},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_SUBSCRIPTIONS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common177,"fediverse":common.common137,"filters":{"additionalProperties":false,"allOf":[common.common179],"default":{"links.followers.@userId":common.common154,"links.followers.@{userId}.isInviting":common.common163,"links.followers.@{userId}.toBeValidated":common.common163},"patternProperties":common.common182,"type":"object"},"indexMax":common.common83,"indexMin":common.common139,"indexStep":common.common140,"initType":common.common138,"locality":common.common138,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common146,"searchBy":common.common150,"searchType":common.common177},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_SUBSCRIPTIONS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/citoyens/id/{id}/canSee/true","pathParams":common.common6,"request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common177,"fediverse":common.common137,"filters":{"additionalProperties":false,"allOf":[common.common179],"default":{"links.followers.@{pathParams.id}":common.common154,"links.followers.@{pathParams.id}.isInviting":common.common163,"links.followers.@{pathParams.id}.toBeValidated":common.common163},"patternProperties":common.common182,"type":"object"},"indexMax":common.common83,"indexMin":common.common139,"indexStep":common.common140,"initType":common.common138,"locality":common.common138,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common146,"searchBy":common.common150,"searchType":common.common177},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_SUBSCRIBERS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common175,"fediverse":common.common137,"filters":{"additionalProperties":false,"allOf":[common.common183],"default":{"links.follows.@userId":common.common154,"links.follows.@{userId}.isInviting":common.common163,"links.follows.@{userId}.toBeValidated":common.common163},"patternProperties":{"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common155,"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common164,"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common164},"type":"object"},"indexMax":common.common83,"indexMin":common.common139,"indexStep":common.common140,"initType":common.common138,"locality":common.common138,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common146,"searchBy":common.common150,"searchType":common.common175},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_SUBSCRIBERS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/{type}/id/{id}/canSee/true","pathParams":{"additionalProperties":false,"allOf":[{"else":common.common69,"if":common.common90,"then":common.common86}],"properties":{"id":common.common1,"type":common.common186},"required":["type","id"],"type":"object"},"request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common175,"fediverse":common.common137,"filters":{"additionalProperties":false,"allOf":[common.common183],"default":{"links.follows.@{pathParams.id}":common.common154},"maxProperties":1,"minProperties":1,"patternProperties":{"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common155},"type":"object"},"indexMin":common.common151,"indexStep":common.common167,"initType":common.common138,"locality":common.common138,"name":common.common1,"notSourceKey":common.common84,"searchType":common.common175},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_CONTRIBUTORS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common168,"fediverse":common.common137,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)$)"}}},{"not":{"propertyNames":{"pattern":"^(?!links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$)"}}}],"patternProperties":{"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)$":common.common155,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common155,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common155,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common170,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common172,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common164},"type":"object"},"indexMax":common.common83,"indexMin":common.common139,"indexStep":common.common140,"initType":common.common138,"locality":common.common138,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common146,"searchBy":common.common150,"searchType":common.common168},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_CONTRIBUTORS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/projects/id/{id}/canSee/true","pathParams":common.common121,"request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common168,"fediverse":common.common137,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"}}}],"default":{"links.projects.@{pathParams.id}":common.common154,"links.projects.@{pathParams.id}.isInviting":common.common163,"links.projects.@{pathParams.id}.toBeValidated":common.common163},"patternProperties":{"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common155,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common155,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common155,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common170,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common172,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common170},"type":"object"},"indexMax":common.common83,"indexMin":common.common139,"indexStep":common.common140,"initType":common.common138,"locality":common.common138,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common146,"searchBy":common.common150,"searchType":common.common168},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_BADGES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common187,"fediverse":common.common137,"filters":{"properties":{"$or":{"additionalProperties":false,"minProperties":1,"patternProperties":{"^issuer\\.(?:[a-f0-9]{24}|@\\w+)$":common.common155},"type":"object"},"isParcours":common.common3,"preferences.private":common.common137},"required":["preferences.private"],"type":"object"},"indexMax":common.common83,"indexMin":common.common139,"indexStep":common.common140,"initType":common.common138,"locality":common.common138,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common146,"searchBy":common.common150,"searchType":common.common187},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_BADGES_FILTERS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common189,"fediverse":common.common137,"fields":common.common187,"filters":{"oneOf":[{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)$":common.common191}},{"additionalProperties":false,"maxProperties":3,"minProperties":3,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)$":common.common191,"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteEmetteur$":common.common194,"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteRecepteur$":common.common194}},{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":common.common197},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":common.common197,"type":"object"}},"required":["$or"]},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.revoke$":common.common193}},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteEmetteur$":common.common191}}],"type":"object"},"indexMin":common.common151,"indexStep":common.common167,"initType":common.common138,"locality":common.common138,"name":common.common1,"notSourceKey":common.common84,"ranges":{"additionalProperties":false,"default":{"Cooperative":common.common198,"GovernmentOrganization":common.common198,"Group":common.common198,"LocalBusiness":common.common198,"NGO":common.common198,"citoyens":common.common198,"projects":common.common198},"maxProperties":7,"minProperties":7,"patternProperties":{"^[a-zA-Z][a-zA-Z0-9]*$":common.common148},"type":"object"},"searchType":common.common189},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"CONNECT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/connect","request":{"additionalProperties":false,"allOf":[{"if":common.common100,"then":{"properties":{"connectType":{"const":"friend","default":"friend"}}}},{"if":common.common199,"then":{"properties":{"connectType":{"enum":["admin","member"]}}}},{"if":common.common201,"then":{"properties":{"connectType":{"enum":["admin","contributor"]}}}},{"if":common.common203,"then":{"properties":{"connectType":{"default":"attendee","enum":["attendee","connect"]}}}}],"properties":{"childId":common.common205,"childType":common.common206,"connectType":{"enum":["admin","member","contributor","attendee","friend","connect"],"type":"string"},"parentId":common.common11,"parentType":common.common207},"required":["childId","childType","parentType","parentId","connectType"],"type":"object"}},{"auth":"bearer","constant":"DISCONNECT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/disconnect","request":{"additionalProperties":false,"allOf":[{"if":common.common100,"then":{"properties":{"connectType":{"default":"friends","enum":["friends","followers"]}}}},{"if":common.common199,"then":{"properties":{"connectType":{"default":"members","enum":["members","followers"]}}}},{"if":common.common201,"then":{"properties":{"connectType":{"default":"contributors","enum":["contributors","followers"]}}}},{"if":common.common203,"then":{"properties":{"connectType":{"default":"attendees","enum":["attendees","followers"]}}}}],"properties":{"childId":common.common205,"childType":common.common206,"connectType":{"enum":["members","contributors","attendees","friends","followers"],"type":"string"},"parentId":common.common11,"parentType":common.common207},"required":["childId","childType","parentType","parentId","connectType"],"type":"object"}},{"auth":"none","constant":"GET_ELEMENTS_KEY","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/slug/getinfo/key/{slug}","pathParams":{"additionalProperties":false,"properties":{"slug":{"pattern":"^([a-zA-Z0-9-_]+)$","type":"string"}},"required":["slug"],"type":"object"}},{"auth":"bearer","constant":"GET_FAVORIS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/app/config/type/citoyens/id/{id}/json/true","pathParams":common.common6},{"auth":"bearer","constant":"DELETE_FAVORIS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updatepathvalue?index={index}","pathParams":{"properties":{"index":common.common83},"type":"object"},"request":{"additionalProperties":false,"properties":{"collection":common.common208,"id":common.common209,"path":{"const":"preferences.search.@{pathParams.index}","default":"preferences.search.@{pathParams.index}","type":"string"},"pull":{"const":"preferences.search","type":"string"},"value":common.common138},"required":["id","collection","path","pull","value"],"type":"object"}},{"auth":"bearer","constant":"ADD_FAVORIS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updatepathvalue","request":{"additionalProperties":false,"properties":{"arrayForm":common.common193,"collection":common.common208,"id":common.common209,"path":{"const":"preferences.search","default":"preferences.search","type":"string"},"value":{"additionalProperties":false,"properties":{"description":common.common1,"locality":{"patternProperties":{"^[a-f0-9]{24}$":{"additionalProperties":false,"properties":common.common57,"required":["name","type"]}},"type":"object"},"name":common.common1,"tags":common.common31,"url":common.common1},"required":["url","name"],"type":"object"}},"required":["id","collection","path","arrayForm","value"],"type":"object"}},{"auth":"bearer","constant":"ADD_ORGANIZATION","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":false,"properties":{"address":common.common72,"collection":{"const":"organizations","default":"organizations","type":"string"},"email":common.common2,"geo":common.common76,"geoPosition":common.common80,"id":common.common11,"key":{"const":"organization","default":"organization","type":"string"},"name":{"minLength":3,"type":"string"},"preferences":common.common210,"role":{"enum":["admin","member"],"type":"string"},"scope":common.common138,"shortDescription":common.common1,"tags":common.common31,"type":common.common64,"url":common.common33},"required":["id","collection","key","name","type","role","scope"],"type":"object"}},{"auth":"bearer","constant":"ADD_PROJECT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":false,"properties":{"address":common.common72,"collection":{"const":"projects","default":"projects","type":"string"},"geo":common.common76,"geoPosition":common.common80,"id":common.common11,"key":{"const":"project","default":"project","type":"string"},"name":common.common1,"parent":common.common213,"preferences":{"default":{"crowdfunding":true,"isOpenData":false,"isOpenEdition":false},"properties":{"crowdfunding":common.common104,"isOpenData":common.common122,"isOpenEdition":common.common122},"required":["isOpenData","isOpenEdition"],"type":"object"},"public":common.common104,"scope":common.common138,"shortDescription":common.common1,"tags":common.common31,"url":common.common33},"required":["id","collection","key","parent","name","public","scope"],"type":"object"}},{"auth":"bearer","constant":"ADD_POI","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":false,"properties":{"address":common.common72,"collection":common.common216,"description":common.common1,"geo":common.common76,"geoPosition":common.common80,"id":common.common11,"key":common.common216,"name":common.common1,"parent":common.common213,"scope":common.common138,"tags":common.common31,"type":common.common65,"urls":common.common31},"required":["id","collection","key","parent","type","name"],"type":"object"}},{"auth":"bearer","constant":"ADD_EVENT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":false,"else":{"required":["openingHours"]},"if":{"properties":{"recurrency":common.common166}},"properties":{"address":common.common72,"collection":common.common217,"email":common.common2,"endDate":common.common218,"geo":common.common76,"geoPosition":common.common80,"id":common.common11,"key":{"const":"event","default":"event","type":"string"},"name":{"minLength":2,"type":"string"},"openingHours":{"default":["","","","","","",""],"items":{"anyOf":[common.common34,{"additionalProperties":false,"properties":{"dayOfWeek":{"enum":["Mo","Tu","We","Th","Fr","Sa","Su"],"type":"string"},"hours":{"default":[],"items":{"additionalProperties":false,"properties":{"closes":common.common219,"opens":common.common219},"required":["opens","closes"],"type":"object"},"type":"array"}},"required":["dayOfWeek","hours"],"type":"object"}]},"maxItems":7,"minItems":7,"type":"array"},"organizer":common.common213,"parent":common.common60,"preferences":{"default":{"isOpenData":false,"isOpenEdition":false},"properties":{"isOpenData":common.common122,"isOpenEdition":common.common122},"required":["isOpenData","isOpenEdition"],"type":"object"},"public":common.common104,"recurrency":common.common122,"scope":common.common138,"shortDescription":{"format":"textarea","type":"string"},"startDate":common.common218,"tags":common.common31,"timeZone":common.common1,"type":common.common63,"url":common.common33},"required":["id","collection","key","organizer","type","name","scope"],"startBeforeEnd":true,"then":{"required":["startDate","endDate"]},"type":"object"}},{"auth":"bearer","constant":"DELETE_POI","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/delete/type/poi/id/{id}","pathParams":common.common121,"request":common.common8},{"auth":"bearer","constant":"DELETE_EVENT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/delete/type/events/id/{id}/","pathParams":common.common121,"request":common.common8},{"auth":"bearer","constant":"DELETE_ELEMENT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/delete/type/{type}/id/{id}","pathParams":{"additionalProperties":false,"properties":{"id":common.common11,"type":common.common1},"required":["type","id"],"type":"object"},"request":common.common8},{"auth":"bearer","constant":"ADD_IMAGE_ELEMENT","contentType":"multipart/form-data","method":"POST","path":"/co2/document/upload-save/dir/communecter/folder/{folder}/ownerId/{ownerId}/input/qqfile/docType/image/contentKey/profil","pathParams":{"additionalProperties":false,"properties":{"folder":{"enum":["badges","events"],"type":"string"},"ownerId":common.common11},"required":["folder","ownerId"],"type":"object"},"request":{"additionalProperties":false,"properties":{"qqfile":common.common20,"qqfilename":common.common1,"qqtotalfilesize":common.common220,"qquuid":common.common11},"required":["qquuid","qqfilename","qqtotalfilesize","qqfile"],"type":"object"}},{"auth":"bearer","constant":"LINK_VALIDATE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/validate","request":{"additionalProperties":false,"properties":{"childId":common.common5,"childType":common.common48,"linkOption":{"enum":["isInviting","toBeValidated","isAdminPending"],"type":"string"},"parentId":common.common11,"parentType":common.common207},"required":["childId","childType","parentType","parentId"],"type":"object"}},{"auth":"none","constant":"SEARCH_MEMBER_AUTOCOMPLETE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/searchmemberautocomplete","request":{"additionalProperties":false,"properties":{"search":common.common1,"searchMode":{"default":"personOnly","enum":["personOnly","organizationOnly","mixte"],"type":"string"}},"required":["search","searchMode"],"type":"object"}},{"auth":"bearer","constant":"GET_NOTIFICATIONS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/notification/getnotifications/type/{type}/id/{id}","pathParams":common.common221,"request":{"additionalProperties":false,"properties":{"indexMin":common.common105},"type":"object"}},{"auth":"bearer","constant":"GET_NOTIFICATIONS_COUNT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/notification/getnotifications/type/{type}/id/{id}","pathParams":common.common221,"request":{"additionalProperties":false,"properties":{"refreshTimestamp":common.common220},"type":"object"}},{"auth":"bearer","constant":"NOTIFICATION_UPDATE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/notification/update","request":{"additionalProperties":false,"properties":{"action":{"enum":["seen","read"],"type":"string"},"all":common.common84},"required":["action","all"],"type":"object"}},{"auth":"bearer","constant":"REMOVE_ALL_NOTIFICATIONS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/notification/removeall"},{"auth":"bearer","constant":"MARK_NOTIFICATION_AS_READ","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/notification/marknotificationasread","request":common.common121},{"auth":"none","constant":"ACTIVITYPUB_SEARCH","contentType":"application/x-www-form-urlencoded","method":"GET","params":[common.common20],"path":"/api/activitypub/search?address={address}","pathParams":{"additionalProperties":false,"properties":{"address":common.common1},"required":["address"],"type":"object"}},{"auth":"bearer","constant":"ACTIVITYPUB_LINK","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/api/activitypub/link","request":{"additionalProperties":false,"properties":{"action":{"enum":["undo_follow","accept_invitation","reject_invitation","undo_accept","undo_request_follow","follow","remove_follow","accept_follower","reject_follower","remove_follower","remove_invitation"],"type":"string"},"actor":{"additionalProperties":false,"properties":{"id":common.common1,"name":common.common1,"type":{"enum":["person"],"type":"string"}},"required":["id","type","name"],"type":"object"},"payload":common.common4},"required":["action","payload","actor"],"type":"object"}},{"auth":"none","constant":"ACTIVITYPUB_GET_COMMUNITY","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/api/activitypub/getcommunity/userId/${userId}/type/${type}/actor/person","pathParams":{"additionalProperties":false,"properties":{"type":{"enum":["follows","followers"],"type":"string"},"userId":common.common11},"required":["userId","type"],"type":"object"}},{"auth":"none","constant":"GET_BADGE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/app/page/type/badges/id/{id}/json/true","pathParams":common.common121},{"auth":"none","constant":"GET_EMETTEUR_BADGES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/app/badge/json/true"},{"auth":"bearer","constant":"ADD_BADGES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":false,"properties":{"collection":common.common224,"criteria":{"additionalProperties":false,"properties":{"narrative":common.common1},"required":["narrative"],"type":"object"},"description":common.common1,"id":common.common11,"isParcours":common.common122,"issuer":{"additionalProperties":false,"patternProperties":{"^(?:[a-f0-9]{24}|@userId)$":{"additionalProperties":false,"properties":{"name":common.common1,"type":{"enum":["citoyens","organizations","projects"],"type":"string"}},"required":["type"],"type":"object"}},"type":"object"},"key":common.common225,"name":common.common1,"parent":{"additionalProperties":false,"patternProperties":{"^[a-f0-9]{24}$":{"additionalProperties":false,"properties":{"name":common.common1,"type":common.common224},"required":["type"],"type":"object"}},"type":"object"},"preferences":common.common210,"public":common.common104,"scope":common.common138,"tags":common.common31},"required":["id","collection","key","name","public","scope","issuer","criteria"],"type":"object"}},{"auth":"bearer","constant":"ASSIGN_BADGES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/badges/assign","request":{"additionalProperties":false,"properties":{"award":{"patternProperties":{"^[0-9a-f]{24}$":common.common56},"type":"object"},"badgeId":common.common11,"collection":common.common224,"evidences":{"items":{"additionalProperties":false,"properties":{"narative":common.common1,"url":common.common4},"required":["narative"],"type":"object"},"type":"array"},"key":common.common225,"narative":common.common1,"scope":common.common138},"required":["key","collection","badgeId","award"],"type":"object"}},{"auth":"none","constant":"GET_EVENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/agenda","request":{"additionalProperties":false,"properties":{"count":common.common122,"countType":{"const":["events"],"default":["events"],"type":"array"},"endDateUTC":common.common218,"fediverse":common.common122,"indexMin":common.common105,"indexStep":{"default":100,"type":"integer"},"locality":{"patternProperties":{"^[^\\s]+$":{"type":"object"}},"type":"object"},"name":common.common1,"searchType":{"const":["events"],"default":["events"],"items":common.common1,"type":"array"},"startDate":common.common83,"startDateUTC":common.common218,"type":common.common63},"required":["searchType","indexMin","indexStep","startDate","startDateUTC","fediverse"],"type":"object"}},{"auth":"bearer","constant":"SHARE_EVENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/share","request":{"additionalProperties":false,"else":common.common123,"if":common.common125,"properties":{"childId":common.common11,"childType":common.common68,"comment":common.common1,"connectType":common.common127,"parentId":common.common11,"parentType":common.common217},"required":["parentId","childId","childType","connectType","parentType"],"then":common.common128,"type":"object"}},{"auth":"bearer","constant":"INVITE_EVENT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/multiconnect","request":{"additionalProperties":false,"else":common.common98,"if":common.common100,"properties":{"listInvite":{"additionalProperties":false,"minProperties":1,"properties":{"citoyens":common.common226,"invites":{"patternProperties":{"^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$":{"additionalProperties":false,"properties":{"email":common.common2,"isAdmin":common.common230,"msg":common.common1,"name":common.common1,"roles":common.common31},"required":["name","email"],"type":"object"}},"type":"object"},"organizations":common.common226,"projects":common.common226},"type":"object"},"parentId":common.common1,"parentType":common.common68},"required":["parentId","parentType","listInvite"],"then":common.common102,"type":"object"}},{"auth":"bearer","constant":"FOLLOW","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/follow","request":{"additionalProperties":false,"properties":{"childId":common.common205,"childType":common.common206,"parentId":common.common11,"parentType":common.common207},"required":["childId","childType","parentType","parentId"],"type":"object"}},{"auth":"none","constant":"GET_COSTUM_JSON","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/cms/getcostumjson?slug={slug}","pathParams":{"slug":common.common1}},{"auth":"none","constant":"GLOBAL_AUTOCOMPLETE_COSTUM","contentType":"application/x-www-form-urlencoded","functionCocostum":"globalautocomplete","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common231,"costumEditMode":common.common122,"costumSlug":common.common1,"count":common.common84,"countType":common.common232,"fediverse":common.common122,"fields":common.common31,"filters":common.common234,"indexMax":common.common83,"indexMin":common.common139,"indexStep":common.common140,"initType":common.common138,"locality":common.common141,"mapUsed":common.common193,"name":common.common1,"notSourceKey":common.common193,"options":common.common236,"ranges":common.common146,"searchBy":common.common150,"searchTags":common.common31,"searchType":common.common232,"sortBy":common.common240,"sourceKey":common.common31},"required":["searchType","countType","indexMin","indexStep","initType","count","fediverse","costumSlug","costumEditMode"],"type":"object"}},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_ACTORS","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestActors","method":"POST","path":"/costum/coevent/get_events/request/actors/id/{id}/type/{type}","pathParams":common.common242,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common231,"costumEditMode":common.common122,"costumSlug":common.common1,"parent_only":common.common3,"sourceKey":common.common31,"types":{"items":{"enum":["organizer","links.attendees","creator","links.creator","links.organizer","organizerName","animator"],"type":"string"},"type":"array"}},"type":"object"}},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_SUBEVENTS","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestSubevents","method":"POST","path":"/costum/coevent/get_events/request/subevents/id/{id}/type/{type}","pathParams":common.common242,"request":{"additionalProperties":false,"allOf":[{"if":{"properties":{"date":common.common1},"required":["date"]},"then":{"required":["timezone"]}}],"properties":{"contextId":common.common11,"contextType":common.common231,"costumEditMode":common.common122,"costumSlug":common.common1,"date":{"oneOf":[common.common1,{"properties":{"between":{"properties":{"end":common.common43,"start":common.common43},"required":["start","end"],"type":"object"}},"required":["between"],"type":"object"}]},"fromToday":common.common3,"regions":common.common245,"sourceKey":common.common31,"tags":common.common31,"timezone":common.common1,"type":common.common1},"type":"object"}},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_ELEMENT_EVENT","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestElementEvent","method":"POST","path":"/costum/coevent/get_events/request/element_event/id/{id}/type/{type}","pathParams":common.common242,"request":common.common248},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_CATEGORIES","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestCategories","method":"POST","path":"/costum/coevent/get_events/request/categories/id/{id}/type/{type}","pathParams":common.common242,"request":common.common248},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_DATES","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestDates","method":"POST","path":"/costum/coevent/get_events/request/dates/id/{id}/type/{type}","pathParams":common.common242,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common231,"costumEditMode":common.common122,"costumSlug":common.common1,"regions":common.common245,"sourceKey":common.common31,"tags":common.common31,"type":common.common1},"type":"object"}},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_EVENT","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestEvent","method":"POST","path":"/costum/coevent/get_events/request/event/id/{id}/type/{type}","pathParams":common.common242,"request":common.common248},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_LINK_TL_TO_EVENT","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestLinkTlToEvent","method":"POST","path":"/costum/coevent/get_events/request/link_tl_to_event/id/{id}/type/{type}","pathParams":common.common242,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common231,"costumEditMode":common.common122,"costumSlug":common.common1,"event":common.common1,"sourceKey":common.common31,"tl":common.common1},"required":["tl","event"],"type":"object"}},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_LOAD_CONTEXT_TAG","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestLoadContextTag","method":"POST","path":"/costum/coevent/get_events/request/load_context_tag/id/{id}/type/{type}","pathParams":common.common242,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common231,"costumEditMode":common.common122,"costumSlug":common.common1,"event":common.common11,"search":common.common1,"sourceKey":common.common31},"type":"object"}},{"auth":"none","constant":"GET_GALLERY","contentType":"application/x-www-form-urlencoded","functionCocostum":"","method":"POST","path":"/co2/gallery/index/type/{type}/id/{id}/docType/{docType}/tpl/json","pathParams":{"additionalProperties":false,"else":common.common69,"if":common.common90,"properties":{"docType":{"default":"image","enum":["image","file","bookmarks"],"type":"string"},"id":common.common1,"type":common.common186},"required":["id","type","docType"],"then":common.common86,"type":"object"},"request":{"additionalProperties":false,"properties":{"contentKey":common.common1,"folderId":common.common1},"type":"object"}},{"auth":"none","constant":"GET_ATTENDEES_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common175,"fediverse":common.common137,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.events\\.(?:[a-f0-9]{24}|@\\w+)$)"}}},{"not":{"propertyNames":{"pattern":"^(?!links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$)"}}}],"patternProperties":{"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)$":common.common155,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common155,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common155,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common170,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common172,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common164},"type":"object"},"indexMax":common.common83,"indexMin":common.common139,"indexStep":common.common140,"initType":common.common138,"locality":common.common138,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common146,"searchBy":common.common150,"searchType":common.common175},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_ATTENDEES_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/events/id/{id}/canSee/true","pathParams":common.common121,"request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common175,"fediverse":common.common137,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"}}}],"default":{"links.events.@{pathParams.id}":common.common154,"links.events.@{pathParams.id}.isInviting":common.common163,"links.events.@{pathParams.id}.toBeValidated":common.common163},"patternProperties":{"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common155,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common155,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common155,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common170,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common172,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common170},"type":"object"},"indexMax":common.common83,"indexMin":common.common139,"indexStep":common.common140,"initType":common.common138,"locality":common.common138,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common146,"searchBy":common.common150,"searchType":common.common175},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"COFORM_ANSWERS_SEARCH","contentType":"application/x-www-form-urlencoded","functionCocostum":"answerlist","method":"POST","path":"/survey/coform/answerslist","request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common231,"costumEditMode":common.common122,"costumSlug":common.common1,"count":common.common84,"countType":common.common250,"fediverse":common.common122,"fields":common.common31,"filters":common.common234,"indexMax":common.common83,"indexMin":common.common139,"indexStep":common.common140,"initType":common.common138,"locality":common.common141,"mapUsed":common.common193,"name":common.common1,"notSourceKey":common.common193,"options":common.common236,"ranges":common.common146,"searchBy":common.common150,"searchTags":common.common31,"searchType":common.common250,"sortBy":common.common240,"sourceKey":common.common31},"required":["searchType","countType","indexMin","indexStep","initType","count","fediverse"],"type":"object"}},{"auth":"none","constant":"COFORM_ANSWERS_BY_ID","contentType":"application/x-www-form-urlencoded","functionCocostum":"findanswered","method":"POST","path":"/survey/coform/findanswered","request":{"additionalProperties":false,"properties":{"answerId":common.common1,"fields":common.common31,"finderPath":common.common10},"required":["answerId"],"type":"object"}},{"auth":"bearer","constant":"ADD_VOTE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/action/addaction","request":{"additionalProperties":false,"properties":{"action":{"const":"vote","default":"vote","type":"string"},"collection":common.common252,"details":{"additionalProperties":false,"properties":{"status":common.common1},"required":["status"],"type":"object"},"id":common.common11},"required":["id","collection","action","details"],"type":"object"}},{"auth":"bearer","constant":"ADD_REPORT_ABUSE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/action/addaction","request":{"additionalProperties":false,"properties":{"action":{"const":"reportAbuse","default":"reportAbuse","type":"string"},"collection":common.common252,"details":{"additionalProperties":false,"properties":{"comment":common.common1,"reason":common.common1},"required":["reason"],"type":"object"},"id":common.common11},"required":["id","collection","action","details"],"type":"object"}}]};
|
|
2800
|
+
const endpoints = {"endpoints":[{"auth":"none","constant":"PERSON_REGISTER","contentType":"application/x-www-form-urlencoded","generateModule":"UserNoAuth","method":"POST","onlyAuthNone":true,"path":"/co2/person/register","request":{"additionalProperties":false,"properties":{"app":common.common1,"email":common.common2,"isInvitation":common.common3,"mode":common.common1,"name":common.common1,"pendingUserId":common.common1,"pwd":common.common1,"username":common.common1},"required":["name","username","email","pwd"],"type":"object"}},{"auth":"none","constant":"AUTHENTICATE_URL","contentType":"application/json","generateModule":"UserNoAuth","method":"POST","onlyAuthNone":true,"path":"/api/cocolight/authenticate","postActions":[{"path":"accessToken","type":"setToken"},{"path":"refreshToken","type":"setRefreshToken"},{"event":"userLoggedIn","path":"user","type":"emitEvent"}],"request":{"additionalProperties":false,"properties":{"email":common.common2,"password":common.common1},"required":["email","password"],"type":"object"}},{"auth":"none","constant":"REFRESH_TOKEN_URL","contentType":"application/json","method":"POST","path":"/api/cocolight/refreshtoken","request":{"additionalProperties":false,"properties":{"refreshToken":common.common1},"required":["refreshToken"],"type":"object"}},{"auth":"bearer","constant":"ME_INFO_URL","contentType":"application/json","method":"POST","path":"/api/cocolight/me"},{"auth":"none","constant":"PASSWORD_RECOVERY","contentType":"application/x-www-form-urlencoded","generateModule":"UserNoAuth","method":"POST","onlyAuthNone":true,"path":"/co2/person/sendemail","request":{"additionalProperties":false,"properties":{"email":common.common2,"type":{"const":"password","default":"password","type":"string"}},"required":["email","type"],"type":"object"}},{"auth":"bearer","constant":"SERVER_EXCHANGE_TOKEN","contentType":"application/json","method":"POST","path":"/api/cocolight/exchangetoken","request":{"additionalProperties":false,"properties":{"serverUrl":common.common4},"required":["serverUrl"],"type":"object"}},{"auth":"bearer","constant":"CHANGE_PASSWORD","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/person/changepassword","request":{"additionalProperties":false,"properties":{"mode":{"const":"changePassword","default":"changePassword","type":"string"},"newPassword":common.common1,"newPassword2":common.common1,"oldPassword":common.common1,"scope":{"default":"","type":["string"]},"userId":common.common5},"required":["mode","userId","oldPassword","newPassword","newPassword2"],"type":"object"}},{"auth":"bearer","constant":"DELETE_ACCOUNT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/delete/id/{id}/type/citoyens","pathParams":common.common6,"postActions":[{"type":"resetSession"},{"event":"accountDeleted","path":null,"type":"emitEvent"}],"request":common.common8},{"auth":"bearer","constant":"UPDATE_SETTINGS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updatesettings","request":{"additionalProperties":false,"allOf":[{"else":{"properties":{"idEntity":common.common11}},"if":{"properties":{"typeEntity":common.common12}},"then":{"properties":{"idEntity":common.common5}}},{"if":{"properties":{"type":{"enum":["birthDate","email","locality","phone","directory"]},"typeEntity":common.common12}},"then":{"properties":{"value":{"enum":["private","public","mask"],"type":"string"}}}},{"if":{"properties":{"type":{"enum":["activitypub","isOpenData"]},"typeEntity":common.common12}},"then":common.common13},{"if":{"properties":{"type":common.common15,"typeEntity":common.common16}},"then":common.common13},{"if":{"properties":{"type":common.common15,"typeEntity":common.common17}},"then":common.common13},{"if":{"properties":{"type":{"enum":["isOpenData","isOpenEdition","public"]},"typeEntity":common.common18}},"then":common.common13}],"properties":{"idEntity":common.common1,"type":common.common1,"typeEntity":common.common19,"value":common.common20},"required":["type","value","typeEntity","idEntity"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_DESCRIPTION","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"additionalProperties":false,"allOf":[common.common21,{"anyOf":[{"properties":{"description":common.common27},"required":["description"]},{"properties":{"shortDescription":common.common27},"required":["shortDescription"]}]}],"properties":{"block":{"const":"descriptions","default":"descriptions","type":"string"},"descMentions":common.common10,"description":common.common1,"id":common.common1,"scope":{"default":"","type":["string","null"]},"shortDescription":common.common1,"typeElement":common.common29},"required":["block","typeElement","id"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_INFO","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"$defs":{"sharedFields":{"email":common.common2,"name":common.common1,"tags":common.common30,"url":common.common33}},"allOf":[{"if":common.common24,"then":{"additionalProperties":false,"anyOf":[common.common35,{"properties":{"birthDate":common.common27},"required":["birthDate"]},{"properties":{"fixe":common.common27},"required":["fixe"]},{"properties":{"mobile":common.common27},"required":["mobile"]},common.common37,common.common39,common.common41],"properties":{"birthDate":common.common43,"block":common.common44,"email":common.common45,"fixe":common.common1,"id":common.common5,"mobile":common.common1,"name":common.common46,"scope":common.common10,"tags":common.common47,"typeElement":common.common48,"url":common.common49}}},{"if":{"properties":{"typeElement":common.common17}},"then":{"additionalProperties":false,"anyOf":[common.common35,common.common37,common.common39,common.common41,common.common50,common.common52],"properties":{"avancement":{"enum":["abandoned","concept","development","production","started","testing","idea","mature","qa","finished"],"type":"string"},"block":common.common44,"email":common.common45,"id":common.common1,"name":common.common46,"parent":common.common54,"scope":common.common10,"tags":common.common47,"typeElement":{"default":"citoyens","enum":["projects"],"type":"string"},"url":common.common49}}},{"if":{"properties":{"typeElement":common.common18}},"then":{"additionalProperties":false,"anyOf":[common.common35,common.common37,common.common39,common.common41,common.common50,common.common58,{"properties":{"organizer":common.common27},"required":["organizer"]},common.common52],"properties":{"block":common.common44,"email":common.common45,"id":common.common1,"name":common.common46,"organizer":common.common60,"parent":common.common54,"scope":common.common10,"tags":common.common47,"type":common.common63,"typeElement":{"default":"citoyens","enum":["events"],"type":"string"},"url":common.common49}}},{"if":{"properties":{"typeElement":common.common16}},"then":{"additionalProperties":false,"anyOf":[common.common35,common.common37,common.common39,common.common41,common.common58],"properties":{"block":common.common44,"email":common.common45,"id":common.common1,"name":common.common46,"scope":common.common10,"tags":common.common47,"type":common.common64,"typeElement":{"enum":["organizations"],"type":"string"},"url":common.common49}}},{"if":{"properties":{"typeElement":{"const":"poi"}}},"then":{"additionalProperties":false,"anyOf":[common.common35,common.common37,common.common39,common.common41,common.common58,{"properties":{"urls":common.common27},"required":["urls"]}],"properties":{"block":common.common44,"email":common.common45,"id":common.common1,"name":common.common46,"scope":common.common10,"tags":common.common47,"type":common.common65,"typeElement":common.common66,"url":common.common49,"urls":common.common31}}}],"properties":{"block":common.common44,"id":common.common1,"scope":common.common10,"typeElement":common.common29},"required":["block","typeElement","id"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_SOCIAL","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"$defs":{"socialField":{"anyOf":[common.common32,common.common4]}},"allOf":[common.common21,{"anyOf":[{"properties":{"gitlab":common.common27},"required":["gitlab"]},{"properties":{"github":common.common27},"required":["github"]},{"properties":{"twitter":common.common27},"required":["twitter"]},{"properties":{"facebook":common.common27},"required":["facebook"]},{"properties":{"instagram":common.common27},"required":["instagram"]},{"properties":{"diaspora":common.common27},"required":["diaspora"]},{"properties":{"mastodon":common.common27},"required":["mastodon"]},{"properties":{"telegram":common.common27},"required":["telegram"]},{"properties":{"signal":common.common27},"required":["signal"]}]}],"properties":{"block":{"const":"network","default":"network","type":"string"},"diaspora":common.common67,"facebook":common.common67,"github":common.common67,"gitlab":common.common67,"id":common.common1,"instagram":common.common67,"mastodon":common.common67,"scope":common.common10,"signal":common.common67,"telegram":common.common67,"twitter":common.common67,"typeElement":common.common68},"required":["block","typeElement","id"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_LOCALITY","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"else":common.common69,"if":common.common24,"properties":{"address":{"oneOf":[common.common34,common.common72]},"block":{"const":"localities","default":"localities","type":"string"},"geo":{"oneOf":[common.common34,common.common76]},"geoPosition":{"oneOf":[common.common34,common.common80]},"id":common.common1,"scope":common.common10,"typeElement":common.common29},"required":["block","typeElement","id","address"],"then":common.common86,"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_SLUG","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"else":common.common69,"if":common.common24,"properties":{"block":common.common44,"id":common.common1,"scope":common.common10,"slug":common.common89,"typeElement":common.common29},"required":["block","typeElement","id","slug"],"then":common.common86,"type":"object"}},{"auth":"bearer","constant":"CHECK","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/slug/check","request":{"additionalProperties":false,"else":common.common69,"if":common.common90,"properties":{"block":common.common44,"id":common.common1,"slug":common.common89,"type":common.common19},"required":["block","type","id","slug"],"then":common.common86,"type":"object"}},{"auth":"bearer","constant":"PROFIL_IMAGE","contentType":"multipart/form-data","method":"POST","path":"/co2/document/upload-save/dir/communecter/folder/{folder}/ownerId/{ownerId}/input/profil_avatar/contentKey/profil/docType/image","pathParams":common.common92,"request":{"additionalProperties":false,"properties":{"profil_avatar":common.common20},"required":["profil_avatar"],"type":"object"}},{"auth":"bearer","constant":"PROFIL_BANNER","contentType":"multipart/form-data","method":"POST","path":"/co2/document/upload-save/dir/communecter/folder/{folder}/ownerId/{ownerId}/input/banner/docType/image/contentKey/banner","pathParams":common.common92,"request":{"additionalProperties":false,"properties":{"banner":common.common20,"cropH":common.common83,"cropW":common.common83,"cropX":common.common83,"cropY":common.common83,"formOrigin":{"const":"banner","default":"banner"},"parentId":common.common11,"parentType":common.common98},"required":["banner","parentId","parentType","formOrigin","cropW","cropH","cropX","cropY"],"type":"object"}},{"auth":"none","constant":"GET_ELEMENTS_ABOUT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/about/type/{type}/id/{id}/json/true","pathParams":{"additionalProperties":false,"else":common.common69,"if":common.common90,"properties":{"id":common.common1,"type":{"default":"citoyens","enum":["citoyens","projects","organizations","events","poi","badges","answers"],"type":"string"}},"required":["type","id"],"then":common.common86,"type":"object"},"request":{"additionalProperties":false,"properties":{"tpl":{"const":"ficheInfoElement","default":"ficheInfoElement","type":"string"}},"required":["tpl"],"type":"object"}},{"auth":"bearer","constant":"MULTICONNECT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/multiconnect","request":{"additionalProperties":false,"else":common.common101,"if":common.common103,"properties":{"listInvite":{"additionalProperties":false,"patternProperties":{"^(citoyens|projects|organizations)$":{"additionalProperties":false,"patternProperties":{"^[0-9a-fA-F]{24}$":{"additionalProperties":false,"properties":{"name":common.common1},"required":["name"],"type":"object"}},"type":"object"}},"type":"object"},"parentId":common.common1,"parentType":common.common68},"required":["parentId","parentType","listInvite"],"then":common.common105,"type":"object"}},{"auth":"none","constant":"GET_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/get/type/{type}/id/{id}/isLive/{isLive}/json/true","pathParams":{"additionalProperties":false,"else":common.common69,"if":common.common90,"properties":{"id":common.common1,"isLive":common.common107,"type":common.common68},"required":["isLive","type","id"],"then":common.common86,"type":"object"},"request":{"additionalProperties":false,"properties":{"dateLimit":common.common108,"indexStep":{"default":12,"type":"integer"},"search":{"additionalProperties":false,"properties":{"name":common.common10},"required":["name"],"type":"object"}},"required":["dateLimit","indexStep"],"type":"object"}},{"auth":"none","constant":"GET_NEWS_BY_ID","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/getbyids","request":{"additionalProperties":false,"properties":{"ids":{"items":common.common11,"type":"array"}},"required":["ids"],"type":"object"}},{"auth":"bearer","constant":"ADD_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/save","request":{"additionalProperties":false,"anyOf":[common.common109,common.common110,common.common111],"else":common.common101,"if":common.common103,"properties":{"json":common.common84,"markdownActive":common.common107,"mediaFile":common.common112,"mediaImg":common.common114,"mentions":common.common116,"parentId":common.common1,"parentType":common.common68,"scope":common.common120,"tags":common.common30,"text":common.common1,"type":common.common121},"required":["scope","markdownActive","parentId","parentType","type","json"],"then":common.common105,"type":"object"}},{"auth":"bearer","constant":"ADD_IMAGE_NEWS","contentType":"multipart/form-data","method":"POST","path":"/co2/document/uploadSave/dir/communecter/folder/{folder}/ownerId/{ownerId}/input/newsImage/docType/image/contentKey/slider","pathParams":common.common122,"request":{"additionalProperties":false,"properties":{"newsImage":common.common20},"required":["newsImage"],"type":"object"}},{"auth":"bearer","constant":"ADD_FILE_NEWS","contentType":"multipart/form-data","method":"POST","path":"/co2/document/uploadSave/dir/communecter/folder/{folder}/ownerId/{ownerId}/input/newsFile/docType/file","pathParams":common.common122,"request":{"additionalProperties":false,"properties":{"newsFile":common.common20},"required":["newsFile"],"type":"object"}},{"auth":"bearer","constant":"DELETE_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/delete/id/{id}","pathParams":common.common124,"request":{"additionalProperties":false,"properties":{"isLive":common.common125},"required":["isLive"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/update","request":{"additionalProperties":false,"anyOf":[common.common109,common.common110,common.common111],"else":common.common101,"if":common.common103,"properties":{"idNews":common.common11,"markdownActive":common.common107,"mediaFile":common.common112,"mediaImg":common.common114,"mentions":common.common116,"parentId":common.common1,"parentType":common.common68,"scope":common.common120,"tags":common.common30,"text":common.common1,"type":common.common121},"required":["idNews","scope","markdownActive","parentId","parentType","type"],"then":common.common105,"type":"object"}},{"auth":"bearer","constant":"SHARE_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/share","request":{"additionalProperties":false,"else":common.common126,"if":common.common128,"properties":{"childId":common.common11,"childType":common.common68,"comment":common.common1,"connectType":common.common130,"parentId":common.common11,"parentType":common.common121},"required":["parentId","parentType","childId","childType","connectType"],"then":common.common131,"type":"object"}},{"auth":"none","constant":"GET_COMMENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/comment/index/type/{type}/id/{id}/json/true","pathParams":common.common133},{"auth":"bearer","constant":"ADD_COMMENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/comment/save","request":{"additionalProperties":false,"properties":{"argval":common.common10,"contextId":common.common11,"contextType":common.common135,"mentions":common.common136,"parentCommentId":{"default":"","pattern":"^([a-f0-9]{24}|)$","type":"string"},"path":common.common10,"text":common.common1},"required":["text","contextId","contextType"],"type":"object"}},{"auth":"bearer","constant":"DELETE_COMMENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/comment/delete/id/{id}","pathParams":common.common124},{"auth":"bearer","constant":"UPDATE_COMMENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/comment/update","request":{"additionalProperties":false,"properties":{"id":common.common11,"params":{"properties":{"mentions":common.common136,"text":common.common1},"required":["text"],"type":"object"}},"required":["id","params"],"type":"object"}},{"auth":"none","constant":"SEARCH_TAGS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/api/tags/search?q={q}","pathParams":{"additionalProperties":false,"properties":{"q":common.common1},"required":["q"],"type":"object"}},{"auth":"none","constant":"SHOW_VOTE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/action/list/type/{type}/id/{id}/actionType/vote/json/true","pathParams":common.common133},{"auth":"none","constant":"GLOBAL_AUTOCOMPLETE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":{"default":["NGO","LocalBusiness","Group","GovernmentOrganization","Cooperative","projects","citoyens","poi"],"items":common.common139,"type":"array"},"fediverse":common.common140,"filters":common.common141,"indexMax":common.common83,"indexMin":common.common142,"indexStep":common.common143,"initType":common.common141,"locality":common.common144,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common149,"searchBy":common.common153,"searchTags":common.common31,"searchType":{"items":common.common139,"type":"array"}},"required":["name","searchType","countType","indexMin","indexStep","initType","count","notSourceKey","filters","fediverse"],"type":"object"}},{"auth":"none","constant":"CITY_AUTOCOMPLETE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"indexMax":{"minimum":5,"type":"integer"},"indexMin":{"minimum":0,"type":"integer"},"locality":common.common141,"name":common.common1,"searchBy":{"const":"ALL","default":"ALL","type":"string"},"searchType":{"const":["cities"],"default":["cities"],"items":{"enum":["cities"],"type":"string"},"type":"array"}},"required":["name","locality","searchType"],"type":"object"}},{"auth":"none","constant":"CITY_AUTOCOMPLETE_BY_COUNTRY","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/city/autocompletemultiscope","request":{"additionalProperties":false,"properties":{"countryCode":{"default":"FR","type":"string"},"formInMap":common.common125,"scopeValue":common.common1,"type":{"enum":["locality"],"type":"string"}},"required":["type","countryCode","scopeValue","formInMap"],"type":"object"}},{"auth":"none","constant":"SUGGESTION_INPUT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"indexMax":{"default":20,"minimum":20,"type":"integer"},"indexMin":common.common154,"name":common.common1,"searchType":{"items":{"enum":["organizations","projects","poi"],"type":"string"},"type":"array"}},"required":["name","searchType","indexMin","indexMax"],"type":"object"}},{"auth":"none","constant":"GET_PROJECTS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common155,"fediverse":common.common140,"filters":{"additionalProperties":false,"default":{"$or":{"links.contributors.@userId":common.common157,"parent.@userId":common.common157},"links.contributors.@userId":common.common157},"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@\\w+)$":common.common158},"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@\\w+)$":common.common158,"^parent\\.(?:[a-f0-9]{24}|@\\w+)$":common.common158},"type":"object"}},"required":["$or"],"type":"object"},"indexMax":common.common83,"indexMin":common.common142,"indexStep":common.common143,"initType":common.common141,"locality":common.common141,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common149,"searchBy":common.common153,"searchType":common.common155},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_PROJECTS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/{type}/id/{id}/canSee/true","pathParams":common.common161,"request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common155,"fediverse":common.common140,"filters":{"additionalProperties":false,"default":{"$or":{"links.contributors.@{pathParams.id}":common.common157,"parent.@{pathParams.id}":common.common157},"links.contributors.@{pathParams.id}":common.common157},"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common158},"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common158,"^parent\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common158},"type":"object"}},"required":["$or"],"type":"object"},"indexMax":common.common83,"indexMin":common.common142,"indexStep":common.common143,"initType":common.common141,"locality":common.common141,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common149,"searchBy":common.common153,"searchType":common.common155},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_POIS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common163,"fediverse":common.common140,"filters":{"additionalProperties":false,"default":{"parent.@userId":common.common157},"patternProperties":{"^parent\\.(?:[a-f0-9]{24}|@\\w+)$":common.common158},"type":"object"},"indexMax":common.common83,"indexMin":common.common142,"indexStep":common.common143,"initType":common.common141,"locality":common.common141,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common149,"searchBy":common.common153,"searchType":common.common163},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_POIS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/{type}/id/{id}/canSee/true","pathParams":common.common161,"request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common163,"fediverse":common.common140,"filters":{"additionalProperties":false,"default":{"parent.@{pathParams.id}":common.common157},"patternProperties":{"^parent\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common158},"type":"object"},"indexMax":common.common83,"indexMin":common.common142,"indexStep":common.common143,"initType":common.common141,"locality":common.common141,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common149,"searchBy":common.common153,"searchType":common.common163},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_ORGANIZATIONS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common164,"fediverse":common.common140,"filters":{"additionalProperties":false,"default":{"links.members.@userId":common.common157,"links.members.@userId.isInviting":common.common166,"links.members.@userId.toBeValidated":common.common166},"patternProperties":{"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)$":common.common158,"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common167,"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common167},"type":"object"},"indexMax":common.common83,"indexMin":common.common154,"indexStep":common.common170,"initType":common.common141,"locality":common.common141,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common149,"searchBy":common.common153,"searchType":common.common164},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_ORGANIZATIONS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/{type}/id/{id}/canSee/true","pathParams":{"additionalProperties":false,"else":common.common69,"if":common.common90,"properties":{"id":common.common1,"type":{"default":"citoyens","enum":["citoyens","organizations"],"type":"string"}},"required":["type","id"],"then":common.common86,"type":"object"},"request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common164,"fediverse":common.common140,"filters":{"additionalProperties":false,"default":{"links.members.@{pathParams.id}":common.common157,"links.members.@{pathParams.id}.isInviting":common.common166,"links.members.@{pathParams.id}.toBeValidated":common.common166},"patternProperties":{"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common158,"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common167,"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common167},"type":"object"},"indexMax":common.common83,"indexMin":common.common154,"indexStep":common.common170,"initType":common.common141,"locality":common.common141,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common149,"searchBy":common.common153,"searchType":common.common164},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_MEMBERS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common171,"fediverse":common.common140,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)$)"}}},{"not":{"propertyNames":{"pattern":"^(?!links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$)"}}}],"patternProperties":{"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)$":common.common158,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common158,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common158,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common173,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common175,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common167},"type":"object"},"indexMax":common.common83,"indexMin":common.common142,"indexStep":common.common143,"initType":common.common141,"locality":common.common141,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common149,"searchBy":common.common153,"searchType":common.common171},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_MEMBERS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/organizations/id/{id}/canSee/true","pathParams":common.common124,"request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common171,"fediverse":common.common140,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"}}}],"default":{"links.memberOf.@{pathParams.id}":common.common157,"links.memberOf.@{pathParams.id}.isInviting":common.common166,"links.memberOf.@{pathParams.id}.toBeValidated":common.common166},"patternProperties":{"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common158,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common158,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common158,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common173,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common175,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common173},"type":"object"},"indexMax":common.common83,"indexMin":common.common142,"indexStep":common.common143,"initType":common.common141,"locality":common.common141,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common149,"searchBy":common.common153,"searchType":common.common171},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_FRIENDS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/citoyens/id/{id}/canSee/true","pathParams":common.common6,"request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common178,"fediverse":common.common140,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"}}}],"default":{"links.friends.@{pathParams.id}":common.common157,"links.friends.@{pathParams.id}.isInviting":common.common166,"links.friends.@{pathParams.id}.toBeValidated":common.common166},"patternProperties":{"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common158,"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common173,"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common173},"type":"object"},"indexMin":common.common154,"indexStep":common.common170,"initType":common.common141,"locality":common.common141,"name":common.common1,"notSourceKey":common.common84,"searchType":common.common178},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_SUBSCRIPTIONS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common180,"fediverse":common.common140,"filters":{"additionalProperties":false,"allOf":[common.common182],"default":{"links.followers.@userId":common.common157,"links.followers.@{userId}.isInviting":common.common166,"links.followers.@{userId}.toBeValidated":common.common166},"patternProperties":common.common185,"type":"object"},"indexMax":common.common83,"indexMin":common.common142,"indexStep":common.common143,"initType":common.common141,"locality":common.common141,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common149,"searchBy":common.common153,"searchType":common.common180},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_SUBSCRIPTIONS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/citoyens/id/{id}/canSee/true","pathParams":common.common6,"request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common180,"fediverse":common.common140,"filters":{"additionalProperties":false,"allOf":[common.common182],"default":{"links.followers.@{pathParams.id}":common.common157,"links.followers.@{pathParams.id}.isInviting":common.common166,"links.followers.@{pathParams.id}.toBeValidated":common.common166},"patternProperties":common.common185,"type":"object"},"indexMax":common.common83,"indexMin":common.common142,"indexStep":common.common143,"initType":common.common141,"locality":common.common141,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common149,"searchBy":common.common153,"searchType":common.common180},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_SUBSCRIBERS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common178,"fediverse":common.common140,"filters":{"additionalProperties":false,"allOf":[common.common186],"default":{"links.follows.@userId":common.common157,"links.follows.@{userId}.isInviting":common.common166,"links.follows.@{userId}.toBeValidated":common.common166},"patternProperties":{"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common158,"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common167,"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common167},"type":"object"},"indexMax":common.common83,"indexMin":common.common142,"indexStep":common.common143,"initType":common.common141,"locality":common.common141,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common149,"searchBy":common.common153,"searchType":common.common178},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_SUBSCRIBERS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/{type}/id/{id}/canSee/true","pathParams":{"additionalProperties":false,"allOf":[{"else":common.common69,"if":common.common90,"then":common.common86}],"properties":{"id":common.common1,"type":common.common189},"required":["type","id"],"type":"object"},"request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common178,"fediverse":common.common140,"filters":{"additionalProperties":false,"allOf":[common.common186],"default":{"links.follows.@{pathParams.id}":common.common157},"maxProperties":1,"minProperties":1,"patternProperties":{"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common158},"type":"object"},"indexMin":common.common154,"indexStep":common.common170,"initType":common.common141,"locality":common.common141,"name":common.common1,"notSourceKey":common.common84,"searchType":common.common178},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_CONTRIBUTORS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common171,"fediverse":common.common140,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)$)"}}},{"not":{"propertyNames":{"pattern":"^(?!links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$)"}}}],"patternProperties":{"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)$":common.common158,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common158,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common158,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common173,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common175,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common167},"type":"object"},"indexMax":common.common83,"indexMin":common.common142,"indexStep":common.common143,"initType":common.common141,"locality":common.common141,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common149,"searchBy":common.common153,"searchType":common.common171},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_CONTRIBUTORS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/projects/id/{id}/canSee/true","pathParams":common.common124,"request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common171,"fediverse":common.common140,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"}}}],"default":{"links.projects.@{pathParams.id}":common.common157,"links.projects.@{pathParams.id}.isInviting":common.common166,"links.projects.@{pathParams.id}.toBeValidated":common.common166},"patternProperties":{"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common158,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common158,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common158,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common173,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common175,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common173},"type":"object"},"indexMax":common.common83,"indexMin":common.common142,"indexStep":common.common143,"initType":common.common141,"locality":common.common141,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common149,"searchBy":common.common153,"searchType":common.common171},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_BADGES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common190,"fediverse":common.common140,"filters":{"properties":{"$or":{"additionalProperties":false,"minProperties":1,"patternProperties":{"^issuer\\.(?:[a-f0-9]{24}|@\\w+)$":common.common158},"type":"object"},"isParcours":common.common3,"preferences.private":common.common140},"required":["preferences.private"],"type":"object"},"indexMax":common.common83,"indexMin":common.common142,"indexStep":common.common143,"initType":common.common141,"locality":common.common141,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common149,"searchBy":common.common153,"searchType":common.common190},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_BADGES_FILTERS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common192,"fediverse":common.common140,"fields":common.common190,"filters":{"oneOf":[{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)$":common.common194}},{"additionalProperties":false,"maxProperties":3,"minProperties":3,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)$":common.common194,"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteEmetteur$":common.common197,"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteRecepteur$":common.common197}},{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":common.common200},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":common.common200,"type":"object"}},"required":["$or"]},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.revoke$":common.common196}},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteEmetteur$":common.common194}}],"type":"object"},"indexMin":common.common154,"indexStep":common.common170,"initType":common.common141,"locality":common.common141,"name":common.common1,"notSourceKey":common.common84,"ranges":{"additionalProperties":false,"default":{"Cooperative":common.common201,"GovernmentOrganization":common.common201,"Group":common.common201,"LocalBusiness":common.common201,"NGO":common.common201,"citoyens":common.common201,"projects":common.common201},"maxProperties":7,"minProperties":7,"patternProperties":{"^[a-zA-Z][a-zA-Z0-9]*$":common.common151},"type":"object"},"searchType":common.common192},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"CONNECT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/connect","request":{"additionalProperties":false,"allOf":[{"if":common.common103,"then":{"properties":{"connectType":{"const":"friend","default":"friend"}}}},{"if":common.common202,"then":{"properties":{"connectType":{"enum":["admin","member"]}}}},{"if":common.common204,"then":{"properties":{"connectType":{"enum":["admin","contributor"]}}}},{"if":common.common206,"then":{"properties":{"connectType":{"default":"attendee","enum":["attendee","connect"]}}}}],"properties":{"childId":common.common208,"childType":common.common209,"connectType":{"enum":["admin","member","contributor","attendee","friend","connect"],"type":"string"},"parentId":common.common11,"parentType":common.common210},"required":["childId","childType","parentType","parentId","connectType"],"type":"object"}},{"auth":"bearer","constant":"DISCONNECT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/disconnect","request":{"additionalProperties":false,"allOf":[{"if":common.common103,"then":{"properties":{"connectType":{"default":"friends","enum":["friends","followers"]}}}},{"if":common.common202,"then":{"properties":{"connectType":{"default":"members","enum":["members","followers"]}}}},{"if":common.common204,"then":{"properties":{"connectType":{"default":"contributors","enum":["contributors","followers"]}}}},{"if":common.common206,"then":{"properties":{"connectType":{"default":"attendees","enum":["attendees","followers"]}}}}],"properties":{"childId":common.common208,"childType":common.common209,"connectType":{"enum":["members","contributors","attendees","friends","followers"],"type":"string"},"parentId":common.common11,"parentType":common.common210},"required":["childId","childType","parentType","parentId","connectType"],"type":"object"}},{"auth":"none","constant":"GET_ELEMENTS_KEY","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/slug/getinfo/key/{slug}","pathParams":{"additionalProperties":false,"properties":{"slug":{"pattern":"^([a-zA-Z0-9-_]+)$","type":"string"}},"required":["slug"],"type":"object"}},{"auth":"bearer","constant":"GET_FAVORIS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/app/config/type/citoyens/id/{id}/json/true","pathParams":common.common6},{"auth":"bearer","constant":"DELETE_FAVORIS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updatepathvalue?index={index}","pathParams":{"properties":{"index":common.common83},"type":"object"},"request":{"additionalProperties":false,"properties":{"collection":common.common211,"id":common.common212,"path":{"const":"preferences.search.@{pathParams.index}","default":"preferences.search.@{pathParams.index}","type":"string"},"pull":{"const":"preferences.search","type":"string"},"value":common.common141},"required":["id","collection","path","pull","value"],"type":"object"}},{"auth":"bearer","constant":"ADD_FAVORIS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updatepathvalue","request":{"additionalProperties":false,"properties":{"arrayForm":common.common196,"collection":common.common211,"id":common.common212,"path":{"const":"preferences.search","default":"preferences.search","type":"string"},"value":{"additionalProperties":false,"properties":{"description":common.common1,"locality":{"patternProperties":{"^[a-f0-9]{24}$":{"additionalProperties":false,"properties":common.common57,"required":["name","type"]}},"type":"object"},"name":common.common1,"tags":common.common31,"url":common.common1},"required":["url","name"],"type":"object"}},"required":["id","collection","path","arrayForm","value"],"type":"object"}},{"auth":"bearer","constant":"ADD_ORGANIZATION","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":false,"properties":{"address":common.common72,"collection":{"const":"organizations","default":"organizations","type":"string"},"email":common.common2,"geo":common.common76,"geoPosition":common.common80,"id":common.common11,"key":{"const":"organization","default":"organization","type":"string"},"name":{"minLength":3,"type":"string"},"preferences":common.common213,"role":{"enum":["admin","member"],"type":"string"},"scope":common.common141,"shortDescription":common.common1,"tags":common.common31,"type":common.common64,"url":common.common33},"required":["id","collection","key","name","type","role","scope"],"type":"object"}},{"auth":"bearer","constant":"ADD_PROJECT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":false,"properties":{"address":common.common72,"collection":{"const":"projects","default":"projects","type":"string"},"geo":common.common76,"geoPosition":common.common80,"id":common.common11,"key":{"const":"project","default":"project","type":"string"},"name":common.common1,"parent":common.common216,"preferences":{"default":{"crowdfunding":true,"isOpenData":false,"isOpenEdition":false},"properties":{"crowdfunding":common.common107,"isOpenData":common.common125,"isOpenEdition":common.common125},"required":["isOpenData","isOpenEdition"],"type":"object"},"public":common.common107,"scope":common.common141,"shortDescription":common.common1,"tags":common.common31,"url":common.common33},"required":["id","collection","key","parent","name","public","scope"],"type":"object"}},{"auth":"bearer","constant":"ADD_POI","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":false,"properties":{"address":common.common72,"collection":common.common219,"description":common.common1,"geo":common.common76,"geoPosition":common.common80,"id":common.common11,"key":common.common219,"name":common.common1,"parent":common.common216,"scope":common.common141,"tags":common.common31,"type":common.common65,"urls":common.common31},"required":["id","collection","key","parent","type","name"],"type":"object"}},{"auth":"bearer","constant":"ADD_EVENT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":false,"else":{"required":["openingHours"]},"if":{"properties":{"recurrency":common.common169}},"properties":{"address":common.common72,"collection":common.common220,"email":common.common2,"endDate":common.common221,"geo":common.common76,"geoPosition":common.common80,"id":common.common11,"key":{"const":"event","default":"event","type":"string"},"name":{"minLength":2,"type":"string"},"openingHours":{"default":["","","","","","",""],"items":{"anyOf":[common.common34,{"additionalProperties":false,"properties":{"dayOfWeek":{"enum":["Mo","Tu","We","Th","Fr","Sa","Su"],"type":"string"},"hours":{"default":[],"items":{"additionalProperties":false,"properties":{"closes":common.common222,"opens":common.common222},"required":["opens","closes"],"type":"object"},"type":"array"}},"required":["dayOfWeek","hours"],"type":"object"}]},"maxItems":7,"minItems":7,"type":"array"},"organizer":common.common216,"parent":common.common60,"preferences":{"default":{"isOpenData":false,"isOpenEdition":false},"properties":{"isOpenData":common.common125,"isOpenEdition":common.common125},"required":["isOpenData","isOpenEdition"],"type":"object"},"public":common.common107,"recurrency":common.common125,"scope":common.common141,"shortDescription":{"format":"textarea","type":"string"},"startDate":common.common221,"tags":common.common31,"timeZone":common.common1,"type":common.common63,"url":common.common33},"required":["id","collection","key","organizer","type","name","scope"],"startBeforeEnd":true,"then":{"required":["startDate","endDate"]},"type":"object"}},{"auth":"bearer","constant":"DELETE_POI","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/delete/type/poi/id/{id}","pathParams":common.common124,"request":common.common8},{"auth":"bearer","constant":"DELETE_EVENT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/delete/type/events/id/{id}/","pathParams":common.common124,"request":common.common8},{"auth":"bearer","constant":"DELETE_ELEMENT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/delete/type/{type}/id/{id}","pathParams":{"additionalProperties":false,"properties":{"id":common.common11,"type":common.common1},"required":["type","id"],"type":"object"},"request":common.common8},{"auth":"bearer","constant":"ADD_IMAGE_ELEMENT","contentType":"multipart/form-data","method":"POST","path":"/co2/document/upload-save/dir/communecter/folder/{folder}/ownerId/{ownerId}/input/qqfile/docType/image/contentKey/profil","pathParams":{"additionalProperties":false,"properties":{"folder":{"enum":["badges","events"],"type":"string"},"ownerId":common.common11},"required":["folder","ownerId"],"type":"object"},"request":{"additionalProperties":false,"properties":{"qqfile":common.common20,"qqfilename":common.common1,"qqtotalfilesize":common.common223,"qquuid":common.common11},"required":["qquuid","qqfilename","qqtotalfilesize","qqfile"],"type":"object"}},{"auth":"bearer","constant":"LINK_VALIDATE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/validate","request":{"additionalProperties":false,"properties":{"childId":common.common5,"childType":common.common48,"linkOption":{"enum":["isInviting","toBeValidated","isAdminPending"],"type":"string"},"parentId":common.common11,"parentType":common.common210},"required":["childId","childType","parentType","parentId"],"type":"object"}},{"auth":"none","constant":"SEARCH_MEMBER_AUTOCOMPLETE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/searchmemberautocomplete","request":{"additionalProperties":false,"properties":{"search":common.common1,"searchMode":{"default":"personOnly","enum":["personOnly","organizationOnly","mixte"],"type":"string"}},"required":["search","searchMode"],"type":"object"}},{"auth":"bearer","constant":"GET_NOTIFICATIONS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/notification/getnotifications/type/{type}/id/{id}","pathParams":common.common224,"request":{"additionalProperties":false,"properties":{"indexMin":common.common108},"type":"object"}},{"auth":"bearer","constant":"GET_NOTIFICATIONS_COUNT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/notification/getnotifications/type/{type}/id/{id}","pathParams":common.common224,"request":{"additionalProperties":false,"properties":{"refreshTimestamp":common.common223},"type":"object"}},{"auth":"bearer","constant":"NOTIFICATION_UPDATE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/notification/update","request":{"additionalProperties":false,"properties":{"action":{"enum":["seen","read"],"type":"string"},"all":common.common84},"required":["action","all"],"type":"object"}},{"auth":"bearer","constant":"REMOVE_ALL_NOTIFICATIONS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/notification/removeall"},{"auth":"bearer","constant":"MARK_NOTIFICATION_AS_READ","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/notification/marknotificationasread","request":common.common124},{"auth":"none","constant":"ACTIVITYPUB_SEARCH","contentType":"application/x-www-form-urlencoded","method":"GET","params":[common.common20],"path":"/api/activitypub/search?address={address}","pathParams":{"additionalProperties":false,"properties":{"address":common.common1},"required":["address"],"type":"object"}},{"auth":"bearer","constant":"ACTIVITYPUB_LINK","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/api/activitypub/link","request":{"additionalProperties":false,"properties":{"action":{"enum":["undo_follow","accept_invitation","reject_invitation","undo_accept","undo_request_follow","follow","remove_follow","accept_follower","reject_follower","remove_follower","remove_invitation"],"type":"string"},"actor":{"additionalProperties":false,"properties":{"id":common.common1,"name":common.common1,"type":{"enum":["person"],"type":"string"}},"required":["id","type","name"],"type":"object"},"payload":common.common4},"required":["action","payload","actor"],"type":"object"}},{"auth":"none","constant":"ACTIVITYPUB_GET_COMMUNITY","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/api/activitypub/getcommunity/userId/${userId}/type/${type}/actor/person","pathParams":{"additionalProperties":false,"properties":{"type":{"enum":["follows","followers"],"type":"string"},"userId":common.common11},"required":["userId","type"],"type":"object"}},{"auth":"none","constant":"GET_BADGE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/app/page/type/badges/id/{id}/json/true","pathParams":common.common124},{"auth":"none","constant":"GET_EMETTEUR_BADGES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/app/badge/json/true"},{"auth":"bearer","constant":"ADD_BADGES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":false,"properties":{"collection":common.common227,"criteria":{"additionalProperties":false,"properties":{"narrative":common.common1},"required":["narrative"],"type":"object"},"description":common.common1,"id":common.common11,"isParcours":common.common125,"issuer":{"additionalProperties":false,"patternProperties":{"^(?:[a-f0-9]{24}|@userId)$":{"additionalProperties":false,"properties":{"name":common.common1,"type":{"enum":["citoyens","organizations","projects"],"type":"string"}},"required":["type"],"type":"object"}},"type":"object"},"key":common.common228,"name":common.common1,"parent":{"additionalProperties":false,"patternProperties":{"^[a-f0-9]{24}$":{"additionalProperties":false,"properties":{"name":common.common1,"type":common.common227},"required":["type"],"type":"object"}},"type":"object"},"preferences":common.common213,"public":common.common107,"scope":common.common141,"tags":common.common31},"required":["id","collection","key","name","public","scope","issuer","criteria"],"type":"object"}},{"auth":"bearer","constant":"ASSIGN_BADGES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/badges/assign","request":{"additionalProperties":false,"properties":{"award":{"patternProperties":{"^[0-9a-f]{24}$":common.common56},"type":"object"},"badgeId":common.common11,"collection":common.common227,"evidences":{"items":{"additionalProperties":false,"properties":{"narative":common.common1,"url":common.common4},"required":["narative"],"type":"object"},"type":"array"},"key":common.common228,"narative":common.common1,"scope":common.common141},"required":["key","collection","badgeId","award"],"type":"object"}},{"auth":"none","constant":"GET_EVENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/agenda","request":{"additionalProperties":false,"properties":{"count":common.common125,"countType":{"const":["events"],"default":["events"],"type":"array"},"endDateUTC":common.common221,"fediverse":common.common125,"indexMin":common.common108,"indexStep":{"default":100,"type":"integer"},"locality":{"patternProperties":{"^[^\\s]+$":{"type":"object"}},"type":"object"},"name":common.common1,"searchType":{"const":["events"],"default":["events"],"items":common.common1,"type":"array"},"startDate":common.common83,"startDateUTC":common.common221,"type":common.common63},"required":["searchType","indexMin","indexStep","startDate","startDateUTC","fediverse"],"type":"object"}},{"auth":"bearer","constant":"SHARE_EVENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/share","request":{"additionalProperties":false,"else":common.common126,"if":common.common128,"properties":{"childId":common.common11,"childType":common.common68,"comment":common.common1,"connectType":common.common130,"parentId":common.common11,"parentType":common.common220},"required":["parentId","childId","childType","connectType","parentType"],"then":common.common131,"type":"object"}},{"auth":"bearer","constant":"INVITE_EVENT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/multiconnect","request":{"additionalProperties":false,"else":common.common101,"if":common.common103,"properties":{"listInvite":{"additionalProperties":false,"minProperties":1,"properties":{"citoyens":common.common229,"invites":{"patternProperties":{"^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$":{"additionalProperties":false,"properties":{"email":common.common2,"isAdmin":common.common233,"msg":common.common1,"name":common.common1,"roles":common.common31},"required":["name","email"],"type":"object"}},"type":"object"},"organizations":common.common229,"projects":common.common229},"type":"object"},"parentId":common.common1,"parentType":common.common68},"required":["parentId","parentType","listInvite"],"then":common.common105,"type":"object"}},{"auth":"bearer","constant":"FOLLOW","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/follow","request":{"additionalProperties":false,"properties":{"childId":common.common208,"childType":common.common209,"parentId":common.common11,"parentType":common.common210},"required":["childId","childType","parentType","parentId"],"type":"object"}},{"auth":"none","constant":"GET_COSTUM_JSON","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/cms/getcostumjson?slug={slug}","pathParams":{"slug":common.common1}},{"auth":"none","constant":"GLOBAL_AUTOCOMPLETE_COSTUM","contentType":"application/x-www-form-urlencoded","functionCocostum":"globalautocomplete","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common234,"costumEditMode":common.common125,"costumSlug":common.common1,"count":common.common84,"countType":common.common235,"fediverse":common.common125,"fields":common.common31,"filters":common.common237,"indexMax":common.common83,"indexMin":common.common142,"indexStep":common.common143,"initType":common.common141,"locality":common.common144,"mapUsed":common.common196,"name":common.common1,"notSourceKey":common.common196,"options":common.common239,"ranges":common.common149,"searchBy":common.common153,"searchTags":common.common31,"searchType":common.common235,"sortBy":common.common243,"sourceKey":common.common31},"required":["searchType","countType","indexMin","indexStep","initType","count","fediverse","costumSlug","costumEditMode"],"type":"object"}},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_ACTORS","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestActors","method":"POST","path":"/costum/coevent/get_events/request/actors/id/{id}/type/{type}","pathParams":common.common245,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common234,"costumEditMode":common.common125,"costumSlug":common.common1,"parent_only":common.common3,"sourceKey":common.common31,"types":{"items":{"enum":["organizer","links.attendees","creator","links.creator","links.organizer","organizerName","animator"],"type":"string"},"type":"array"}},"type":"object"}},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_SUBEVENTS","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestSubevents","method":"POST","path":"/costum/coevent/get_events/request/subevents/id/{id}/type/{type}","pathParams":common.common245,"request":{"additionalProperties":false,"allOf":[{"if":{"properties":{"date":common.common1},"required":["date"]},"then":{"required":["timezone"]}}],"properties":{"contextId":common.common11,"contextType":common.common234,"costumEditMode":common.common125,"costumSlug":common.common1,"date":{"oneOf":[common.common1,{"properties":{"between":{"properties":{"end":common.common43,"start":common.common43},"required":["start","end"],"type":"object"}},"required":["between"],"type":"object"}]},"fromToday":common.common3,"regions":common.common248,"sourceKey":common.common31,"tags":common.common31,"timezone":common.common1,"type":common.common1},"type":"object"}},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_ELEMENT_EVENT","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestElementEvent","method":"POST","path":"/costum/coevent/get_events/request/element_event/id/{id}/type/{type}","pathParams":common.common245,"request":common.common251},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_CATEGORIES","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestCategories","method":"POST","path":"/costum/coevent/get_events/request/categories/id/{id}/type/{type}","pathParams":common.common245,"request":common.common251},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_DATES","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestDates","method":"POST","path":"/costum/coevent/get_events/request/dates/id/{id}/type/{type}","pathParams":common.common245,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common234,"costumEditMode":common.common125,"costumSlug":common.common1,"regions":common.common248,"sourceKey":common.common31,"tags":common.common31,"type":common.common1},"type":"object"}},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_EVENT","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestEvent","method":"POST","path":"/costum/coevent/get_events/request/event/id/{id}/type/{type}","pathParams":common.common245,"request":common.common251},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_LINK_TL_TO_EVENT","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestLinkTlToEvent","method":"POST","path":"/costum/coevent/get_events/request/link_tl_to_event/id/{id}/type/{type}","pathParams":common.common245,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common234,"costumEditMode":common.common125,"costumSlug":common.common1,"event":common.common1,"sourceKey":common.common31,"tl":common.common1},"required":["tl","event"],"type":"object"}},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_LOAD_CONTEXT_TAG","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestLoadContextTag","method":"POST","path":"/costum/coevent/get_events/request/load_context_tag/id/{id}/type/{type}","pathParams":common.common245,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common234,"costumEditMode":common.common125,"costumSlug":common.common1,"event":common.common11,"search":common.common1,"sourceKey":common.common31},"type":"object"}},{"auth":"none","constant":"GET_GALLERY","contentType":"application/x-www-form-urlencoded","functionCocostum":"","method":"POST","path":"/co2/gallery/index/type/{type}/id/{id}/docType/{docType}/tpl/json","pathParams":{"additionalProperties":false,"else":common.common69,"if":common.common90,"properties":{"docType":{"default":"image","enum":["image","file","bookmarks"],"type":"string"},"id":common.common1,"type":common.common189},"required":["id","type","docType"],"then":common.common86,"type":"object"},"request":{"additionalProperties":false,"properties":{"contentKey":common.common1,"folderId":common.common1},"type":"object"}},{"auth":"none","constant":"GET_ATTENDEES_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common178,"fediverse":common.common140,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.events\\.(?:[a-f0-9]{24}|@\\w+)$)"}}},{"not":{"propertyNames":{"pattern":"^(?!links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$)"}}}],"patternProperties":{"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)$":common.common158,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common158,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common158,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common173,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common175,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common167},"type":"object"},"indexMax":common.common83,"indexMin":common.common142,"indexStep":common.common143,"initType":common.common141,"locality":common.common141,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common149,"searchBy":common.common153,"searchType":common.common178},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_ATTENDEES_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/events/id/{id}/canSee/true","pathParams":common.common124,"request":{"additionalProperties":false,"properties":{"count":common.common84,"countType":common.common178,"fediverse":common.common140,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"}}}],"default":{"links.events.@{pathParams.id}":common.common157,"links.events.@{pathParams.id}.isInviting":common.common166,"links.events.@{pathParams.id}.toBeValidated":common.common166},"patternProperties":{"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common158,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common158,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common158,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common173,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common175,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common173},"type":"object"},"indexMax":common.common83,"indexMin":common.common142,"indexStep":common.common143,"initType":common.common141,"locality":common.common141,"name":common.common1,"notSourceKey":common.common84,"ranges":common.common149,"searchBy":common.common153,"searchType":common.common178},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"COFORM_ANSWERS_SEARCH","contentType":"application/x-www-form-urlencoded","functionCocostum":"answerlist","method":"POST","path":"/survey/coform/answerslist","request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common234,"costumEditMode":common.common125,"costumSlug":common.common1,"count":common.common84,"countType":common.common253,"fediverse":common.common125,"fields":common.common31,"filters":common.common237,"indexMax":common.common83,"indexMin":common.common142,"indexStep":common.common143,"initType":common.common141,"locality":common.common144,"mapUsed":common.common196,"name":common.common1,"notSourceKey":common.common196,"options":common.common239,"ranges":common.common149,"searchBy":common.common153,"searchTags":common.common31,"searchType":common.common253,"sortBy":common.common243,"sourceKey":common.common31},"required":["searchType","countType","indexMin","indexStep","initType","count","fediverse"],"type":"object"}},{"auth":"none","constant":"COFORM_ANSWERS_BY_ID","contentType":"application/x-www-form-urlencoded","functionCocostum":"findanswered","method":"POST","path":"/survey/coform/findanswered","request":{"additionalProperties":false,"properties":{"answerId":common.common1,"fields":common.common31,"finderPath":common.common10},"required":["answerId"],"type":"object"}},{"auth":"bearer","constant":"ADD_VOTE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/action/addaction","request":{"additionalProperties":false,"properties":{"action":{"const":"vote","default":"vote","type":"string"},"collection":common.common255,"details":{"additionalProperties":false,"properties":{"status":common.common1},"required":["status"],"type":"object"},"id":common.common11},"required":["id","collection","action","details"],"type":"object"}},{"auth":"bearer","constant":"ADD_REPORT_ABUSE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/action/addaction","request":{"additionalProperties":false,"properties":{"action":{"const":"reportAbuse","default":"reportAbuse","type":"string"},"collection":common.common255,"details":{"additionalProperties":false,"properties":{"comment":common.common1,"reason":common.common1},"required":["reason"],"type":"object"},"id":common.common11},"required":["id","collection","action","details"],"type":"object"}}]};
|
|
2728
2801
|
|
|
2729
2802
|
export default endpoints;
|