@communecter/cocolight-api-client 1.0.142 → 1.0.144
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 +1 -1
- 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/ApiClient.ts +2 -2
- package/src/api/BaseEntity.ts +12 -0
- package/src/api/EndpointApi.ts +80 -1
- package/src/api/EndpointApi.types.ts +305 -0
- package/src/api/Form.ts +43 -1
- package/src/api/Organization.ts +77 -8
- package/src/api/Poi.ts +101 -1
- package/src/api/Project.ts +10 -7
- package/src/api/User.ts +54 -0
- package/src/api/serverDataType/Form.ts +21 -0
- package/src/endpoints.module.ts +225 -106
- package/types/api/EndpointApi.d.ts +50 -1
- package/types/api/EndpointApi.types.d.ts +295 -0
- package/types/api/Form.d.ts +28 -1
- package/types/api/Organization.d.ts +38 -0
- package/types/api/Poi.d.ts +36 -0
- package/types/api/User.d.ts +15 -1
- package/types/api/serverDataType/Form.d.ts +20 -0
- package/types/endpoints.module.d.ts +7140 -1106
package/src/endpoints.module.ts
CHANGED
|
@@ -1928,6 +1928,94 @@ const common = {
|
|
|
1928
1928
|
"type": "integer"
|
|
1929
1929
|
},
|
|
1930
1930
|
"common175": {
|
|
1931
|
+
"additionalProperties": false,
|
|
1932
|
+
"else": {
|
|
1933
|
+
"properties": {
|
|
1934
|
+
"id": {
|
|
1935
|
+
"pattern": "^[a-f0-9]{24}$"
|
|
1936
|
+
}
|
|
1937
|
+
}
|
|
1938
|
+
},
|
|
1939
|
+
"if": {
|
|
1940
|
+
"properties": {
|
|
1941
|
+
"type": {
|
|
1942
|
+
"const": "citoyens"
|
|
1943
|
+
}
|
|
1944
|
+
}
|
|
1945
|
+
},
|
|
1946
|
+
"properties": {
|
|
1947
|
+
"id": {
|
|
1948
|
+
"type": "string"
|
|
1949
|
+
},
|
|
1950
|
+
"type": {
|
|
1951
|
+
"default": "citoyens",
|
|
1952
|
+
"enum": [
|
|
1953
|
+
"citoyens",
|
|
1954
|
+
"organizations"
|
|
1955
|
+
],
|
|
1956
|
+
"type": "string"
|
|
1957
|
+
}
|
|
1958
|
+
},
|
|
1959
|
+
"required": [
|
|
1960
|
+
"type",
|
|
1961
|
+
"id"
|
|
1962
|
+
],
|
|
1963
|
+
"then": {
|
|
1964
|
+
"properties": {
|
|
1965
|
+
"id": {
|
|
1966
|
+
"default": "@userId",
|
|
1967
|
+
"pattern": "^(?:[a-f0-9]{24}|@userId)$"
|
|
1968
|
+
}
|
|
1969
|
+
}
|
|
1970
|
+
},
|
|
1971
|
+
"type": "object"
|
|
1972
|
+
},
|
|
1973
|
+
"common176": {
|
|
1974
|
+
"id": {
|
|
1975
|
+
"type": "string"
|
|
1976
|
+
},
|
|
1977
|
+
"type": {
|
|
1978
|
+
"default": "citoyens",
|
|
1979
|
+
"enum": [
|
|
1980
|
+
"citoyens",
|
|
1981
|
+
"organizations"
|
|
1982
|
+
],
|
|
1983
|
+
"type": "string"
|
|
1984
|
+
}
|
|
1985
|
+
},
|
|
1986
|
+
"common177": {
|
|
1987
|
+
"default": "citoyens",
|
|
1988
|
+
"enum": [
|
|
1989
|
+
"citoyens",
|
|
1990
|
+
"organizations"
|
|
1991
|
+
],
|
|
1992
|
+
"type": "string"
|
|
1993
|
+
},
|
|
1994
|
+
"common178": {
|
|
1995
|
+
"links.members.@{pathParams.id}": {
|
|
1996
|
+
"$exists": true
|
|
1997
|
+
},
|
|
1998
|
+
"links.members.@{pathParams.id}.isInviting": {
|
|
1999
|
+
"$exists": false
|
|
2000
|
+
},
|
|
2001
|
+
"links.members.@{pathParams.id}.toBeValidated": {
|
|
2002
|
+
"$exists": false
|
|
2003
|
+
}
|
|
2004
|
+
},
|
|
2005
|
+
"common179": {
|
|
2006
|
+
"default": [
|
|
2007
|
+
"NGO",
|
|
2008
|
+
"Cooperative",
|
|
2009
|
+
"LocalBusiness",
|
|
2010
|
+
"Group",
|
|
2011
|
+
"GovernmentOrganization"
|
|
2012
|
+
],
|
|
2013
|
+
"items": {
|
|
2014
|
+
"type": "string"
|
|
2015
|
+
},
|
|
2016
|
+
"type": "array"
|
|
2017
|
+
},
|
|
2018
|
+
"common180": {
|
|
1931
2019
|
"default": [
|
|
1932
2020
|
"citoyens",
|
|
1933
2021
|
"NGO",
|
|
@@ -1949,7 +2037,7 @@ const common = {
|
|
|
1949
2037
|
},
|
|
1950
2038
|
"type": "array"
|
|
1951
2039
|
},
|
|
1952
|
-
"
|
|
2040
|
+
"common181": {
|
|
1953
2041
|
"enum": [
|
|
1954
2042
|
"citoyens",
|
|
1955
2043
|
"NGO",
|
|
@@ -1960,7 +2048,7 @@ const common = {
|
|
|
1960
2048
|
],
|
|
1961
2049
|
"type": "string"
|
|
1962
2050
|
},
|
|
1963
|
-
"
|
|
2051
|
+
"common182": {
|
|
1964
2052
|
"additionalProperties": false,
|
|
1965
2053
|
"properties": {
|
|
1966
2054
|
"$exists": {
|
|
@@ -1973,13 +2061,13 @@ const common = {
|
|
|
1973
2061
|
],
|
|
1974
2062
|
"type": "object"
|
|
1975
2063
|
},
|
|
1976
|
-
"
|
|
2064
|
+
"common183": {
|
|
1977
2065
|
"$exists": {
|
|
1978
2066
|
"default": false,
|
|
1979
2067
|
"type": "boolean"
|
|
1980
2068
|
}
|
|
1981
2069
|
},
|
|
1982
|
-
"
|
|
2070
|
+
"common184": {
|
|
1983
2071
|
"additionalProperties": false,
|
|
1984
2072
|
"properties": {
|
|
1985
2073
|
"$in": {
|
|
@@ -1995,7 +2083,7 @@ const common = {
|
|
|
1995
2083
|
],
|
|
1996
2084
|
"type": "object"
|
|
1997
2085
|
},
|
|
1998
|
-
"
|
|
2086
|
+
"common185": {
|
|
1999
2087
|
"$in": {
|
|
2000
2088
|
"items": {
|
|
2001
2089
|
"type": "string"
|
|
@@ -2004,7 +2092,7 @@ const common = {
|
|
|
2004
2092
|
"type": "array"
|
|
2005
2093
|
}
|
|
2006
2094
|
},
|
|
2007
|
-
"
|
|
2095
|
+
"common186": {
|
|
2008
2096
|
"default": [
|
|
2009
2097
|
"citoyens",
|
|
2010
2098
|
"NGO",
|
|
@@ -2027,7 +2115,7 @@ const common = {
|
|
|
2027
2115
|
"minItems": 1,
|
|
2028
2116
|
"type": "array"
|
|
2029
2117
|
},
|
|
2030
|
-
"
|
|
2118
|
+
"common187": {
|
|
2031
2119
|
"const": [
|
|
2032
2120
|
"citoyens"
|
|
2033
2121
|
],
|
|
@@ -2042,13 +2130,13 @@ const common = {
|
|
|
2042
2130
|
},
|
|
2043
2131
|
"type": "array"
|
|
2044
2132
|
},
|
|
2045
|
-
"
|
|
2133
|
+
"common188": {
|
|
2046
2134
|
"enum": [
|
|
2047
2135
|
"citoyens"
|
|
2048
2136
|
],
|
|
2049
2137
|
"type": "string"
|
|
2050
2138
|
},
|
|
2051
|
-
"
|
|
2139
|
+
"common189": {
|
|
2052
2140
|
"const": [
|
|
2053
2141
|
"citoyens",
|
|
2054
2142
|
"NGO",
|
|
@@ -2081,7 +2169,7 @@ const common = {
|
|
|
2081
2169
|
},
|
|
2082
2170
|
"type": "array"
|
|
2083
2171
|
},
|
|
2084
|
-
"
|
|
2172
|
+
"common190": {
|
|
2085
2173
|
"enum": [
|
|
2086
2174
|
"citoyens",
|
|
2087
2175
|
"NGO",
|
|
@@ -2093,22 +2181,22 @@ const common = {
|
|
|
2093
2181
|
],
|
|
2094
2182
|
"type": "string"
|
|
2095
2183
|
},
|
|
2096
|
-
"
|
|
2184
|
+
"common191": {
|
|
2097
2185
|
"not": {
|
|
2098
2186
|
"propertyNames": {
|
|
2099
2187
|
"pattern": "^(?!links\\.followers\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
|
|
2100
2188
|
}
|
|
2101
2189
|
}
|
|
2102
2190
|
},
|
|
2103
|
-
"
|
|
2191
|
+
"common192": {
|
|
2104
2192
|
"propertyNames": {
|
|
2105
2193
|
"pattern": "^(?!links\\.followers\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
|
|
2106
2194
|
}
|
|
2107
2195
|
},
|
|
2108
|
-
"
|
|
2196
|
+
"common193": {
|
|
2109
2197
|
"pattern": "^(?!links\\.followers\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
|
|
2110
2198
|
},
|
|
2111
|
-
"
|
|
2199
|
+
"common194": {
|
|
2112
2200
|
"^links\\.followers\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$": {
|
|
2113
2201
|
"additionalProperties": false,
|
|
2114
2202
|
"properties": {
|
|
@@ -2146,22 +2234,22 @@ const common = {
|
|
|
2146
2234
|
"type": "object"
|
|
2147
2235
|
}
|
|
2148
2236
|
},
|
|
2149
|
-
"
|
|
2237
|
+
"common195": {
|
|
2150
2238
|
"not": {
|
|
2151
2239
|
"propertyNames": {
|
|
2152
2240
|
"pattern": "^(?!links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
|
|
2153
2241
|
}
|
|
2154
2242
|
}
|
|
2155
2243
|
},
|
|
2156
|
-
"
|
|
2244
|
+
"common196": {
|
|
2157
2245
|
"propertyNames": {
|
|
2158
2246
|
"pattern": "^(?!links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
|
|
2159
2247
|
}
|
|
2160
2248
|
},
|
|
2161
|
-
"
|
|
2249
|
+
"common197": {
|
|
2162
2250
|
"pattern": "^(?!links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
|
|
2163
2251
|
},
|
|
2164
|
-
"
|
|
2252
|
+
"common198": {
|
|
2165
2253
|
"default": "citoyens",
|
|
2166
2254
|
"enum": [
|
|
2167
2255
|
"citoyens",
|
|
@@ -2170,7 +2258,7 @@ const common = {
|
|
|
2170
2258
|
],
|
|
2171
2259
|
"type": "string"
|
|
2172
2260
|
},
|
|
2173
|
-
"
|
|
2261
|
+
"common199": {
|
|
2174
2262
|
"const": [
|
|
2175
2263
|
"badges"
|
|
2176
2264
|
],
|
|
@@ -2185,13 +2273,13 @@ const common = {
|
|
|
2185
2273
|
},
|
|
2186
2274
|
"type": "array"
|
|
2187
2275
|
},
|
|
2188
|
-
"
|
|
2276
|
+
"common200": {
|
|
2189
2277
|
"enum": [
|
|
2190
2278
|
"badges"
|
|
2191
2279
|
],
|
|
2192
2280
|
"type": "string"
|
|
2193
2281
|
},
|
|
2194
|
-
"
|
|
2282
|
+
"common201": {
|
|
2195
2283
|
"const": [
|
|
2196
2284
|
"citoyens",
|
|
2197
2285
|
"projects",
|
|
@@ -2224,7 +2312,7 @@ const common = {
|
|
|
2224
2312
|
},
|
|
2225
2313
|
"type": "array"
|
|
2226
2314
|
},
|
|
2227
|
-
"
|
|
2315
|
+
"common202": {
|
|
2228
2316
|
"enum": [
|
|
2229
2317
|
"citoyens",
|
|
2230
2318
|
"projects",
|
|
@@ -2236,7 +2324,7 @@ const common = {
|
|
|
2236
2324
|
],
|
|
2237
2325
|
"type": "string"
|
|
2238
2326
|
},
|
|
2239
|
-
"
|
|
2327
|
+
"common203": {
|
|
2240
2328
|
"additionalProperties": false,
|
|
2241
2329
|
"properties": {
|
|
2242
2330
|
"$exists": {
|
|
@@ -2249,17 +2337,17 @@ const common = {
|
|
|
2249
2337
|
],
|
|
2250
2338
|
"type": "object"
|
|
2251
2339
|
},
|
|
2252
|
-
"
|
|
2340
|
+
"common204": {
|
|
2253
2341
|
"$exists": {
|
|
2254
2342
|
"const": true,
|
|
2255
2343
|
"type": "boolean"
|
|
2256
2344
|
}
|
|
2257
2345
|
},
|
|
2258
|
-
"
|
|
2346
|
+
"common205": {
|
|
2259
2347
|
"const": true,
|
|
2260
2348
|
"type": "boolean"
|
|
2261
2349
|
},
|
|
2262
|
-
"
|
|
2350
|
+
"common206": {
|
|
2263
2351
|
"additionalProperties": false,
|
|
2264
2352
|
"properties": {
|
|
2265
2353
|
"$exists": {
|
|
@@ -2272,17 +2360,17 @@ const common = {
|
|
|
2272
2360
|
],
|
|
2273
2361
|
"type": "object"
|
|
2274
2362
|
},
|
|
2275
|
-
"
|
|
2363
|
+
"common207": {
|
|
2276
2364
|
"$exists": {
|
|
2277
2365
|
"const": false,
|
|
2278
2366
|
"type": "boolean"
|
|
2279
2367
|
}
|
|
2280
2368
|
},
|
|
2281
|
-
"
|
|
2369
|
+
"common208": {
|
|
2282
2370
|
"const": false,
|
|
2283
2371
|
"type": "boolean"
|
|
2284
2372
|
},
|
|
2285
|
-
"
|
|
2373
|
+
"common209": {
|
|
2286
2374
|
"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteEmetteur$": {
|
|
2287
2375
|
"additionalProperties": false,
|
|
2288
2376
|
"properties": {
|
|
@@ -2310,52 +2398,52 @@ const common = {
|
|
|
2310
2398
|
"type": "object"
|
|
2311
2399
|
}
|
|
2312
2400
|
},
|
|
2313
|
-
"
|
|
2401
|
+
"common210": {
|
|
2314
2402
|
"indexMax": 30,
|
|
2315
2403
|
"indexMin": 0
|
|
2316
2404
|
},
|
|
2317
|
-
"
|
|
2405
|
+
"common211": {
|
|
2318
2406
|
"properties": {
|
|
2319
2407
|
"parentType": {
|
|
2320
2408
|
"const": "organizations"
|
|
2321
2409
|
}
|
|
2322
2410
|
}
|
|
2323
2411
|
},
|
|
2324
|
-
"
|
|
2412
|
+
"common212": {
|
|
2325
2413
|
"parentType": {
|
|
2326
2414
|
"const": "organizations"
|
|
2327
2415
|
}
|
|
2328
2416
|
},
|
|
2329
|
-
"
|
|
2417
|
+
"common213": {
|
|
2330
2418
|
"properties": {
|
|
2331
2419
|
"parentType": {
|
|
2332
2420
|
"const": "projects"
|
|
2333
2421
|
}
|
|
2334
2422
|
}
|
|
2335
2423
|
},
|
|
2336
|
-
"
|
|
2424
|
+
"common214": {
|
|
2337
2425
|
"parentType": {
|
|
2338
2426
|
"const": "projects"
|
|
2339
2427
|
}
|
|
2340
2428
|
},
|
|
2341
|
-
"
|
|
2429
|
+
"common215": {
|
|
2342
2430
|
"properties": {
|
|
2343
2431
|
"parentType": {
|
|
2344
2432
|
"const": "events"
|
|
2345
2433
|
}
|
|
2346
2434
|
}
|
|
2347
2435
|
},
|
|
2348
|
-
"
|
|
2436
|
+
"common216": {
|
|
2349
2437
|
"parentType": {
|
|
2350
2438
|
"const": "events"
|
|
2351
2439
|
}
|
|
2352
2440
|
},
|
|
2353
|
-
"
|
|
2441
|
+
"common217": {
|
|
2354
2442
|
"default": "@userId",
|
|
2355
2443
|
"pattern": "^([a-f0-9]{24}|@\\w+)$",
|
|
2356
2444
|
"type": "string"
|
|
2357
2445
|
},
|
|
2358
|
-
"
|
|
2446
|
+
"common218": {
|
|
2359
2447
|
"const": "citoyens",
|
|
2360
2448
|
"default": "citoyens",
|
|
2361
2449
|
"enum": [
|
|
@@ -2363,7 +2451,7 @@ const common = {
|
|
|
2363
2451
|
],
|
|
2364
2452
|
"type": "string"
|
|
2365
2453
|
},
|
|
2366
|
-
"
|
|
2454
|
+
"common219": {
|
|
2367
2455
|
"enum": [
|
|
2368
2456
|
"citoyens",
|
|
2369
2457
|
"organizations",
|
|
@@ -2372,22 +2460,22 @@ const common = {
|
|
|
2372
2460
|
],
|
|
2373
2461
|
"type": "string"
|
|
2374
2462
|
},
|
|
2375
|
-
"
|
|
2463
|
+
"common220": {
|
|
2376
2464
|
"const": "citoyens",
|
|
2377
2465
|
"default": "citoyens",
|
|
2378
2466
|
"type": "string"
|
|
2379
2467
|
},
|
|
2380
|
-
"
|
|
2468
|
+
"common221": {
|
|
2381
2469
|
"const": "@userId",
|
|
2382
2470
|
"default": "@userId",
|
|
2383
2471
|
"pattern": "^(?:[a-f0-9]{24}|@userId)$",
|
|
2384
2472
|
"type": "string"
|
|
2385
2473
|
},
|
|
2386
|
-
"
|
|
2474
|
+
"common222": {
|
|
2387
2475
|
"minLength": 3,
|
|
2388
2476
|
"type": "string"
|
|
2389
2477
|
},
|
|
2390
|
-
"
|
|
2478
|
+
"common223": {
|
|
2391
2479
|
"enum": [
|
|
2392
2480
|
"Mo",
|
|
2393
2481
|
"Tu",
|
|
@@ -2399,7 +2487,7 @@ const common = {
|
|
|
2399
2487
|
],
|
|
2400
2488
|
"type": "string"
|
|
2401
2489
|
},
|
|
2402
|
-
"
|
|
2490
|
+
"common224": {
|
|
2403
2491
|
"additionalProperties": false,
|
|
2404
2492
|
"properties": {
|
|
2405
2493
|
"closes": {
|
|
@@ -2417,7 +2505,7 @@ const common = {
|
|
|
2417
2505
|
],
|
|
2418
2506
|
"type": "object"
|
|
2419
2507
|
},
|
|
2420
|
-
"
|
|
2508
|
+
"common225": {
|
|
2421
2509
|
"closes": {
|
|
2422
2510
|
"pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
|
|
2423
2511
|
"type": "string"
|
|
@@ -2427,11 +2515,11 @@ const common = {
|
|
|
2427
2515
|
"type": "string"
|
|
2428
2516
|
}
|
|
2429
2517
|
},
|
|
2430
|
-
"
|
|
2518
|
+
"common226": {
|
|
2431
2519
|
"pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
|
|
2432
2520
|
"type": "string"
|
|
2433
2521
|
},
|
|
2434
|
-
"
|
|
2522
|
+
"common227": {
|
|
2435
2523
|
"default": {
|
|
2436
2524
|
"isOpenData": true,
|
|
2437
2525
|
"isOpenEdition": true
|
|
@@ -2452,11 +2540,11 @@ const common = {
|
|
|
2452
2540
|
],
|
|
2453
2541
|
"type": "object"
|
|
2454
2542
|
},
|
|
2455
|
-
"
|
|
2543
|
+
"common228": {
|
|
2456
2544
|
"isOpenData": true,
|
|
2457
2545
|
"isOpenEdition": true
|
|
2458
2546
|
},
|
|
2459
|
-
"
|
|
2547
|
+
"common229": {
|
|
2460
2548
|
"isOpenData": {
|
|
2461
2549
|
"default": true,
|
|
2462
2550
|
"type": "boolean"
|
|
@@ -2466,12 +2554,43 @@ const common = {
|
|
|
2466
2554
|
"type": "boolean"
|
|
2467
2555
|
}
|
|
2468
2556
|
},
|
|
2469
|
-
"
|
|
2557
|
+
"common230": {
|
|
2558
|
+
"properties": {
|
|
2559
|
+
"insertOrign": {
|
|
2560
|
+
"type": "string"
|
|
2561
|
+
},
|
|
2562
|
+
"key": {
|
|
2563
|
+
"type": "string"
|
|
2564
|
+
},
|
|
2565
|
+
"keys": {
|
|
2566
|
+
"items": {
|
|
2567
|
+
"type": "string"
|
|
2568
|
+
},
|
|
2569
|
+
"type": "array"
|
|
2570
|
+
}
|
|
2571
|
+
},
|
|
2572
|
+
"type": "object"
|
|
2573
|
+
},
|
|
2574
|
+
"common231": {
|
|
2575
|
+
"insertOrign": {
|
|
2576
|
+
"type": "string"
|
|
2577
|
+
},
|
|
2578
|
+
"key": {
|
|
2579
|
+
"type": "string"
|
|
2580
|
+
},
|
|
2581
|
+
"keys": {
|
|
2582
|
+
"items": {
|
|
2583
|
+
"type": "string"
|
|
2584
|
+
},
|
|
2585
|
+
"type": "array"
|
|
2586
|
+
}
|
|
2587
|
+
},
|
|
2588
|
+
"common232": {
|
|
2470
2589
|
"const": "projects",
|
|
2471
2590
|
"default": "projects",
|
|
2472
2591
|
"type": "string"
|
|
2473
2592
|
},
|
|
2474
|
-
"
|
|
2593
|
+
"common233": {
|
|
2475
2594
|
"additionalProperties": false,
|
|
2476
2595
|
"default": {
|
|
2477
2596
|
"@userId": {
|
|
@@ -2497,32 +2616,32 @@ const common = {
|
|
|
2497
2616
|
},
|
|
2498
2617
|
"type": "object"
|
|
2499
2618
|
},
|
|
2500
|
-
"
|
|
2619
|
+
"common234": {
|
|
2501
2620
|
"@userId": {
|
|
2502
2621
|
"type": "citoyens"
|
|
2503
2622
|
}
|
|
2504
2623
|
},
|
|
2505
|
-
"
|
|
2624
|
+
"common235": {
|
|
2506
2625
|
"type": "citoyens"
|
|
2507
2626
|
},
|
|
2508
|
-
"
|
|
2627
|
+
"common236": {
|
|
2509
2628
|
"const": "poi",
|
|
2510
2629
|
"default": "poi",
|
|
2511
2630
|
"type": "string"
|
|
2512
2631
|
},
|
|
2513
|
-
"
|
|
2632
|
+
"common237": {
|
|
2514
2633
|
"const": "events",
|
|
2515
2634
|
"default": "events",
|
|
2516
2635
|
"type": "string"
|
|
2517
2636
|
},
|
|
2518
|
-
"
|
|
2637
|
+
"common238": {
|
|
2519
2638
|
"format": "date-time",
|
|
2520
2639
|
"type": "string"
|
|
2521
2640
|
},
|
|
2522
|
-
"
|
|
2641
|
+
"common239": {
|
|
2523
2642
|
"type": "integer"
|
|
2524
2643
|
},
|
|
2525
|
-
"
|
|
2644
|
+
"common240": {
|
|
2526
2645
|
"additionalProperties": false,
|
|
2527
2646
|
"properties": {
|
|
2528
2647
|
"id": {
|
|
@@ -2542,7 +2661,7 @@ const common = {
|
|
|
2542
2661
|
],
|
|
2543
2662
|
"type": "object"
|
|
2544
2663
|
},
|
|
2545
|
-
"
|
|
2664
|
+
"common241": {
|
|
2546
2665
|
"id": {
|
|
2547
2666
|
"default": "@userId",
|
|
2548
2667
|
"pattern": "^[a-f0-9]{24}$",
|
|
@@ -2554,22 +2673,22 @@ const common = {
|
|
|
2554
2673
|
"type": "string"
|
|
2555
2674
|
}
|
|
2556
2675
|
},
|
|
2557
|
-
"
|
|
2676
|
+
"common242": {
|
|
2558
2677
|
"default": "@userId",
|
|
2559
2678
|
"pattern": "^[a-f0-9]{24}$",
|
|
2560
2679
|
"type": "string"
|
|
2561
2680
|
},
|
|
2562
|
-
"
|
|
2681
|
+
"common243": {
|
|
2563
2682
|
"const": "badges",
|
|
2564
2683
|
"default": "badges",
|
|
2565
2684
|
"type": "string"
|
|
2566
2685
|
},
|
|
2567
|
-
"
|
|
2686
|
+
"common244": {
|
|
2568
2687
|
"const": "badge",
|
|
2569
2688
|
"default": "badge",
|
|
2570
2689
|
"type": "string"
|
|
2571
2690
|
},
|
|
2572
|
-
"
|
|
2691
|
+
"common245": {
|
|
2573
2692
|
"patternProperties": {
|
|
2574
2693
|
"^[0-9a-f]{24}$": {
|
|
2575
2694
|
"additionalProperties": false,
|
|
@@ -2600,7 +2719,7 @@ const common = {
|
|
|
2600
2719
|
},
|
|
2601
2720
|
"type": "object"
|
|
2602
2721
|
},
|
|
2603
|
-
"
|
|
2722
|
+
"common246": {
|
|
2604
2723
|
"^[0-9a-f]{24}$": {
|
|
2605
2724
|
"additionalProperties": false,
|
|
2606
2725
|
"properties": {
|
|
@@ -2628,7 +2747,7 @@ const common = {
|
|
|
2628
2747
|
"type": "object"
|
|
2629
2748
|
}
|
|
2630
2749
|
},
|
|
2631
|
-
"
|
|
2750
|
+
"common247": {
|
|
2632
2751
|
"additionalProperties": false,
|
|
2633
2752
|
"properties": {
|
|
2634
2753
|
"isAdmin": {
|
|
@@ -2654,7 +2773,7 @@ const common = {
|
|
|
2654
2773
|
],
|
|
2655
2774
|
"type": "object"
|
|
2656
2775
|
},
|
|
2657
|
-
"
|
|
2776
|
+
"common248": {
|
|
2658
2777
|
"isAdmin": {
|
|
2659
2778
|
"default": "",
|
|
2660
2779
|
"enum": [
|
|
@@ -2673,7 +2792,7 @@ const common = {
|
|
|
2673
2792
|
"type": "array"
|
|
2674
2793
|
}
|
|
2675
2794
|
},
|
|
2676
|
-
"
|
|
2795
|
+
"common249": {
|
|
2677
2796
|
"default": "",
|
|
2678
2797
|
"enum": [
|
|
2679
2798
|
"",
|
|
@@ -2681,7 +2800,7 @@ const common = {
|
|
|
2681
2800
|
],
|
|
2682
2801
|
"type": "string"
|
|
2683
2802
|
},
|
|
2684
|
-
"
|
|
2803
|
+
"common250": {
|
|
2685
2804
|
"additionalProperties": false,
|
|
2686
2805
|
"properties": {
|
|
2687
2806
|
"contextId": {
|
|
@@ -2999,7 +3118,7 @@ const common = {
|
|
|
2999
3118
|
],
|
|
3000
3119
|
"type": "object"
|
|
3001
3120
|
},
|
|
3002
|
-
"
|
|
3121
|
+
"common251": {
|
|
3003
3122
|
"contextId": {
|
|
3004
3123
|
"pattern": "^[a-f0-9]{24}$",
|
|
3005
3124
|
"type": "string"
|
|
@@ -3302,14 +3421,14 @@ const common = {
|
|
|
3302
3421
|
"type": "array"
|
|
3303
3422
|
}
|
|
3304
3423
|
},
|
|
3305
|
-
"
|
|
3424
|
+
"common252": {
|
|
3306
3425
|
"enum": [
|
|
3307
3426
|
"projects",
|
|
3308
3427
|
"organizations"
|
|
3309
3428
|
],
|
|
3310
3429
|
"type": "string"
|
|
3311
3430
|
},
|
|
3312
|
-
"
|
|
3431
|
+
"common253": {
|
|
3313
3432
|
"items": {
|
|
3314
3433
|
"enum": [
|
|
3315
3434
|
"NGO",
|
|
@@ -3330,7 +3449,7 @@ const common = {
|
|
|
3330
3449
|
},
|
|
3331
3450
|
"type": "array"
|
|
3332
3451
|
},
|
|
3333
|
-
"
|
|
3452
|
+
"common254": {
|
|
3334
3453
|
"enum": [
|
|
3335
3454
|
"NGO",
|
|
3336
3455
|
"LocalBusiness",
|
|
@@ -3348,7 +3467,7 @@ const common = {
|
|
|
3348
3467
|
],
|
|
3349
3468
|
"type": "string"
|
|
3350
3469
|
},
|
|
3351
|
-
"
|
|
3470
|
+
"common255": {
|
|
3352
3471
|
"default": "",
|
|
3353
3472
|
"oneOf": [
|
|
3354
3473
|
{
|
|
@@ -3361,11 +3480,11 @@ const common = {
|
|
|
3361
3480
|
}
|
|
3362
3481
|
]
|
|
3363
3482
|
},
|
|
3364
|
-
"
|
|
3483
|
+
"common256": {
|
|
3365
3484
|
"additionalProperties": true,
|
|
3366
3485
|
"type": "object"
|
|
3367
3486
|
},
|
|
3368
|
-
"
|
|
3487
|
+
"common257": {
|
|
3369
3488
|
"oneOf": [
|
|
3370
3489
|
{
|
|
3371
3490
|
"additionalProperties": false,
|
|
@@ -3464,7 +3583,7 @@ const common = {
|
|
|
3464
3583
|
}
|
|
3465
3584
|
]
|
|
3466
3585
|
},
|
|
3467
|
-
"
|
|
3586
|
+
"common258": {
|
|
3468
3587
|
"additionalProperties": false,
|
|
3469
3588
|
"patternProperties": {
|
|
3470
3589
|
"^[^\\s]+$": {
|
|
@@ -3511,7 +3630,7 @@ const common = {
|
|
|
3511
3630
|
},
|
|
3512
3631
|
"type": "object"
|
|
3513
3632
|
},
|
|
3514
|
-
"
|
|
3633
|
+
"common259": {
|
|
3515
3634
|
"^[^\\s]+$": {
|
|
3516
3635
|
"additionalProperties": false,
|
|
3517
3636
|
"properties": {
|
|
@@ -3554,7 +3673,7 @@ const common = {
|
|
|
3554
3673
|
"type": "object"
|
|
3555
3674
|
}
|
|
3556
3675
|
},
|
|
3557
|
-
"
|
|
3676
|
+
"common260": {
|
|
3558
3677
|
"additionalProperties": false,
|
|
3559
3678
|
"properties": {
|
|
3560
3679
|
"countryCode": {
|
|
@@ -3595,7 +3714,7 @@ const common = {
|
|
|
3595
3714
|
],
|
|
3596
3715
|
"type": "object"
|
|
3597
3716
|
},
|
|
3598
|
-
"
|
|
3717
|
+
"common261": {
|
|
3599
3718
|
"countryCode": {
|
|
3600
3719
|
"type": "string"
|
|
3601
3720
|
},
|
|
@@ -3628,7 +3747,7 @@ const common = {
|
|
|
3628
3747
|
"type": "string"
|
|
3629
3748
|
}
|
|
3630
3749
|
},
|
|
3631
|
-
"
|
|
3750
|
+
"common262": {
|
|
3632
3751
|
"enum": [
|
|
3633
3752
|
"cities",
|
|
3634
3753
|
"cp",
|
|
@@ -3641,7 +3760,7 @@ const common = {
|
|
|
3641
3760
|
],
|
|
3642
3761
|
"type": "string"
|
|
3643
3762
|
},
|
|
3644
|
-
"
|
|
3763
|
+
"common263": {
|
|
3645
3764
|
"items": {
|
|
3646
3765
|
"additionalProperties": false,
|
|
3647
3766
|
"properties": {
|
|
@@ -3685,7 +3804,7 @@ const common = {
|
|
|
3685
3804
|
},
|
|
3686
3805
|
"type": "array"
|
|
3687
3806
|
},
|
|
3688
|
-
"
|
|
3807
|
+
"common264": {
|
|
3689
3808
|
"additionalProperties": true,
|
|
3690
3809
|
"properties": {
|
|
3691
3810
|
"tags": {
|
|
@@ -3700,7 +3819,7 @@ const common = {
|
|
|
3700
3819
|
},
|
|
3701
3820
|
"type": "object"
|
|
3702
3821
|
},
|
|
3703
|
-
"
|
|
3822
|
+
"common265": {
|
|
3704
3823
|
"tags": {
|
|
3705
3824
|
"additionalProperties": true,
|
|
3706
3825
|
"properties": {
|
|
@@ -3711,7 +3830,7 @@ const common = {
|
|
|
3711
3830
|
"type": "object"
|
|
3712
3831
|
}
|
|
3713
3832
|
},
|
|
3714
|
-
"
|
|
3833
|
+
"common266": {
|
|
3715
3834
|
"additionalProperties": true,
|
|
3716
3835
|
"properties": {
|
|
3717
3836
|
"verb": {
|
|
@@ -3720,12 +3839,12 @@ const common = {
|
|
|
3720
3839
|
},
|
|
3721
3840
|
"type": "object"
|
|
3722
3841
|
},
|
|
3723
|
-
"
|
|
3842
|
+
"common267": {
|
|
3724
3843
|
"verb": {
|
|
3725
3844
|
"type": "string"
|
|
3726
3845
|
}
|
|
3727
3846
|
},
|
|
3728
|
-
"
|
|
3847
|
+
"common268": {
|
|
3729
3848
|
"additionalProperties": {
|
|
3730
3849
|
"enum": [
|
|
3731
3850
|
1,
|
|
@@ -3735,14 +3854,14 @@ const common = {
|
|
|
3735
3854
|
},
|
|
3736
3855
|
"type": "object"
|
|
3737
3856
|
},
|
|
3738
|
-
"
|
|
3857
|
+
"common269": {
|
|
3739
3858
|
"enum": [
|
|
3740
3859
|
1,
|
|
3741
3860
|
-1
|
|
3742
3861
|
],
|
|
3743
3862
|
"type": "integer"
|
|
3744
3863
|
},
|
|
3745
|
-
"
|
|
3864
|
+
"common270": {
|
|
3746
3865
|
"additionalProperties": false,
|
|
3747
3866
|
"properties": {
|
|
3748
3867
|
"id": {
|
|
@@ -3760,7 +3879,7 @@ const common = {
|
|
|
3760
3879
|
],
|
|
3761
3880
|
"type": "object"
|
|
3762
3881
|
},
|
|
3763
|
-
"
|
|
3882
|
+
"common271": {
|
|
3764
3883
|
"id": {
|
|
3765
3884
|
"pattern": "^[a-f0-9]{24}$",
|
|
3766
3885
|
"type": "string"
|
|
@@ -3770,11 +3889,11 @@ const common = {
|
|
|
3770
3889
|
"type": "string"
|
|
3771
3890
|
}
|
|
3772
3891
|
},
|
|
3773
|
-
"
|
|
3892
|
+
"common272": {
|
|
3774
3893
|
"default": "events",
|
|
3775
3894
|
"type": "string"
|
|
3776
3895
|
},
|
|
3777
|
-
"
|
|
3896
|
+
"common273": {
|
|
3778
3897
|
"items": {
|
|
3779
3898
|
"properties": {
|
|
3780
3899
|
"id": {
|
|
@@ -3788,7 +3907,7 @@ const common = {
|
|
|
3788
3907
|
},
|
|
3789
3908
|
"type": "array"
|
|
3790
3909
|
},
|
|
3791
|
-
"
|
|
3910
|
+
"common274": {
|
|
3792
3911
|
"properties": {
|
|
3793
3912
|
"id": {
|
|
3794
3913
|
"type": "string"
|
|
@@ -3799,12 +3918,12 @@ const common = {
|
|
|
3799
3918
|
],
|
|
3800
3919
|
"type": "object"
|
|
3801
3920
|
},
|
|
3802
|
-
"
|
|
3921
|
+
"common275": {
|
|
3803
3922
|
"id": {
|
|
3804
3923
|
"type": "string"
|
|
3805
3924
|
}
|
|
3806
3925
|
},
|
|
3807
|
-
"
|
|
3926
|
+
"common276": {
|
|
3808
3927
|
"additionalProperties": false,
|
|
3809
3928
|
"properties": {
|
|
3810
3929
|
"contextId": {
|
|
@@ -3848,7 +3967,7 @@ const common = {
|
|
|
3848
3967
|
},
|
|
3849
3968
|
"type": "object"
|
|
3850
3969
|
},
|
|
3851
|
-
"
|
|
3970
|
+
"common277": {
|
|
3852
3971
|
"contextId": {
|
|
3853
3972
|
"pattern": "^[a-f0-9]{24}$",
|
|
3854
3973
|
"type": "string"
|
|
@@ -3888,7 +4007,7 @@ const common = {
|
|
|
3888
4007
|
"type": "array"
|
|
3889
4008
|
}
|
|
3890
4009
|
},
|
|
3891
|
-
"
|
|
4010
|
+
"common278": {
|
|
3892
4011
|
"items": {
|
|
3893
4012
|
"enum": [
|
|
3894
4013
|
"answers"
|
|
@@ -3897,24 +4016,24 @@ const common = {
|
|
|
3897
4016
|
},
|
|
3898
4017
|
"type": "array"
|
|
3899
4018
|
},
|
|
3900
|
-
"
|
|
4019
|
+
"common279": {
|
|
3901
4020
|
"enum": [
|
|
3902
4021
|
"answers"
|
|
3903
4022
|
],
|
|
3904
4023
|
"type": "string"
|
|
3905
4024
|
},
|
|
3906
|
-
"
|
|
4025
|
+
"common280": {
|
|
3907
4026
|
"enum": [
|
|
3908
4027
|
"comments",
|
|
3909
4028
|
"news"
|
|
3910
4029
|
],
|
|
3911
4030
|
"type": "string"
|
|
3912
4031
|
},
|
|
3913
|
-
"
|
|
4032
|
+
"common281": {
|
|
3914
4033
|
"minLength": 1,
|
|
3915
4034
|
"type": "string"
|
|
3916
4035
|
},
|
|
3917
|
-
"
|
|
4036
|
+
"common282": {
|
|
3918
4037
|
"default": "citoyens",
|
|
3919
4038
|
"enum": [
|
|
3920
4039
|
"citoyens",
|
|
@@ -3925,10 +4044,10 @@ const common = {
|
|
|
3925
4044
|
],
|
|
3926
4045
|
"type": "string"
|
|
3927
4046
|
},
|
|
3928
|
-
"
|
|
4047
|
+
"common283": {
|
|
3929
4048
|
"type": "array"
|
|
3930
4049
|
},
|
|
3931
|
-
"
|
|
4050
|
+
"common284": {
|
|
3932
4051
|
"additionalProperties": true,
|
|
3933
4052
|
"properties": {
|
|
3934
4053
|
"costumId": {
|
|
@@ -3952,7 +4071,7 @@ const common = {
|
|
|
3952
4071
|
],
|
|
3953
4072
|
"type": "object"
|
|
3954
4073
|
},
|
|
3955
|
-
"
|
|
4074
|
+
"common285": {
|
|
3956
4075
|
"costumId": {
|
|
3957
4076
|
"type": "string"
|
|
3958
4077
|
},
|
|
@@ -3966,7 +4085,7 @@ const common = {
|
|
|
3966
4085
|
"type": "string"
|
|
3967
4086
|
}
|
|
3968
4087
|
},
|
|
3969
|
-
"
|
|
4088
|
+
"common286": {
|
|
3970
4089
|
"additionalProperties": true,
|
|
3971
4090
|
"properties": {
|
|
3972
4091
|
"costumId": {
|
|
@@ -3986,7 +4105,7 @@ const common = {
|
|
|
3986
4105
|
],
|
|
3987
4106
|
"type": "object"
|
|
3988
4107
|
},
|
|
3989
|
-
"
|
|
4108
|
+
"common287": {
|
|
3990
4109
|
"costumId": {
|
|
3991
4110
|
"type": "string"
|
|
3992
4111
|
},
|
|
@@ -4000,6 +4119,6 @@ const common = {
|
|
|
4000
4119
|
};
|
|
4001
4120
|
|
|
4002
4121
|
// Endpoints avec intégration des définitions communes
|
|
4003
|
-
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,"emailNullable":common.common30,"name":common.common1,"tags":common.common32,"url":common.common35}},"allOf":[{"if":common.common24,"then":{"additionalProperties":false,"anyOf":[common.common36,{"properties":{"birthDate":common.common27},"required":["birthDate"]},{"properties":{"fixe":common.common27},"required":["fixe"]},{"properties":{"mobile":common.common27},"required":["mobile"]},common.common38,common.common40,common.common42],"properties":{"birthDate":{"anyOf":[common.common44,common.common31]},"block":common.common45,"email":{"$ref":"#/$defs/sharedFields/email"},"fixe":common.common46,"id":common.common5,"mobile":common.common46,"name":common.common47,"scope":common.common10,"tags":common.common48,"typeElement":common.common49,"url":common.common50}}},{"if":{"properties":{"typeElement":common.common17}},"then":{"additionalProperties":false,"anyOf":[common.common36,common.common38,common.common40,common.common42,common.common51,common.common53],"properties":{"avancement":{"enum":["abandoned","concept","development","production","started","testing","idea","mature","qa","finished"],"type":"string"},"block":common.common45,"email":common.common55,"id":common.common1,"name":common.common47,"parent":common.common56,"scope":common.common10,"tags":common.common48,"typeElement":{"default":"citoyens","enum":["projects"],"type":"string"},"url":common.common50}}},{"if":{"properties":{"typeElement":common.common18}},"then":{"additionalProperties":false,"anyOf":[common.common36,common.common38,common.common40,common.common42,common.common51,common.common60,{"properties":{"organizer":common.common27},"required":["organizer"]},common.common53],"properties":{"block":common.common45,"email":common.common55,"id":common.common1,"name":common.common47,"organizer":common.common62,"parent":common.common56,"scope":common.common10,"tags":common.common48,"type":common.common65,"typeElement":{"default":"citoyens","enum":["events"],"type":"string"},"url":common.common50}}},{"if":{"properties":{"typeElement":common.common16}},"then":{"additionalProperties":false,"anyOf":[common.common36,common.common38,common.common40,common.common42,common.common60],"properties":{"block":common.common45,"email":common.common55,"id":common.common1,"name":common.common47,"scope":common.common10,"tags":common.common48,"type":common.common66,"typeElement":{"enum":["organizations"],"type":"string"},"url":common.common50}}},{"if":{"properties":{"typeElement":{"const":"poi"}}},"then":{"additionalProperties":false,"anyOf":[common.common36,common.common40,common.common60,{"properties":{"urls":common.common27},"required":["urls"]}],"properties":{"block":common.common45,"id":common.common1,"name":common.common47,"scope":common.common10,"tags":common.common48,"type":common.common67,"typeElement":common.common68,"urls":common.common32}}}],"properties":{"block":common.common45,"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.common34,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.common69,"facebook":common.common69,"github":common.common69,"gitlab":common.common69,"id":common.common1,"instagram":common.common69,"mastodon":common.common69,"scope":common.common10,"signal":common.common69,"telegram":common.common69,"twitter":common.common69,"typeElement":common.common70},"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.common71,"if":common.common24,"properties":{"address":common.common74,"block":{"const":"localities","default":"localities","type":"string"},"geo":{"oneOf":[common.common31,common.common79]},"geoPosition":{"oneOf":[common.common31,common.common83]},"id":common.common1,"scope":common.common10,"typeElement":common.common29},"required":["block","typeElement","id","address"],"then":common.common89,"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_SLUG","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"else":common.common71,"if":common.common24,"properties":{"block":common.common45,"id":common.common1,"scope":common.common10,"slug":common.common92,"typeElement":common.common29},"required":["block","typeElement","id","slug"],"then":common.common89,"type":"object"}},{"auth":"bearer","constant":"CHECK","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/slug/check","request":{"additionalProperties":false,"else":common.common71,"if":common.common93,"properties":{"block":common.common45,"id":common.common1,"slug":common.common92,"type":common.common19},"required":["block","type","id","slug"],"then":common.common89,"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.common95,"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.common95,"request":{"additionalProperties":false,"properties":{"banner":common.common20,"cropH":common.common86,"cropW":common.common86,"cropX":common.common86,"cropY":common.common86,"formOrigin":{"const":"banner","default":"banner"},"parentId":common.common11,"parentType":common.common101},"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.common71,"if":common.common93,"properties":{"id":common.common1,"type":{"default":"citoyens","enum":["citoyens","projects","organizations","events","poi","badges","answers","classifieds","forms","actions"],"type":"string"}},"required":["type","id"],"then":common.common89,"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.common104,"if":common.common106,"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.common70},"required":["parentId","parentType","listInvite"],"then":common.common108,"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.common71,"if":common.common93,"properties":{"id":common.common1,"isLive":common.common110,"type":common.common70},"required":["isLive","type","id"],"then":common.common89,"type":"object"},"request":{"additionalProperties":false,"properties":{"dateLimit":common.common111,"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":common.common112},"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.common113,common.common114,common.common115],"else":common.common104,"if":common.common106,"properties":{"json":common.common87,"markdownActive":common.common110,"mediaFile":common.common116,"mediaImg":common.common118,"mentions":common.common120,"parentId":common.common1,"parentType":common.common70,"scope":common.common124,"tags":common.common32,"text":common.common1,"type":common.common125},"required":["scope","markdownActive","parentId","parentType","type","json"],"then":common.common108,"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.common126,"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.common126,"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.common128,"request":{"additionalProperties":false,"properties":{"isLive":common.common129},"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.common113,common.common114,common.common115],"else":common.common104,"if":common.common106,"properties":{"idNews":common.common11,"markdownActive":common.common110,"mediaFile":common.common116,"mediaImg":common.common118,"mentions":common.common120,"parentId":common.common1,"parentType":common.common70,"scope":common.common124,"tags":common.common32,"text":common.common1,"type":common.common125},"required":["idNews","scope","markdownActive","parentId","parentType","type"],"then":common.common108,"type":"object"}},{"auth":"bearer","constant":"SHARE_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/share","request":{"additionalProperties":false,"else":common.common130,"if":common.common132,"properties":{"childId":common.common11,"childType":common.common70,"comment":common.common1,"connectType":common.common134,"parentId":common.common11,"parentType":common.common125},"required":["parentId","parentType","childId","childType","connectType"],"then":common.common135,"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":{"additionalProperties":false,"properties":{"id":common.common11,"type":common.common137},"required":["type","id"],"type":"object"}},{"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.common137,"mentions":common.common138,"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.common128},{"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.common138,"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":{"additionalProperties":false,"properties":{"id":common.common11,"type":{"default":"news","enum":["news","comments"],"type":"string"}},"required":["type","id"],"type":"object"}},{"auth":"none","constant":"GLOBAL_AUTOCOMPLETE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":{"default":["NGO","LocalBusiness","Group","GovernmentOrganization","Cooperative","projects","citoyens","poi"],"items":common.common141,"type":"array"},"fediverse":common.common142,"filters":common.common143,"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common146,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchTags":common.common33,"searchType":{"items":common.common141,"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":common.common157,"locality":common.common143,"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.common129,"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.common158,"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.common87,"countType":common.common159,"fediverse":common.common142,"filters":{"additionalProperties":false,"default":{"$or":{"links.contributors.@userId":common.common161,"parent.@userId":common.common161},"links.contributors.@userId":common.common161},"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@\\w+)$":common.common162},"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@\\w+)$":common.common162,"^parent\\.(?:[a-f0-9]{24}|@\\w+)$":common.common162},"type":"object"}},"required":["$or"],"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common159},"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.common165,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common159,"fediverse":common.common142,"filters":{"additionalProperties":false,"default":{"$or":{"links.contributors.@{pathParams.id}":common.common161,"parent.@{pathParams.id}":common.common161},"links.contributors.@{pathParams.id}":common.common161},"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common162},"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common162,"^parent\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common162},"type":"object"}},"required":["$or"],"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common159},"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.common87,"countType":common.common167,"fediverse":common.common142,"filters":{"additionalProperties":false,"default":{"parent.@userId":common.common161},"patternProperties":{"^parent\\.(?:[a-f0-9]{24}|@\\w+)$":common.common162},"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common167},"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.common165,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common167,"fediverse":common.common142,"filters":{"additionalProperties":false,"default":{"parent.@{pathParams.id}":common.common161},"patternProperties":{"^parent\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common162},"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common167},"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.common87,"countType":common.common168,"fediverse":common.common142,"filters":{"additionalProperties":false,"default":{"links.members.@userId":common.common161,"links.members.@userId.isInviting":common.common170,"links.members.@userId.toBeValidated":common.common170},"patternProperties":{"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)$":common.common162,"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common171,"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common171},"type":"object"},"indexMax":common.common86,"indexMin":common.common158,"indexStep":common.common174,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common168},"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.common71,"if":common.common93,"properties":{"id":common.common1,"type":{"default":"citoyens","enum":["citoyens","organizations"],"type":"string"}},"required":["type","id"],"then":common.common89,"type":"object"},"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common168,"fediverse":common.common142,"filters":{"additionalProperties":true,"default":{"links.members.@{pathParams.id}":common.common161,"links.members.@{pathParams.id}.isInviting":common.common170,"links.members.@{pathParams.id}.toBeValidated":common.common170},"patternProperties":{"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common162,"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common171,"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common171},"type":"object"},"indexMax":common.common86,"indexMin":common.common158,"indexStep":common.common174,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common168},"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.common87,"countType":common.common175,"fediverse":common.common142,"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.common162,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common162,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common162,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common177,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common179,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common171},"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common181},"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.common128,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common175,"fediverse":common.common142,"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.common161,"links.memberOf.@{pathParams.id}.isInviting":common.common170,"links.memberOf.@{pathParams.id}.toBeValidated":common.common170},"patternProperties":{"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common162,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common162,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common162,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common177,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common179,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common177},"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common181},"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.common87,"countType":common.common182,"fediverse":common.common142,"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.common161,"links.friends.@{pathParams.id}.isInviting":common.common170,"links.friends.@{pathParams.id}.toBeValidated":common.common170},"patternProperties":{"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common162,"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common177,"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common177},"type":"object"},"indexMax":common.common86,"indexMin":common.common158,"indexStep":common.common174,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchType":common.common182},"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.common87,"countType":common.common184,"fediverse":common.common142,"filters":{"additionalProperties":false,"allOf":[common.common186],"default":{"links.followers.@userId":common.common161,"links.followers.@{userId}.isInviting":common.common170,"links.followers.@{userId}.toBeValidated":common.common170},"patternProperties":common.common189,"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common184},"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.common87,"countType":common.common184,"fediverse":common.common142,"filters":{"additionalProperties":false,"allOf":[common.common186],"default":{"links.followers.@{pathParams.id}":common.common161,"links.followers.@{pathParams.id}.isInviting":common.common170,"links.followers.@{pathParams.id}.toBeValidated":common.common170},"patternProperties":common.common189,"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common184},"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.common87,"countType":common.common182,"fediverse":common.common142,"filters":{"additionalProperties":false,"allOf":[common.common190],"default":{"links.follows.@userId":common.common161,"links.follows.@{userId}.isInviting":common.common170,"links.follows.@{userId}.toBeValidated":common.common170},"patternProperties":{"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common162,"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common171,"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common171},"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common182},"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.common71,"if":common.common93,"then":common.common89}],"properties":{"id":common.common1,"type":common.common193},"required":["type","id"],"type":"object"},"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common182,"fediverse":common.common142,"filters":{"additionalProperties":false,"allOf":[common.common190],"default":{"links.follows.@{pathParams.id}":common.common161},"maxProperties":1,"minProperties":1,"patternProperties":{"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common162},"type":"object"},"indexMin":common.common158,"indexStep":common.common174,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"searchType":common.common182},"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.common87,"countType":common.common175,"fediverse":common.common142,"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.common162,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common162,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common162,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common177,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common179,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common171},"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common181},"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.common128,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common175,"fediverse":common.common142,"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.common161,"links.projects.@{pathParams.id}.isInviting":common.common170,"links.projects.@{pathParams.id}.toBeValidated":common.common170},"patternProperties":{"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common162,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common162,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common162,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common177,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common179,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common177},"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common181},"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.common87,"countType":common.common194,"fediverse":common.common142,"filters":{"properties":{"$or":{"additionalProperties":false,"minProperties":1,"patternProperties":{"^issuer\\.(?:[a-f0-9]{24}|@\\w+)$":common.common162},"type":"object"},"isParcours":common.common3,"preferences.private":common.common142},"required":["preferences.private"],"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common194},"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.common87,"countType":common.common196,"fediverse":common.common142,"fields":common.common194,"filters":{"oneOf":[{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)$":common.common198}},{"additionalProperties":false,"maxProperties":3,"minProperties":3,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)$":common.common198,"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteEmetteur$":common.common201,"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteRecepteur$":common.common201}},{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":common.common204},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":common.common204,"type":"object"}},"required":["$or"]},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.revoke$":common.common200}},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteEmetteur$":common.common198}}],"type":"object"},"indexMin":common.common158,"indexStep":common.common174,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":{"additionalProperties":false,"default":{"Cooperative":common.common205,"GovernmentOrganization":common.common205,"Group":common.common205,"LocalBusiness":common.common205,"NGO":common.common205,"citoyens":common.common205,"projects":common.common205},"maxProperties":7,"minProperties":7,"patternProperties":{"^[a-zA-Z][a-zA-Z0-9]*$":common.common153},"type":"object"},"searchType":common.common196},"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.common106,"then":{"properties":{"connectType":{"const":"friend","default":"friend"}}}},{"if":common.common206,"then":{"properties":{"connectType":{"enum":["admin","member"]}}}},{"if":common.common208,"then":{"properties":{"connectType":{"enum":["admin","contributor"]}}}},{"if":common.common210,"then":{"properties":{"connectType":{"default":"attendee","enum":["attendee","connect"]}}}}],"properties":{"childId":common.common212,"childType":common.common213,"connectType":{"enum":["admin","member","contributor","attendee","friend","connect"],"type":"string"},"parentId":common.common11,"parentType":common.common214},"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.common106,"then":{"properties":{"connectType":{"default":"friends","enum":["friends","followers"]}}}},{"if":common.common206,"then":{"properties":{"connectType":{"default":"members","enum":["members","followers"]}}}},{"if":common.common208,"then":{"properties":{"connectType":{"default":"contributors","enum":["contributors","followers"]}}}},{"if":common.common210,"then":{"properties":{"connectType":{"default":"attendees","enum":["attendees","followers"]}}}}],"properties":{"childId":common.common212,"childType":common.common213,"connectType":{"enum":["members","contributors","attendees","friends","followers"],"type":"string"},"parentId":common.common11,"parentType":common.common214},"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.common86},"type":"object"},"request":{"additionalProperties":false,"properties":{"collection":common.common215,"id":common.common216,"path":{"const":"preferences.search.@{pathParams.index}","default":"preferences.search.@{pathParams.index}","type":"string"},"pull":{"const":"preferences.search","type":"string"},"value":common.common143},"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.common200,"collection":common.common215,"id":common.common216,"path":{"const":"preferences.search","default":"preferences.search","type":"string"}},"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":true,"properties":{"address":common.common75,"buildingSurfaceArea":common.common86,"collection":{"const":"organizations","default":"organizations","type":"string"},"compagnon":common.common1,"costum":{"additionalProperties":true,"properties":{"bannerImageUrl":common.common1,"bannerLogoUrl":common.common1,"bannerText":common.common1,"cocity":common.common129,"slug":common.common1,"transparentCommune":common.common129,"typeCocity":common.common1},"required":[],"type":"object"},"costumEditMode":common.common3,"costumId":common.common1,"costumSlug":common.common1,"costumType":common.common1,"description":common.common1,"email":common.common2,"filiere":{"additionalProperties":{"additionalProperties":false,"properties":{"icon":common.common1,"name":common.common1,"tags":common.common33},"required":["name","icon","tags"],"type":"object"},"type":"object"},"geo":common.common79,"geoPosition":common.common83,"holderOrganization":common.common1,"id":common.common11,"key":{"const":"organization","default":"organization","type":"string"},"mainTag":common.common1,"manageModel":common.common1,"name":common.common217,"openingDate":common.common1,"openingHours":{"items":{"oneOf":[common.common31,{"additionalProperties":false,"properties":{"dayOfWeek":common.common218,"hours":{"items":common.common219,"type":"array"}},"required":["dayOfWeek","hours"],"type":"object"}]},"maxItems":7,"minItems":7,"type":"array"},"preferences":common.common222,"role":{"enum":["admin","member"],"type":"string"},"scope":common.common143,"shortDescription":common.common1,"siteSurfaceArea":common.common86,"source":{"properties":{"insertOrign":common.common1,"key":common.common1,"keys":common.common33},"type":"object"},"tags":common.common33,"telephone":common.common1,"thematic":common.common33,"type":common.common66,"typePlace":common.common1,"url":common.common35,"video":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.common75,"collection":common.common225,"geo":common.common79,"geoPosition":common.common83,"id":common.common11,"key":{"const":"project","default":"project","type":"string"},"name":common.common1,"parent":common.common226,"preferences":{"default":{"crowdfunding":true,"isOpenData":false,"isOpenEdition":false},"properties":{"crowdfunding":common.common110,"isOpenData":common.common129,"isOpenEdition":common.common129},"required":["isOpenData","isOpenEdition"],"type":"object"},"public":common.common110,"scope":common.common143,"shortDescription":common.common1,"tags":common.common33,"url":common.common35},"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.common75,"collection":common.common229,"description":common.common1,"geo":common.common79,"geoPosition":common.common83,"id":common.common11,"key":common.common229,"name":common.common1,"parent":common.common226,"scope":common.common143,"tags":common.common33,"type":common.common67,"urls":common.common33},"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.common173}},"properties":{"address":common.common74,"collection":common.common230,"email":common.common30,"endDate":common.common231,"geo":common.common79,"geoPosition":common.common83,"id":common.common11,"key":{"const":"event","default":"event","type":"string"},"name":{"minLength":2,"type":"string"},"openingHours":{"default":["","","","","","",""],"items":{"anyOf":[common.common31,{"additionalProperties":false,"properties":{"dayOfWeek":common.common218,"hours":{"default":[],"items":common.common219,"type":"array"}},"required":["dayOfWeek","hours"],"type":"object"}]},"maxItems":7,"minItems":7,"type":"array"},"organizer":common.common226,"parent":{"oneOf":[common.common62,common.common31]},"preferences":{"default":{"isOpenData":false,"isOpenEdition":false},"properties":{"isOpenData":common.common129,"isOpenEdition":common.common129},"required":["isOpenData","isOpenEdition"],"type":"object"},"public":common.common110,"recurrency":common.common129,"scope":common.common143,"shortDescription":{"format":"textarea","type":"string"},"startDate":common.common231,"tags":{"anyOf":[common.common33,common.common31]},"timeZone":common.common1,"type":common.common65,"url":common.common35},"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.common128,"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.common128,"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.common232,"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.common49,"linkOption":{"enum":["isInviting","toBeValidated","isAdminPending"],"type":"string"},"parentId":common.common11,"parentType":common.common214},"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.common233,"request":{"additionalProperties":false,"properties":{"indexMin":common.common111},"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.common233,"request":{"additionalProperties":false,"properties":{"refreshTimestamp":common.common232},"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.common87},"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.common128},{"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.common128},{"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.common236,"criteria":{"additionalProperties":false,"properties":{"narrative":common.common1},"required":["narrative"],"type":"object"},"description":common.common1,"id":common.common11,"isParcours":common.common129,"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.common237,"name":common.common1,"parent":{"additionalProperties":false,"patternProperties":{"^[a-f0-9]{24}$":{"additionalProperties":false,"properties":{"name":common.common1,"type":common.common236},"required":["type"],"type":"object"}},"type":"object"},"preferences":common.common222,"public":common.common110,"scope":common.common143,"tags":common.common33},"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.common58},"type":"object"},"badgeId":common.common11,"collection":common.common236,"evidences":{"items":{"additionalProperties":false,"properties":{"narative":common.common1,"url":common.common4},"required":["narative"],"type":"object"},"type":"array"},"key":common.common237,"narative":common.common1,"scope":common.common143},"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":true,"properties":{"count":common.common129,"countType":{"const":["events"],"default":["events"],"type":"array"},"endDateUTC":common.common231,"fediverse":common.common129,"filters":{"additionalProperties":false,"default":{"$or":{"links.attendees.@userId":common.common161,"organizer.@userId":common.common161},"links.attendees.@userId":common.common161},"patternProperties":{"^links\\.attendees\\.(?:[a-f0-9]{24}|@\\w+)$":common.common162},"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":{"^links\\.attendees\\.(?:[a-f0-9]{24}|@\\w+)$":common.common162,"^organizer\\.(?:[a-f0-9]{24}|@\\w+)$":common.common162},"type":"object"}},"required":["$or"],"type":"object"},"indexMin":common.common111,"indexStep":{"default":100,"type":"integer"},"locality":{"patternProperties":{"^[^\\s]+$":{"type":"object"}},"type":"object"},"name":common.common1,"recurrency":common.common110,"searchType":{"const":["events"],"default":["events"],"items":{"enum":["events"],"type":"string"},"type":"array"},"startDateUTC":common.common231,"type":common.common65},"required":["searchType","indexMin","indexStep","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.common130,"if":common.common132,"properties":{"childId":common.common11,"childType":common.common70,"comment":common.common1,"connectType":common.common134,"parentId":common.common11,"parentType":common.common230},"required":["parentId","childId","childType","connectType","parentType"],"then":common.common135,"type":"object"}},{"auth":"bearer","constant":"INVITE_EVENT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/multiconnect","request":{"additionalProperties":false,"else":common.common104,"if":common.common106,"properties":{"listInvite":{"additionalProperties":false,"minProperties":1,"properties":{"citoyens":common.common238,"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.common242,"msg":common.common1,"name":common.common1,"roles":common.common33},"required":["name","email"],"type":"object"}},"type":"object"},"organizations":common.common238,"projects":common.common238},"type":"object"},"parentId":common.common1,"parentType":common.common70},"required":["parentId","parentType","listInvite"],"then":common.common108,"type":"object"}},{"auth":"bearer","constant":"FOLLOW","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/follow","request":{"additionalProperties":false,"properties":{"childId":common.common212,"childType":common.common213,"parentId":common.common11,"parentType":common.common214},"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":common.common243},{"auth":"none","constant":"NAVIGATOR_GETTL","contentType":"application/x-www-form-urlencoded","functionCocostum":"gettl","method":"POST","path":"/costum/navigator/gettl","request":common.common243},{"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.common263,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common245,"costumEditMode":common.common129,"costumId":common.common11,"costumSlug":common.common1,"costumType":common.common245,"mode":common.common1,"parent_only":common.common3,"sourceKey":common.common33,"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.common263,"request":{"additionalProperties":false,"allOf":[{"if":{"properties":{"date":common.common1},"required":["date"]},"then":{"required":["timezone"]}}],"properties":{"contextId":common.common11,"contextType":common.common245,"costumEditMode":common.common129,"costumId":common.common11,"costumSlug":common.common1,"costumType":common.common245,"date":{"oneOf":[common.common1,{"properties":{"between":{"properties":{"end":common.common44,"start":common.common44},"required":["start","end"],"type":"object"}},"required":["between"],"type":"object"}]},"fromToday":common.common3,"mode":common.common1,"regions":common.common266,"sourceKey":common.common33,"tags":common.common33,"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.common263,"request":common.common269},{"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.common263,"request":common.common269},{"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.common263,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common245,"costumEditMode":common.common129,"costumId":common.common11,"costumSlug":common.common1,"costumType":common.common245,"mode":common.common1,"regions":common.common266,"sourceKey":common.common33,"tags":common.common33,"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.common263,"request":common.common269},{"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.common263,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common245,"costumEditMode":common.common129,"costumId":common.common11,"costumSlug":common.common1,"costumType":common.common245,"event":common.common1,"mode":common.common1,"sourceKey":common.common33,"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.common263,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common245,"costumEditMode":common.common129,"costumId":common.common11,"costumSlug":common.common1,"costumType":common.common245,"event":common.common11,"mode":common.common1,"search":common.common1,"sourceKey":common.common33},"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.common71,"if":common.common93,"properties":{"docType":{"default":"image","enum":["image","file","bookmarks"],"type":"string"},"id":common.common1,"type":common.common193},"required":["id","type","docType"],"then":common.common89,"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.common87,"countType":common.common182,"fediverse":common.common142,"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.common162,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common162,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common162,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common177,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common179,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common171},"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common182},"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.common128,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common182,"fediverse":common.common142,"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.common161,"links.events.@{pathParams.id}.isInviting":common.common170,"links.events.@{pathParams.id}.toBeValidated":common.common170},"patternProperties":{"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common162,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common162,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common162,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common177,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common179,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common177},"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common182},"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.common245,"costumEditMode":common.common129,"costumId":common.common11,"costumSlug":common.common1,"costumType":common.common245,"count":common.common87,"countType":common.common271,"fediverse":common.common129,"fields":common.common33,"filters":common.common248,"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common146,"mapUsed":common.common200,"mode":common.common1,"name":common.common1,"notSourceKey":common.common200,"options":common.common257,"ranges":common.common151,"searchBy":common.common155,"searchTags":common.common33,"searchType":common.common271,"sortBy":common.common261,"sourceKey":common.common33},"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.common33,"finderPath":common.common10,"formId":common.common1},"required":["answerId"],"type":"object"}},{"auth":"none","constant":"GET_COFORM_BY_ID","contentType":"application/x-www-form-urlencoded","functionCocostum":"getformbyid","method":"POST","path":"/survey/coform/getformbyid","request":{"additionalProperties":false,"properties":{"parentFormId":common.common11},"required":["parentFormId"],"type":"object"}},{"auth":"bearer","constant":"COFORM_UPLOAD_ANSWER_FILE","contentType":"multipart/form-data","method":"POST","path":"/survey/coform/uploadanswerfile","request":{"additionalProperties":false,"properties":{"answerId":common.common11,"contentKey":{"default":"slider","type":"string"},"docType":{"default":"image","enum":["image","file"],"type":"string"},"formId":common.common11,"qqfile":common.common249,"qqfilename":common.common1,"qqtotalfilesize":common.common86,"qquuid":common.common1,"subKey":common.common1},"required":["formId","qquuid","qqfilename","qqtotalfilesize","qqfile"],"type":"object"}},{"auth":"bearer","constant":"COFORM_GET_ANSWER_FILES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/survey/coform/getanswerfiles","request":{"additionalProperties":false,"properties":{"answerId":common.common11,"contentKey":{"default":"presentation","type":"string"},"docType":{"default":"file","enum":["image","file"],"type":"string"},"subKey":common.common1},"required":["answerId","subKey"],"type":"object"}},{"auth":"bearer","constant":"SAVE_COFORM_ANSWER","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/survey/coform/saveanswer","request":{"additionalProperties":false,"properties":{"addedOptions":common.common1,"answerId":common.common11,"answers":common.common1,"formId":common.common11,"links":common.common1},"required":["formId","answers"],"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.common273,"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.common273,"details":{"additionalProperties":false,"properties":{"comment":common.common1,"reason":common.common1},"required":["reason"],"type":"object"},"id":common.common11},"required":["id","collection","action","details"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_PATH_VALUE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updatepathvalue","request":{"additionalProperties":false,"allOf":[{"if":{"required":["pull"]},"then":{"properties":{"value":common.common1}}}],"properties":{"arrayForm":common.common3,"collection":{"default":"citoyens","enum":["citoyens","organizations","projects","events","poi","answers","forms","actions"],"type":"string"},"edit":common.common3,"formParentId":common.common11,"id":common.common5,"path":common.common1,"pull":common.common1,"setType":{"anyOf":[common.common274,{"items":{"additionalProperties":false,"properties":{"path":common.common1,"type":common.common1},"required":["path","type"],"type":"object"},"type":"array"}]},"updatePartial":common.common3,"value":{"type":["string","number","boolean","object","array","null"]}},"required":["id","collection","path","value"],"type":"object"}},{"auth":"bearer","constant":"DELETE_DOCUMENT_BY_CONTEXT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/document/delete/dir/co2/contextType/{contextType}/contextId/{contextId}","pathParams":{"additionalProperties":false,"properties":{"contextId":common.common5,"contextType":common.common275},"required":["contextType","contextId"],"type":"object"},"request":{"additionalProperties":false,"properties":{"ids":common.common11,"parentId":common.common5,"parentType":common.common275,"path":{"const":"communecter","default":"communecter","type":"string"}},"required":["id","collection","path","value"],"type":"object"}},{"auth":"bearer","constant":"DELETE_DOCUMENT_BY_ID","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/document/deletedocumentbyid/id/{id}","pathParams":common.common128},{"auth":"bearer","constant":"DEMOTE_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/updateadminlink/","request":{"additionalProperties":false,"properties":{"childId":common.common11,"childType":common.common183,"connect":{"enum":["members","contributors"],"type":"string"},"isAdmin":common.common142,"parentId":common.common11,"parentType":{"enum":["organizations","projects"],"type":"string"}},"required":["parentId","parentType","childId","childType","connect","isAdmin"],"type":"object"}},{"constant":"COSTUM_FILTER_COFORM","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/costum/francetierslieux/autoglobalthematicntwrk","request":{"properties":{"costumId":common.common1,"costumSlug":common.common1,"costumType":common.common1,"searchedData":common.common249},"type":"object"}},{"constant":"COSTUM_FILTER_COFORM_BY_PATH","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/costum/francetierslieux/autoglobalthematicntwrk","request":{"additionalProperties":true,"properties":{"contextId":common.common11,"contextType":common.common245,"costumEditMode":common.common129,"costumId":common.common11,"costumSlug":common.common1,"costumType":common.common245,"count":common.common129,"fediverse":common.common129,"fields":common.common33,"filters":{"oneOf":[common.common249,common.common31]},"indexMin":common.common144,"indexStep":{"default":10000,"type":"number"},"initType":common.common10,"locality":{"oneOf":[common.common249,{"items":common.common249,"type":"array"},common.common31]},"notSourceKey":common.common110,"params":{"additionalProperties":false,"properties":{"finderPath":common.common1,"thematicPath":common.common1},"required":["thematicPath"],"type":"object"},"searchType":{"default":["answers"],"items":common.common1,"type":"array"},"sortBy":common.common261,"sourceKey":common.common33},"required":["params"],"type":"object"}},{"auth":"none","constant":"GET_COUNTRIES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/opendata/getcountries","request":{"additionalProperties":false,"properties":{"costumEditMode":{"oneOf":[{"enum":["true","false"],"type":"string"},{"enum":[0,1],"type":"number"},common.common3]},"costumId":common.common11,"costumSlug":common.common1,"costumType":{"enum":["organizations","projects","events","citoyens","poi"],"type":"string"}},"type":"object"}},{"constant":"SEARCH_ZONES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/getzone","request":{"properties":{"costumId":common.common1,"costumSlug":common.common1,"costumType":common.common1,"countryCode":common.common276,"level":common.common276,"sortBy":common.common1,"upperLevelId":common.common1},"required":["countryCode","level"],"type":"object"}},{"auth":"none","constant":"COFORM_ANSWERS_BY_FORMS","contentType":"application/x-www-form-urlencoded","functionCocostum":"findanswers","method":"POST","path":"/costum/francetierslieux/getallanswersbyforms","request":{"properties":{"forms":{"patternProperties":{"^[a-fA-F0-9]{24}$":common.common1},"type":"object"}},"type":"object"}},{"auth":"none","constant":"GENERATE_ANSWER_FROM_FORM","contentType":"application/x-www-form-urlencoded","functionCocostum":"generateanswerfromform","method":"POST","path":"/survey/answer/newanswer/form/{formId}","pathParams":{"additionalProperties":false,"properties":{"formId":common.common11},"required":["formId"],"type":"object"},"request":{"properties":{"action":common.common1},"type":"object"}},{"auth":"none","constant":"FUNDING_ENVELOPE","contentType":"application/x-www-form-urlencoded","functionCocostum":"fundingenvelope","method":"POST","path":"/co2/aap/fundingenvelope","request":{"additionalProperties":true,"properties":{"action":common.common1,"answer":common.common11,"contextId":{"pattern":"^(?:[a-f0-9]{24}|@userId)$","type":"string"},"contextType":common.common1,"financerId":common.common11,"financerType":common.common1,"formId":common.common11,"params":common.common249,"project":common.common11},"required":["contextId","contextType"],"type":"object"}},{"auth":"none","constant":"COREMU_OPERATION","contentType":"application/x-www-form-urlencoded","functionCocostum":"coremuoperation","method":"POST","path":"/co2/aap/coremuoperation/","request":{"additionalProperties":true,"properties":{"action":{"const":"generateproposition","type":"string"},"answer":{"const":"new","type":"string"},"form":common.common11,"project":common.common11},"required":["form","answer","action","project"],"type":"object"}},{"auth":"bearer","constant":"COSTUM_PROJECT_ACTION_REQUEST_NEW","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumProjectActionRequestNew","method":"POST","path":"/costum/project/action/request/new","request":{"additionalProperties":false,"properties":{"assign":common.common11,"credits":{"default":1,"minimum":0,"type":"number"},"endDate":common.common231,"idParentRoom":common.common11,"importance":{"default":"low","type":"string"},"is_contributor":common.common3,"max":common.common157,"mentions":common.common33,"milestone":{"additionalProperties":false,"properties":{"endDate":common.common231,"milestoneId":common.common11,"startDate":common.common231},"required":["milestoneId"],"type":"object"},"min":common.common157,"name":common.common1,"parentId":common.common11,"parentType":common.common225,"startDate":common.common231,"status":{"default":"todo","enum":["todo","done","tracking","discuter","next","totest","disabled","closed"],"type":"string"},"tags":common.common33,"timeSpent":common.common157,"urls":common.common32},"required":["name","status","parentId","parentType"],"type":"object"}},{"auth":"bearer","constant":"COSTUM_PROJECT_ACTION_REQUEST_SET_STATUS","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumProjectActionRequestSetStatus","method":"POST","path":"/costum/project/action/request/set_status","request":{"additionalProperties":false,"properties":{"id":common.common11,"status":{"enum":["todo","done","tracking","discuter","next","totest","disabled","closed"],"type":"string"},"user":common.common11},"required":["id","status"],"type":"object"}},{"auth":"bearer","constant":"COSTUM_PROJECT_ACTION_REQUEST_SET_DATE","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumProjectActionRequestSetDate","method":"POST","path":"/costum/project/action/request/set_date","request":{"additionalProperties":false,"properties":{"endDate":common.common1,"id":common.common11,"startDate":common.common1},"required":["id"],"type":"object"}},{"auth":"bearer","constant":"COSTUM_PROJECT_ACTION_REQUEST_SET_CONTRIBUTORS","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumProjectActionRequestSetContributors","method":"POST","path":"/costum/project/action/request/set_contributors","request":{"additionalProperties":false,"properties":{"action":common.common11,"contributor":common.common11,"contributors":common.common112,"participate":{"enum":[0,1],"type":"integer"}},"required":["action"],"type":"object"}},{"auth":"bearer","constant":"COSTUM_PROJECT_ACTION_REQUEST_CANCEL","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumProjectActionRequestCancel","method":"POST","path":"/costum/project/action/request/cancel","request":common.common128},{"auth":"bearer","constant":"COSTUM_PROJECT_ACTION_REQUEST_ARCHIVE","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumProjectActionRequestArchive","method":"POST","path":"/costum/project/action/request/archive","request":common.common128},{"auth":"bearer","constant":"LINK_DISCOURSE_ACCOUNT","contentType":"application/x-www-form-urlencoded","functionCocostum":"linkDiscourseAccount","method":"POST","path":"/interop/discourse/linkAccount","request":common.common277},{"auth":"bearer","constant":"UNLINK_DISCOURSE_ACCOUNT","contentType":"application/x-www-form-urlencoded","functionCocostum":"unlinkDiscourseAccount","method":"POST","path":"/interop/discourse/unlinkAccount","request":common.common279},{"auth":"none","constant":"DISCOURSE_PROFILE","contentType":"application/x-www-form-urlencoded","functionCocostum":"getDiscourseProfile","method":"POST","path":"/interop/discourse/profile","request":common.common277},{"auth":"bearer","constant":"DISCOURSE_CHECK_EMAIL","contentType":"application/x-www-form-urlencoded","functionCocostum":"checkDiscourseEmailMatch","method":"POST","path":"/interop/discourse/checkEmailMatch","request":common.common279},{"auth":"bearer","constant":"DISCOURSE_DISMISS_LINK","contentType":"application/x-www-form-urlencoded","functionCocostum":"dismissDiscourseLink","method":"POST","path":"/interop/discourse/dismissDiscourseLink","request":common.common279},{"auth":"bearer","constant":"LINK_MEDIAWIKI_ACCOUNT","contentType":"application/x-www-form-urlencoded","functionCocostum":"linkMediaWikiAccount","method":"POST","path":"/interop/mediawiki/linkAccount","request":common.common277},{"auth":"bearer","constant":"UNLINK_MEDIAWIKI_ACCOUNT","contentType":"application/x-www-form-urlencoded","functionCocostum":"unlinkMediaWikiAccount","method":"POST","path":"/interop/mediawiki/unlinkAccount","request":common.common279},{"auth":"none","constant":"GET_MEDIAWIKI_CONTRIBUTIONS","contentType":"application/x-www-form-urlencoded","functionCocostum":"getMediaWikiContributions","method":"POST","path":"/interop/mediawiki/contribs","request":{"additionalProperties":true,"properties":{"costumId":common.common1,"costumSlug":common.common1,"costumType":common.common1,"limit":common.common232,"username":common.common1},"required":["username","costumSlug","costumId","costumType"],"type":"object"}},{"auth":"bearer","constant":"ADD_CLASSIFIED","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":true,"properties":{"address":{"additionalProperties":false,"properties":{"@type":common.common77,"addressCountry":common.common1,"addressLocality":common.common1,"codeInsee":common.common1,"level1":common.common1,"level1Name":common.common1,"level2":common.common1,"level2Name":common.common1,"level3":common.common78,"level3Name":common.common78,"level4":common.common78,"level4Name":common.common78,"localityId":common.common1,"postalCode":common.common1,"streetAddress":common.common1},"required":["@type","addressCountry","codeInsee","addressLocality","localityId","level1","level1Name"],"type":"object"},"category":{"enum":["service","competence","material"],"type":"string"},"collection":{"const":"classifieds","default":"classifieds","type":"string"},"description":common.common1,"geo":common.common79,"geoPosition":common.common83,"id":common.common11,"key":{"const":"classified","default":"classified","type":"string"},"name":common.common217,"parent":common.common226,"preferences":common.common222,"scope":common.common143,"section":{"enum":["need","offer"],"type":"string"},"subtype":common.common274,"tags":common.common33},"required":["id","collection","key","name","section","category","subtype","scope"],"type":"object"}}]};
|
|
4122
|
+
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,"emailNullable":common.common30,"name":common.common1,"tags":common.common32,"url":common.common35}},"allOf":[{"if":common.common24,"then":{"additionalProperties":false,"anyOf":[common.common36,{"properties":{"birthDate":common.common27},"required":["birthDate"]},{"properties":{"fixe":common.common27},"required":["fixe"]},{"properties":{"mobile":common.common27},"required":["mobile"]},common.common38,common.common40,common.common42],"properties":{"birthDate":{"anyOf":[common.common44,common.common31]},"block":common.common45,"email":{"$ref":"#/$defs/sharedFields/email"},"fixe":common.common46,"id":common.common5,"mobile":common.common46,"name":common.common47,"scope":common.common10,"tags":common.common48,"typeElement":common.common49,"url":common.common50}}},{"if":{"properties":{"typeElement":common.common17}},"then":{"additionalProperties":false,"anyOf":[common.common36,common.common38,common.common40,common.common42,common.common51,common.common53],"properties":{"avancement":{"enum":["abandoned","concept","development","production","started","testing","idea","mature","qa","finished"],"type":"string"},"block":common.common45,"email":common.common55,"id":common.common1,"name":common.common47,"parent":common.common56,"scope":common.common10,"tags":common.common48,"typeElement":{"default":"citoyens","enum":["projects"],"type":"string"},"url":common.common50}}},{"if":{"properties":{"typeElement":common.common18}},"then":{"additionalProperties":false,"anyOf":[common.common36,common.common38,common.common40,common.common42,common.common51,common.common60,{"properties":{"organizer":common.common27},"required":["organizer"]},common.common53],"properties":{"block":common.common45,"email":common.common55,"id":common.common1,"name":common.common47,"organizer":common.common62,"parent":common.common56,"scope":common.common10,"tags":common.common48,"type":common.common65,"typeElement":{"default":"citoyens","enum":["events"],"type":"string"},"url":common.common50}}},{"if":{"properties":{"typeElement":common.common16}},"then":{"additionalProperties":false,"anyOf":[common.common36,common.common38,common.common40,common.common42,common.common60],"properties":{"block":common.common45,"email":common.common55,"id":common.common1,"name":common.common47,"scope":common.common10,"tags":common.common48,"type":common.common66,"typeElement":{"enum":["organizations"],"type":"string"},"url":common.common50}}},{"if":{"properties":{"typeElement":{"const":"poi"}}},"then":{"additionalProperties":false,"anyOf":[common.common36,common.common40,common.common60,{"properties":{"urls":common.common27},"required":["urls"]}],"properties":{"block":common.common45,"id":common.common1,"name":common.common47,"scope":common.common10,"tags":common.common48,"type":common.common67,"typeElement":common.common68,"urls":common.common32}}}],"properties":{"block":common.common45,"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.common34,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.common69,"facebook":common.common69,"github":common.common69,"gitlab":common.common69,"id":common.common1,"instagram":common.common69,"mastodon":common.common69,"scope":common.common10,"signal":common.common69,"telegram":common.common69,"twitter":common.common69,"typeElement":common.common70},"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.common71,"if":common.common24,"properties":{"address":common.common74,"block":{"const":"localities","default":"localities","type":"string"},"geo":{"oneOf":[common.common31,common.common79]},"geoPosition":{"oneOf":[common.common31,common.common83]},"id":common.common1,"scope":common.common10,"typeElement":common.common29},"required":["block","typeElement","id","address"],"then":common.common89,"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_SLUG","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"else":common.common71,"if":common.common24,"properties":{"block":common.common45,"id":common.common1,"scope":common.common10,"slug":common.common92,"typeElement":common.common29},"required":["block","typeElement","id","slug"],"then":common.common89,"type":"object"}},{"auth":"bearer","constant":"CHECK","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/slug/check","request":{"additionalProperties":false,"else":common.common71,"if":common.common93,"properties":{"block":common.common45,"id":common.common1,"slug":common.common92,"type":common.common19},"required":["block","type","id","slug"],"then":common.common89,"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.common95,"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.common95,"request":{"additionalProperties":false,"properties":{"banner":common.common20,"cropH":common.common86,"cropW":common.common86,"cropX":common.common86,"cropY":common.common86,"formOrigin":{"const":"banner","default":"banner"},"parentId":common.common11,"parentType":common.common101},"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.common71,"if":common.common93,"properties":{"id":common.common1,"type":{"default":"citoyens","enum":["citoyens","projects","organizations","events","poi","badges","answers","classifieds","forms","actions"],"type":"string"}},"required":["type","id"],"then":common.common89,"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.common104,"if":common.common106,"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.common70},"required":["parentId","parentType","listInvite"],"then":common.common108,"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.common71,"if":common.common93,"properties":{"id":common.common1,"isLive":common.common110,"type":common.common70},"required":["isLive","type","id"],"then":common.common89,"type":"object"},"request":{"additionalProperties":false,"properties":{"dateLimit":common.common111,"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":common.common112},"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.common113,common.common114,common.common115],"else":common.common104,"if":common.common106,"properties":{"json":common.common87,"markdownActive":common.common110,"mediaFile":common.common116,"mediaImg":common.common118,"mentions":common.common120,"parentId":common.common1,"parentType":common.common70,"scope":common.common124,"tags":common.common32,"text":common.common1,"type":common.common125},"required":["scope","markdownActive","parentId","parentType","type","json"],"then":common.common108,"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.common126,"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.common126,"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.common128,"request":{"additionalProperties":false,"properties":{"isLive":common.common129},"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.common113,common.common114,common.common115],"else":common.common104,"if":common.common106,"properties":{"idNews":common.common11,"markdownActive":common.common110,"mediaFile":common.common116,"mediaImg":common.common118,"mentions":common.common120,"parentId":common.common1,"parentType":common.common70,"scope":common.common124,"tags":common.common32,"text":common.common1,"type":common.common125},"required":["idNews","scope","markdownActive","parentId","parentType","type"],"then":common.common108,"type":"object"}},{"auth":"bearer","constant":"SHARE_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/share","request":{"additionalProperties":false,"else":common.common130,"if":common.common132,"properties":{"childId":common.common11,"childType":common.common70,"comment":common.common1,"connectType":common.common134,"parentId":common.common11,"parentType":common.common125},"required":["parentId","parentType","childId","childType","connectType"],"then":common.common135,"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":{"additionalProperties":false,"properties":{"id":common.common11,"type":common.common137},"required":["type","id"],"type":"object"}},{"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.common137,"mentions":common.common138,"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.common128},{"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.common138,"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":{"additionalProperties":false,"properties":{"id":common.common11,"type":{"default":"news","enum":["news","comments"],"type":"string"}},"required":["type","id"],"type":"object"}},{"auth":"none","constant":"GLOBAL_AUTOCOMPLETE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":{"default":["NGO","LocalBusiness","Group","GovernmentOrganization","Cooperative","projects","citoyens","poi"],"items":common.common141,"type":"array"},"fediverse":common.common142,"filters":common.common143,"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common146,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchTags":common.common33,"searchType":{"items":common.common141,"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":common.common157,"locality":common.common143,"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.common129,"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.common158,"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.common87,"countType":common.common159,"fediverse":common.common142,"filters":{"additionalProperties":false,"default":{"$or":{"links.contributors.@userId":common.common161,"parent.@userId":common.common161},"links.contributors.@userId":common.common161},"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@\\w+)$":common.common162},"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@\\w+)$":common.common162,"^parent\\.(?:[a-f0-9]{24}|@\\w+)$":common.common162},"type":"object"}},"required":["$or"],"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common159},"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.common165,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common159,"fediverse":common.common142,"filters":{"additionalProperties":false,"default":{"$or":{"links.contributors.@{pathParams.id}":common.common161,"parent.@{pathParams.id}":common.common161},"links.contributors.@{pathParams.id}":common.common161},"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common162},"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common162,"^parent\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common162},"type":"object"}},"required":["$or"],"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common159},"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.common87,"countType":common.common167,"fediverse":common.common142,"filters":{"additionalProperties":false,"default":{"parent.@userId":common.common161},"patternProperties":{"^parent\\.(?:[a-f0-9]{24}|@\\w+)$":common.common162},"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common167},"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.common165,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common167,"fediverse":common.common142,"filters":{"additionalProperties":false,"default":{"parent.@{pathParams.id}":common.common161},"patternProperties":{"^parent\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common162},"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common167},"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.common87,"countType":common.common168,"fediverse":common.common142,"filters":{"additionalProperties":false,"default":{"links.members.@userId":common.common161,"links.members.@userId.isInviting":common.common170,"links.members.@userId.toBeValidated":common.common170},"patternProperties":{"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)$":common.common162,"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common171,"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common171},"type":"object"},"indexMax":common.common86,"indexMin":common.common158,"indexStep":common.common174,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common168},"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":common.common175,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common168,"fediverse":common.common142,"filters":{"additionalProperties":true,"default":common.common178,"patternProperties":{"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common162,"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common171,"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common171},"type":"object"},"indexMax":common.common86,"indexMin":common.common158,"indexStep":common.common174,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common168},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_USER_ELIGIBLE_PLACES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/{type}/id/{id}/canSee/true","pathParams":common.common175,"request":{"additionalProperties":false,"properties":{"count":common.common110,"countType":common.common179,"fediverse":common.common129,"filters":{"additionalProperties":true,"default":common.common178,"type":"object"},"indexMax":common.common86,"indexMin":common.common158,"indexStep":common.common174,"initType":common.common10,"locality":common.common10,"name":common.common1,"notSourceKey":common.common110,"ranges":common.common151,"searchBy":{"enum":["ALL"],"type":"string"},"searchType":common.common179},"required":["searchType","indexMin","indexStep","notSourceKey","filters"],"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.common87,"countType":common.common180,"fediverse":common.common142,"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.common162,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common162,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common162,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common182,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common184,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common171},"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common186},"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.common128,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common180,"fediverse":common.common142,"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.common161,"links.memberOf.@{pathParams.id}.isInviting":common.common170,"links.memberOf.@{pathParams.id}.toBeValidated":common.common170},"patternProperties":{"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common162,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common162,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common162,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common182,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common184,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common182},"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common186},"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.common87,"countType":common.common187,"fediverse":common.common142,"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.common161,"links.friends.@{pathParams.id}.isInviting":common.common170,"links.friends.@{pathParams.id}.toBeValidated":common.common170},"patternProperties":{"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common162,"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common182,"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common182},"type":"object"},"indexMax":common.common86,"indexMin":common.common158,"indexStep":common.common174,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchType":common.common187},"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.common87,"countType":common.common189,"fediverse":common.common142,"filters":{"additionalProperties":false,"allOf":[common.common191],"default":{"links.followers.@userId":common.common161,"links.followers.@{userId}.isInviting":common.common170,"links.followers.@{userId}.toBeValidated":common.common170},"patternProperties":common.common194,"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common189},"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.common87,"countType":common.common189,"fediverse":common.common142,"filters":{"additionalProperties":false,"allOf":[common.common191],"default":{"links.followers.@{pathParams.id}":common.common161,"links.followers.@{pathParams.id}.isInviting":common.common170,"links.followers.@{pathParams.id}.toBeValidated":common.common170},"patternProperties":common.common194,"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common189},"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.common87,"countType":common.common187,"fediverse":common.common142,"filters":{"additionalProperties":false,"allOf":[common.common195],"default":{"links.follows.@userId":common.common161,"links.follows.@{userId}.isInviting":common.common170,"links.follows.@{userId}.toBeValidated":common.common170},"patternProperties":{"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common162,"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common171,"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common171},"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common187},"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.common71,"if":common.common93,"then":common.common89}],"properties":{"id":common.common1,"type":common.common198},"required":["type","id"],"type":"object"},"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common187,"fediverse":common.common142,"filters":{"additionalProperties":false,"allOf":[common.common195],"default":{"links.follows.@{pathParams.id}":common.common161},"maxProperties":1,"minProperties":1,"patternProperties":{"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common162},"type":"object"},"indexMin":common.common158,"indexStep":common.common174,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"searchType":common.common187},"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.common87,"countType":common.common180,"fediverse":common.common142,"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.common162,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common162,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common162,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common182,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common184,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common171},"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common186},"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.common128,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common180,"fediverse":common.common142,"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.common161,"links.projects.@{pathParams.id}.isInviting":common.common170,"links.projects.@{pathParams.id}.toBeValidated":common.common170},"patternProperties":{"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common162,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common162,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common162,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common182,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common184,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common182},"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common186},"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.common87,"countType":common.common199,"fediverse":common.common142,"filters":{"properties":{"$or":{"additionalProperties":false,"minProperties":1,"patternProperties":{"^issuer\\.(?:[a-f0-9]{24}|@\\w+)$":common.common162},"type":"object"},"isParcours":common.common3,"preferences.private":common.common142},"required":["preferences.private"],"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common199},"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.common87,"countType":common.common201,"fediverse":common.common142,"fields":common.common199,"filters":{"oneOf":[{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)$":common.common203}},{"additionalProperties":false,"maxProperties":3,"minProperties":3,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)$":common.common203,"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteEmetteur$":common.common206,"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteRecepteur$":common.common206}},{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":common.common209},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":common.common209,"type":"object"}},"required":["$or"]},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.revoke$":common.common205}},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteEmetteur$":common.common203}}],"type":"object"},"indexMin":common.common158,"indexStep":common.common174,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":{"additionalProperties":false,"default":{"Cooperative":common.common210,"GovernmentOrganization":common.common210,"Group":common.common210,"LocalBusiness":common.common210,"NGO":common.common210,"citoyens":common.common210,"projects":common.common210},"maxProperties":7,"minProperties":7,"patternProperties":{"^[a-zA-Z][a-zA-Z0-9]*$":common.common153},"type":"object"},"searchType":common.common201},"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.common106,"then":{"properties":{"connectType":{"const":"friend","default":"friend"}}}},{"if":common.common211,"then":{"properties":{"connectType":{"enum":["admin","member"]}}}},{"if":common.common213,"then":{"properties":{"connectType":{"enum":["admin","contributor"]}}}},{"if":common.common215,"then":{"properties":{"connectType":{"default":"attendee","enum":["attendee","connect"]}}}}],"properties":{"childId":common.common217,"childType":common.common218,"connectType":{"enum":["admin","member","contributor","attendee","friend","connect"],"type":"string"},"parentId":common.common11,"parentType":common.common219},"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.common106,"then":{"properties":{"connectType":{"default":"friends","enum":["friends","followers"]}}}},{"if":common.common211,"then":{"properties":{"connectType":{"default":"members","enum":["members","followers"]}}}},{"if":common.common213,"then":{"properties":{"connectType":{"default":"contributors","enum":["contributors","followers"]}}}},{"if":common.common215,"then":{"properties":{"connectType":{"default":"attendees","enum":["attendees","followers"]}}}}],"properties":{"childId":common.common217,"childType":common.common218,"connectType":{"enum":["members","contributors","attendees","friends","followers"],"type":"string"},"parentId":common.common11,"parentType":common.common219},"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.common86},"type":"object"},"request":{"additionalProperties":false,"properties":{"collection":common.common220,"id":common.common221,"path":{"const":"preferences.search.@{pathParams.index}","default":"preferences.search.@{pathParams.index}","type":"string"},"pull":{"const":"preferences.search","type":"string"},"value":common.common143},"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.common205,"collection":common.common220,"id":common.common221,"path":{"const":"preferences.search","default":"preferences.search","type":"string"}},"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":true,"properties":{"address":common.common75,"buildingSurfaceArea":common.common86,"collection":{"const":"organizations","default":"organizations","type":"string"},"compagnon":common.common1,"costum":{"additionalProperties":true,"properties":{"bannerImageUrl":common.common1,"bannerLogoUrl":common.common1,"bannerText":common.common1,"cocity":common.common129,"slug":common.common1,"transparentCommune":common.common129,"typeCocity":common.common1},"required":[],"type":"object"},"costumEditMode":common.common3,"costumId":common.common1,"costumSlug":common.common1,"costumType":common.common1,"description":common.common1,"email":common.common2,"filiere":{"additionalProperties":{"additionalProperties":false,"properties":{"icon":common.common1,"name":common.common1,"tags":common.common33},"required":["name","icon","tags"],"type":"object"},"type":"object"},"geo":common.common79,"geoPosition":common.common83,"holderOrganization":common.common1,"id":common.common11,"key":{"const":"organization","default":"organization","type":"string"},"mainTag":common.common1,"manageModel":common.common1,"name":common.common222,"openingDate":common.common1,"openingHours":{"items":{"oneOf":[common.common31,{"additionalProperties":false,"properties":{"dayOfWeek":common.common223,"hours":{"items":common.common224,"type":"array"}},"required":["dayOfWeek","hours"],"type":"object"}]},"maxItems":7,"minItems":7,"type":"array"},"preferences":common.common227,"role":{"enum":["admin","member"],"type":"string"},"scope":common.common143,"shortDescription":common.common1,"siteSurfaceArea":common.common86,"source":common.common230,"tags":common.common33,"telephone":common.common1,"thematic":common.common33,"type":common.common66,"typePlace":common.common1,"url":common.common35,"video":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.common75,"collection":common.common232,"geo":common.common79,"geoPosition":common.common83,"id":common.common11,"key":{"const":"project","default":"project","type":"string"},"name":common.common1,"parent":common.common233,"preferences":{"default":{"crowdfunding":true,"isOpenData":false,"isOpenEdition":false},"properties":{"crowdfunding":common.common110,"isOpenData":common.common129,"isOpenEdition":common.common129},"required":["isOpenData","isOpenEdition"],"type":"object"},"public":common.common110,"scope":common.common143,"shortDescription":common.common1,"tags":common.common33,"url":common.common35},"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.common75,"aps_name":common.common33,"categorie":common.common1,"collection":common.common236,"description":common.common1,"equip_acc_libre":common.common3,"equip_douche":common.common3,"equip_eclair":common.common3,"equip_gest_type":common.common1,"equip_larg":common.common86,"equip_loc_type":common.common33,"equip_long":common.common86,"equip_maj_date":common.common1,"equip_nature":common.common1,"equip_pmr_acc":common.common3,"equip_pmr_chem":common.common3,"equip_pmr_douche":common.common3,"equip_pmr_sanit":common.common3,"equip_pmr_trib":common.common3,"equip_pmr_vest":common.common3,"equip_prop_nom":common.common1,"equip_prop_type":common.common1,"equip_pshs_aire":common.common3,"equip_pshs_chem":common.common3,"equip_pshs_sanit":common.common3,"equip_pshs_sign":common.common3,"equip_pshs_trib":common.common3,"equip_pshs_vest":common.common3,"equip_sol":common.common1,"equip_surf":common.common86,"equip_type_famille":common.common1,"equip_type_name":common.common1,"equip_utilisateur":common.common33,"geo":common.common79,"geoPosition":common.common83,"id":common.common11,"inst_acc_handi_bool":common.common3,"inst_acc_handi_type":common.common1,"inst_date_creation":common.common1,"inst_enqu_date":common.common1,"inst_nom":common.common1,"inst_part_bool":common.common3,"inst_part_type":common.common33,"inst_trans_bool":common.common3,"inst_trans_type":common.common1,"key":common.common236,"name":common.common1,"parent":common.common233,"scope":common.common143,"source":common.common230,"tags":common.common33,"type":common.common67,"urls":common.common33},"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.common173}},"properties":{"address":common.common74,"collection":common.common237,"email":common.common30,"endDate":common.common238,"geo":common.common79,"geoPosition":common.common83,"id":common.common11,"key":{"const":"event","default":"event","type":"string"},"name":{"minLength":2,"type":"string"},"openingHours":{"default":["","","","","","",""],"items":{"anyOf":[common.common31,{"additionalProperties":false,"properties":{"dayOfWeek":common.common223,"hours":{"default":[],"items":common.common224,"type":"array"}},"required":["dayOfWeek","hours"],"type":"object"}]},"maxItems":7,"minItems":7,"type":"array"},"organizer":common.common233,"parent":{"oneOf":[common.common62,common.common31]},"preferences":{"default":{"isOpenData":false,"isOpenEdition":false},"properties":{"isOpenData":common.common129,"isOpenEdition":common.common129},"required":["isOpenData","isOpenEdition"],"type":"object"},"public":common.common110,"recurrency":common.common129,"scope":common.common143,"shortDescription":{"format":"textarea","type":"string"},"startDate":common.common238,"tags":{"anyOf":[common.common33,common.common31]},"timeZone":common.common1,"type":common.common65,"url":common.common35},"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.common128,"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.common128,"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.common239,"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.common49,"linkOption":{"enum":["isInviting","toBeValidated","isAdminPending"],"type":"string"},"parentId":common.common11,"parentType":common.common219},"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.common240,"request":{"additionalProperties":false,"properties":{"indexMin":common.common111},"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.common240,"request":{"additionalProperties":false,"properties":{"refreshTimestamp":common.common239},"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.common87},"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.common128},{"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.common128},{"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.common243,"criteria":{"additionalProperties":false,"properties":{"narrative":common.common1},"required":["narrative"],"type":"object"},"description":common.common1,"id":common.common11,"isParcours":common.common129,"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.common244,"name":common.common1,"parent":{"additionalProperties":false,"patternProperties":{"^[a-f0-9]{24}$":{"additionalProperties":false,"properties":{"name":common.common1,"type":common.common243},"required":["type"],"type":"object"}},"type":"object"},"preferences":common.common227,"public":common.common110,"scope":common.common143,"tags":common.common33},"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.common58},"type":"object"},"badgeId":common.common11,"collection":common.common243,"evidences":{"items":{"additionalProperties":false,"properties":{"narative":common.common1,"url":common.common4},"required":["narative"],"type":"object"},"type":"array"},"key":common.common244,"narative":common.common1,"scope":common.common143},"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":true,"properties":{"count":common.common129,"countType":{"const":["events"],"default":["events"],"type":"array"},"endDateUTC":common.common238,"fediverse":common.common129,"filters":{"additionalProperties":false,"default":{"$or":{"links.attendees.@userId":common.common161,"organizer.@userId":common.common161},"links.attendees.@userId":common.common161},"patternProperties":{"^links\\.attendees\\.(?:[a-f0-9]{24}|@\\w+)$":common.common162},"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":{"^links\\.attendees\\.(?:[a-f0-9]{24}|@\\w+)$":common.common162,"^organizer\\.(?:[a-f0-9]{24}|@\\w+)$":common.common162},"type":"object"}},"required":["$or"],"type":"object"},"indexMin":common.common111,"indexStep":{"default":100,"type":"integer"},"locality":{"patternProperties":{"^[^\\s]+$":{"type":"object"}},"type":"object"},"name":common.common1,"recurrency":common.common110,"searchType":{"const":["events"],"default":["events"],"items":{"enum":["events"],"type":"string"},"type":"array"},"startDateUTC":common.common238,"type":common.common65},"required":["searchType","indexMin","indexStep","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.common130,"if":common.common132,"properties":{"childId":common.common11,"childType":common.common70,"comment":common.common1,"connectType":common.common134,"parentId":common.common11,"parentType":common.common237},"required":["parentId","childId","childType","connectType","parentType"],"then":common.common135,"type":"object"}},{"auth":"bearer","constant":"INVITE_EVENT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/multiconnect","request":{"additionalProperties":false,"else":common.common104,"if":common.common106,"properties":{"listInvite":{"additionalProperties":false,"minProperties":1,"properties":{"citoyens":common.common245,"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.common249,"msg":common.common1,"name":common.common1,"roles":common.common33},"required":["name","email"],"type":"object"}},"type":"object"},"organizations":common.common245,"projects":common.common245},"type":"object"},"parentId":common.common1,"parentType":common.common70},"required":["parentId","parentType","listInvite"],"then":common.common108,"type":"object"}},{"auth":"bearer","constant":"FOLLOW","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/follow","request":{"additionalProperties":false,"properties":{"childId":common.common217,"childType":common.common218,"parentId":common.common11,"parentType":common.common219},"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":common.common250},{"auth":"none","constant":"NAVIGATOR_GETTL","contentType":"application/x-www-form-urlencoded","functionCocostum":"gettl","method":"POST","path":"/costum/navigator/gettl","request":common.common250},{"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.common270,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common252,"costumEditMode":common.common129,"costumId":common.common11,"costumSlug":common.common1,"costumType":common.common252,"mode":common.common1,"parent_only":common.common3,"sourceKey":common.common33,"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.common270,"request":{"additionalProperties":false,"allOf":[{"if":{"properties":{"date":common.common1},"required":["date"]},"then":{"required":["timezone"]}}],"properties":{"contextId":common.common11,"contextType":common.common252,"costumEditMode":common.common129,"costumId":common.common11,"costumSlug":common.common1,"costumType":common.common252,"date":{"oneOf":[common.common1,{"properties":{"between":{"properties":{"end":common.common44,"start":common.common44},"required":["start","end"],"type":"object"}},"required":["between"],"type":"object"}]},"fromToday":common.common3,"mode":common.common1,"regions":common.common273,"sourceKey":common.common33,"tags":common.common33,"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.common270,"request":common.common276},{"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.common270,"request":common.common276},{"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.common270,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common252,"costumEditMode":common.common129,"costumId":common.common11,"costumSlug":common.common1,"costumType":common.common252,"mode":common.common1,"regions":common.common273,"sourceKey":common.common33,"tags":common.common33,"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.common270,"request":common.common276},{"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.common270,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common252,"costumEditMode":common.common129,"costumId":common.common11,"costumSlug":common.common1,"costumType":common.common252,"event":common.common1,"mode":common.common1,"sourceKey":common.common33,"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.common270,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common252,"costumEditMode":common.common129,"costumId":common.common11,"costumSlug":common.common1,"costumType":common.common252,"event":common.common11,"mode":common.common1,"search":common.common1,"sourceKey":common.common33},"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.common71,"if":common.common93,"properties":{"docType":{"default":"image","enum":["image","file","bookmarks"],"type":"string"},"id":common.common1,"type":common.common198},"required":["id","type","docType"],"then":common.common89,"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.common87,"countType":common.common187,"fediverse":common.common142,"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.common162,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common162,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common162,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common182,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common184,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common171},"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common187},"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.common128,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common187,"fediverse":common.common142,"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.common161,"links.events.@{pathParams.id}.isInviting":common.common170,"links.events.@{pathParams.id}.toBeValidated":common.common170},"patternProperties":{"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common162,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common162,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common162,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common182,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common184,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common182},"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common187},"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.common252,"costumEditMode":common.common129,"costumId":common.common11,"costumSlug":common.common1,"costumType":common.common252,"count":common.common87,"countType":common.common278,"fediverse":common.common129,"fields":common.common33,"filters":common.common255,"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common146,"mapUsed":common.common205,"mode":common.common1,"name":common.common1,"notSourceKey":common.common205,"options":common.common264,"ranges":common.common151,"searchBy":common.common155,"searchTags":common.common33,"searchType":common.common278,"sortBy":common.common268,"sourceKey":common.common33},"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.common33,"finderPath":common.common10,"formId":common.common1},"required":["answerId"],"type":"object"}},{"auth":"none","constant":"GET_COFORM_BY_ID","contentType":"application/x-www-form-urlencoded","functionCocostum":"getformbyid","method":"POST","path":"/survey/coform/getformbyid","request":{"additionalProperties":false,"properties":{"elementId":common.common11,"elementType":{"enum":["organizations","projects","events","poi","citoyens"],"type":"string"},"parentFormId":common.common11},"required":["parentFormId"],"type":"object"}},{"auth":"bearer","constant":"COFORM_UPLOAD_ANSWER_FILE","contentType":"multipart/form-data","method":"POST","path":"/survey/coform/uploadanswerfile","request":{"additionalProperties":false,"properties":{"answerId":common.common11,"contentKey":{"default":"slider","type":"string"},"docType":{"default":"image","enum":["image","file"],"type":"string"},"formId":common.common11,"qqfile":common.common256,"qqfilename":common.common1,"qqtotalfilesize":common.common86,"qquuid":common.common1,"subKey":common.common1},"required":["formId","qquuid","qqfilename","qqtotalfilesize","qqfile"],"type":"object"}},{"auth":"bearer","constant":"COFORM_GET_ANSWER_FILES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/survey/coform/getanswerfiles","request":{"additionalProperties":false,"properties":{"answerId":common.common11,"contentKey":{"default":"presentation","type":"string"},"docType":{"default":"file","enum":["image","file"],"type":"string"},"subKey":common.common1},"required":["answerId","subKey"],"type":"object"}},{"auth":"none","constant":"GET_COFORM_CATALOGS","contentType":"application/x-www-form-urlencoded","functionCocostum":"getformcatalogs","method":"POST","path":"/survey/coform/getformcatalogs","request":{"additionalProperties":false,"properties":{"formId":common.common11,"inputKeys":common.common1},"required":["formId","inputKeys"],"type":"object"}},{"auth":"bearer","constant":"SAVE_COFORM_ANSWER","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/survey/coform/saveanswer","request":{"additionalProperties":false,"properties":{"addedOptions":common.common1,"answerId":common.common11,"answers":common.common1,"formId":common.common11,"links":common.common1},"required":["formId","answers"],"type":"object"}},{"auth":"bearer","constant":"GET_COFORM_ANSWER_HISTORY","contentType":"application/x-www-form-urlencoded","functionCocostum":"getCoformAnswerHistory","method":"POST","path":"/survey/coform/getanswerhistory","request":{"additionalProperties":false,"properties":{"answerId":common.common11},"required":["answerId"],"type":"object"}},{"auth":"bearer","constant":"GET_COFORM_MULTIEVAL_DATA","contentType":"application/x-www-form-urlencoded","functionCocostum":"getCoformMultiEvalData","method":"POST","path":"/survey/coform/getmultievaldata","request":{"additionalProperties":false,"properties":{"answerId":common.common11,"stepKey":common.common1},"required":["answerId"],"type":"object"}},{"auth":"bearer","constant":"GET_COFORM_COMMONTABLE_CONTRIBUTORS","contentType":"application/x-www-form-urlencoded","functionCocostum":"getCoformCommonTableContributors","method":"POST","path":"/survey/coform/getcommontablecontributors","request":{"additionalProperties":false,"properties":{"criteriaIds":common.common1,"formId":common.common11,"inputKey":common.common1},"required":["formId","inputKey","criteriaIds"],"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.common280,"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.common280,"details":{"additionalProperties":false,"properties":{"comment":common.common1,"reason":common.common1},"required":["reason"],"type":"object"},"id":common.common11},"required":["id","collection","action","details"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_PATH_VALUE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updatepathvalue","request":{"additionalProperties":false,"allOf":[{"if":{"required":["pull"]},"then":{"properties":{"value":common.common1}}}],"properties":{"arrayForm":common.common3,"collection":{"default":"citoyens","enum":["citoyens","organizations","projects","events","poi","answers","forms","actions"],"type":"string"},"edit":common.common3,"formParentId":common.common11,"id":common.common5,"path":common.common1,"pull":common.common1,"setType":{"anyOf":[common.common281,{"items":{"additionalProperties":false,"properties":{"path":common.common1,"type":common.common1},"required":["path","type"],"type":"object"},"type":"array"}]},"updatePartial":common.common3,"value":{"type":["string","number","boolean","object","array","null"]}},"required":["id","collection","path","value"],"type":"object"}},{"auth":"bearer","constant":"DELETE_DOCUMENT_BY_CONTEXT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/document/delete/dir/co2/contextType/{contextType}/contextId/{contextId}","pathParams":{"additionalProperties":false,"properties":{"contextId":common.common5,"contextType":common.common282},"required":["contextType","contextId"],"type":"object"},"request":{"additionalProperties":false,"properties":{"ids":common.common11,"parentId":common.common5,"parentType":common.common282,"path":{"const":"communecter","default":"communecter","type":"string"}},"required":["id","collection","path","value"],"type":"object"}},{"auth":"bearer","constant":"DELETE_DOCUMENT_BY_ID","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/document/deletedocumentbyid/id/{id}","pathParams":common.common128},{"auth":"bearer","constant":"DEMOTE_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/updateadminlink/","request":{"additionalProperties":false,"properties":{"childId":common.common11,"childType":common.common188,"connect":{"enum":["members","contributors"],"type":"string"},"isAdmin":common.common142,"parentId":common.common11,"parentType":{"enum":["organizations","projects"],"type":"string"}},"required":["parentId","parentType","childId","childType","connect","isAdmin"],"type":"object"}},{"constant":"COSTUM_FILTER_COFORM","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/costum/francetierslieux/autoglobalthematicntwrk","request":{"properties":{"costumId":common.common1,"costumSlug":common.common1,"costumType":common.common1,"searchedData":common.common256},"type":"object"}},{"constant":"COSTUM_FILTER_COFORM_BY_PATH","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/costum/francetierslieux/autoglobalthematicntwrk","request":{"additionalProperties":true,"properties":{"contextId":common.common11,"contextType":common.common252,"costumEditMode":common.common129,"costumId":common.common11,"costumSlug":common.common1,"costumType":common.common252,"count":common.common129,"fediverse":common.common129,"fields":common.common33,"filters":{"oneOf":[common.common256,common.common31]},"indexMin":common.common144,"indexStep":{"default":10000,"type":"number"},"initType":common.common10,"locality":{"oneOf":[common.common256,{"items":common.common256,"type":"array"},common.common31]},"notSourceKey":common.common110,"params":{"additionalProperties":false,"properties":{"finderPath":common.common1,"thematicPath":common.common1},"required":["thematicPath"],"type":"object"},"searchType":{"default":["answers"],"items":common.common1,"type":"array"},"sortBy":common.common268,"sourceKey":common.common33},"required":["params"],"type":"object"}},{"auth":"none","constant":"GET_COUNTRIES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/opendata/getcountries","request":{"additionalProperties":false,"properties":{"costumEditMode":{"oneOf":[{"enum":["true","false"],"type":"string"},{"enum":[0,1],"type":"number"},common.common3]},"costumId":common.common11,"costumSlug":common.common1,"costumType":{"enum":["organizations","projects","events","citoyens","poi"],"type":"string"}},"type":"object"}},{"constant":"SEARCH_ZONES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/getzone","request":{"properties":{"costumId":common.common1,"costumSlug":common.common1,"costumType":common.common1,"countryCode":common.common283,"level":common.common283,"sortBy":common.common1,"upperLevelId":common.common1},"required":["countryCode","level"],"type":"object"}},{"auth":"none","constant":"COFORM_ANSWERS_BY_FORMS","contentType":"application/x-www-form-urlencoded","functionCocostum":"findanswers","method":"POST","path":"/costum/francetierslieux/getallanswersbyforms","request":{"properties":{"forms":{"patternProperties":{"^[a-fA-F0-9]{24}$":common.common1},"type":"object"}},"type":"object"}},{"auth":"none","constant":"GENERATE_ANSWER_FROM_FORM","contentType":"application/x-www-form-urlencoded","functionCocostum":"generateanswerfromform","method":"POST","path":"/survey/answer/newanswer/form/{formId}","pathParams":{"additionalProperties":false,"properties":{"formId":common.common11},"required":["formId"],"type":"object"},"request":{"properties":{"action":common.common1},"type":"object"}},{"auth":"none","constant":"FUNDING_ENVELOPE","contentType":"application/x-www-form-urlencoded","functionCocostum":"fundingenvelope","method":"POST","path":"/co2/aap/fundingenvelope","request":{"additionalProperties":true,"properties":{"action":common.common1,"answer":common.common11,"contextId":{"pattern":"^(?:[a-f0-9]{24}|@userId)$","type":"string"},"contextType":common.common1,"financerId":common.common11,"financerType":common.common1,"formId":common.common11,"params":common.common256,"project":common.common11},"required":["contextId","contextType"],"type":"object"}},{"auth":"none","constant":"COREMU_OPERATION","contentType":"application/x-www-form-urlencoded","functionCocostum":"coremuoperation","method":"POST","path":"/co2/aap/coremuoperation/","request":{"additionalProperties":true,"properties":{"action":{"const":"generateproposition","type":"string"},"answer":{"const":"new","type":"string"},"form":common.common11,"project":common.common11},"required":["form","answer","action","project"],"type":"object"}},{"auth":"bearer","constant":"COSTUM_PROJECT_ACTION_REQUEST_NEW","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumProjectActionRequestNew","method":"POST","path":"/costum/project/action/request/new","request":{"additionalProperties":false,"properties":{"assign":common.common11,"credits":{"default":1,"minimum":0,"type":"number"},"endDate":common.common238,"idParentRoom":common.common11,"importance":{"default":"low","type":"string"},"is_contributor":common.common3,"max":common.common157,"mentions":common.common33,"milestone":{"additionalProperties":false,"properties":{"endDate":common.common238,"milestoneId":common.common11,"startDate":common.common238},"required":["milestoneId"],"type":"object"},"min":common.common157,"name":common.common1,"parentId":common.common11,"parentType":common.common232,"startDate":common.common238,"status":{"default":"todo","enum":["todo","done","tracking","discuter","next","totest","disabled","closed"],"type":"string"},"tags":common.common33,"timeSpent":common.common157,"urls":common.common32},"required":["name","status","parentId","parentType"],"type":"object"}},{"auth":"bearer","constant":"COSTUM_PROJECT_ACTION_REQUEST_SET_STATUS","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumProjectActionRequestSetStatus","method":"POST","path":"/costum/project/action/request/set_status","request":{"additionalProperties":false,"properties":{"id":common.common11,"status":{"enum":["todo","done","tracking","discuter","next","totest","disabled","closed"],"type":"string"},"user":common.common11},"required":["id","status"],"type":"object"}},{"auth":"bearer","constant":"COSTUM_PROJECT_ACTION_REQUEST_SET_DATE","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumProjectActionRequestSetDate","method":"POST","path":"/costum/project/action/request/set_date","request":{"additionalProperties":false,"properties":{"endDate":common.common1,"id":common.common11,"startDate":common.common1},"required":["id"],"type":"object"}},{"auth":"bearer","constant":"COSTUM_PROJECT_ACTION_REQUEST_SET_CONTRIBUTORS","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumProjectActionRequestSetContributors","method":"POST","path":"/costum/project/action/request/set_contributors","request":{"additionalProperties":false,"properties":{"action":common.common11,"contributor":common.common11,"contributors":common.common112,"participate":{"enum":[0,1],"type":"integer"}},"required":["action"],"type":"object"}},{"auth":"bearer","constant":"COSTUM_PROJECT_ACTION_REQUEST_CANCEL","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumProjectActionRequestCancel","method":"POST","path":"/costum/project/action/request/cancel","request":common.common128},{"auth":"bearer","constant":"COSTUM_PROJECT_ACTION_REQUEST_ARCHIVE","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumProjectActionRequestArchive","method":"POST","path":"/costum/project/action/request/archive","request":common.common128},{"auth":"bearer","constant":"LINK_DISCOURSE_ACCOUNT","contentType":"application/x-www-form-urlencoded","functionCocostum":"linkDiscourseAccount","method":"POST","path":"/interop/discourse/linkAccount","request":common.common284},{"auth":"bearer","constant":"UNLINK_DISCOURSE_ACCOUNT","contentType":"application/x-www-form-urlencoded","functionCocostum":"unlinkDiscourseAccount","method":"POST","path":"/interop/discourse/unlinkAccount","request":common.common286},{"auth":"none","constant":"DISCOURSE_PROFILE","contentType":"application/x-www-form-urlencoded","functionCocostum":"getDiscourseProfile","method":"POST","path":"/interop/discourse/profile","request":common.common284},{"auth":"bearer","constant":"DISCOURSE_CHECK_EMAIL","contentType":"application/x-www-form-urlencoded","functionCocostum":"checkDiscourseEmailMatch","method":"POST","path":"/interop/discourse/checkEmailMatch","request":common.common286},{"auth":"bearer","constant":"DISCOURSE_DISMISS_LINK","contentType":"application/x-www-form-urlencoded","functionCocostum":"dismissDiscourseLink","method":"POST","path":"/interop/discourse/dismissDiscourseLink","request":common.common286},{"auth":"bearer","constant":"LINK_MEDIAWIKI_ACCOUNT","contentType":"application/x-www-form-urlencoded","functionCocostum":"linkMediaWikiAccount","method":"POST","path":"/interop/mediawiki/linkAccount","request":common.common284},{"auth":"bearer","constant":"UNLINK_MEDIAWIKI_ACCOUNT","contentType":"application/x-www-form-urlencoded","functionCocostum":"unlinkMediaWikiAccount","method":"POST","path":"/interop/mediawiki/unlinkAccount","request":common.common286},{"auth":"none","constant":"GET_MEDIAWIKI_CONTRIBUTIONS","contentType":"application/x-www-form-urlencoded","functionCocostum":"getMediaWikiContributions","method":"POST","path":"/interop/mediawiki/contribs","request":{"additionalProperties":true,"properties":{"costumId":common.common1,"costumSlug":common.common1,"costumType":common.common1,"limit":common.common239,"username":common.common1},"required":["username","costumSlug","costumId","costumType"],"type":"object"}},{"auth":"bearer","constant":"ADD_CLASSIFIED","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":true,"properties":{"address":{"additionalProperties":false,"properties":{"@type":common.common77,"addressCountry":common.common1,"addressLocality":common.common1,"codeInsee":common.common1,"level1":common.common1,"level1Name":common.common1,"level2":common.common1,"level2Name":common.common1,"level3":common.common78,"level3Name":common.common78,"level4":common.common78,"level4Name":common.common78,"localityId":common.common1,"postalCode":common.common1,"streetAddress":common.common1},"required":["@type","addressCountry","codeInsee","addressLocality","localityId","level1","level1Name"],"type":"object"},"category":{"enum":["service","competence","material"],"type":"string"},"collection":{"const":"classifieds","default":"classifieds","type":"string"},"description":common.common1,"geo":common.common79,"geoPosition":common.common83,"id":common.common11,"key":{"const":"classified","default":"classified","type":"string"},"name":common.common222,"parent":common.common233,"preferences":common.common227,"scope":common.common143,"section":{"enum":["need","offer"],"type":"string"},"subtype":common.common281,"tags":common.common33},"required":["id","collection","key","name","section","category","subtype","scope"],"type":"object"}}]};
|
|
4004
4123
|
|
|
4005
4124
|
export default endpoints;
|