@communecter/cocolight-api-client 1.0.126 → 1.0.127
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/api/EndpointApi.types.ts +61 -5
- package/src/endpoints.module.ts +118 -114
- package/types/api/EndpointApi.types.d.ts +61 -5
- package/types/endpoints.module.d.ts +735 -5
package/src/endpoints.module.ts
CHANGED
|
@@ -1716,11 +1716,15 @@ const common = {
|
|
|
1716
1716
|
"type": "string"
|
|
1717
1717
|
},
|
|
1718
1718
|
"common155": {
|
|
1719
|
-
"default": 0,
|
|
1720
1719
|
"minimum": 0,
|
|
1721
1720
|
"type": "integer"
|
|
1722
1721
|
},
|
|
1723
1722
|
"common156": {
|
|
1723
|
+
"default": 0,
|
|
1724
|
+
"minimum": 0,
|
|
1725
|
+
"type": "integer"
|
|
1726
|
+
},
|
|
1727
|
+
"common157": {
|
|
1724
1728
|
"const": [
|
|
1725
1729
|
"projects"
|
|
1726
1730
|
],
|
|
@@ -1735,16 +1739,16 @@ const common = {
|
|
|
1735
1739
|
},
|
|
1736
1740
|
"type": "array"
|
|
1737
1741
|
},
|
|
1738
|
-
"
|
|
1742
|
+
"common158": {
|
|
1739
1743
|
"enum": [
|
|
1740
1744
|
"projects"
|
|
1741
1745
|
],
|
|
1742
1746
|
"type": "string"
|
|
1743
1747
|
},
|
|
1744
|
-
"
|
|
1748
|
+
"common159": {
|
|
1745
1749
|
"$exists": true
|
|
1746
1750
|
},
|
|
1747
|
-
"
|
|
1751
|
+
"common160": {
|
|
1748
1752
|
"additionalProperties": false,
|
|
1749
1753
|
"properties": {
|
|
1750
1754
|
"$exists": {
|
|
@@ -1756,15 +1760,15 @@ const common = {
|
|
|
1756
1760
|
],
|
|
1757
1761
|
"type": "object"
|
|
1758
1762
|
},
|
|
1759
|
-
"
|
|
1763
|
+
"common161": {
|
|
1760
1764
|
"$exists": {
|
|
1761
1765
|
"const": true
|
|
1762
1766
|
}
|
|
1763
1767
|
},
|
|
1764
|
-
"
|
|
1768
|
+
"common162": {
|
|
1765
1769
|
"const": true
|
|
1766
1770
|
},
|
|
1767
|
-
"
|
|
1771
|
+
"common163": {
|
|
1768
1772
|
"additionalProperties": false,
|
|
1769
1773
|
"else": {
|
|
1770
1774
|
"properties": {
|
|
@@ -1808,7 +1812,7 @@ const common = {
|
|
|
1808
1812
|
},
|
|
1809
1813
|
"type": "object"
|
|
1810
1814
|
},
|
|
1811
|
-
"
|
|
1815
|
+
"common164": {
|
|
1812
1816
|
"id": {
|
|
1813
1817
|
"type": "string"
|
|
1814
1818
|
},
|
|
@@ -1822,7 +1826,7 @@ const common = {
|
|
|
1822
1826
|
"type": "string"
|
|
1823
1827
|
}
|
|
1824
1828
|
},
|
|
1825
|
-
"
|
|
1829
|
+
"common165": {
|
|
1826
1830
|
"const": [
|
|
1827
1831
|
"poi"
|
|
1828
1832
|
],
|
|
@@ -1837,7 +1841,7 @@ const common = {
|
|
|
1837
1841
|
},
|
|
1838
1842
|
"type": "array"
|
|
1839
1843
|
},
|
|
1840
|
-
"
|
|
1844
|
+
"common166": {
|
|
1841
1845
|
"const": [
|
|
1842
1846
|
"NGO",
|
|
1843
1847
|
"Cooperative",
|
|
@@ -1864,7 +1868,7 @@ const common = {
|
|
|
1864
1868
|
},
|
|
1865
1869
|
"type": "array"
|
|
1866
1870
|
},
|
|
1867
|
-
"
|
|
1871
|
+
"common167": {
|
|
1868
1872
|
"enum": [
|
|
1869
1873
|
"NGO",
|
|
1870
1874
|
"Cooperative",
|
|
@@ -1874,10 +1878,10 @@ const common = {
|
|
|
1874
1878
|
],
|
|
1875
1879
|
"type": "string"
|
|
1876
1880
|
},
|
|
1877
|
-
"
|
|
1881
|
+
"common168": {
|
|
1878
1882
|
"$exists": false
|
|
1879
1883
|
},
|
|
1880
|
-
"
|
|
1884
|
+
"common169": {
|
|
1881
1885
|
"additionalProperties": false,
|
|
1882
1886
|
"properties": {
|
|
1883
1887
|
"$exists": {
|
|
@@ -1889,19 +1893,19 @@ const common = {
|
|
|
1889
1893
|
],
|
|
1890
1894
|
"type": "object"
|
|
1891
1895
|
},
|
|
1892
|
-
"
|
|
1896
|
+
"common170": {
|
|
1893
1897
|
"$exists": {
|
|
1894
1898
|
"const": false
|
|
1895
1899
|
}
|
|
1896
1900
|
},
|
|
1897
|
-
"
|
|
1901
|
+
"common171": {
|
|
1898
1902
|
"const": false
|
|
1899
1903
|
},
|
|
1900
|
-
"
|
|
1904
|
+
"common172": {
|
|
1901
1905
|
"default": 30,
|
|
1902
1906
|
"type": "integer"
|
|
1903
1907
|
},
|
|
1904
|
-
"
|
|
1908
|
+
"common173": {
|
|
1905
1909
|
"const": [
|
|
1906
1910
|
"citoyens",
|
|
1907
1911
|
"NGO",
|
|
@@ -1931,7 +1935,7 @@ const common = {
|
|
|
1931
1935
|
},
|
|
1932
1936
|
"type": "array"
|
|
1933
1937
|
},
|
|
1934
|
-
"
|
|
1938
|
+
"common174": {
|
|
1935
1939
|
"enum": [
|
|
1936
1940
|
"citoyens",
|
|
1937
1941
|
"NGO",
|
|
@@ -1942,7 +1946,7 @@ const common = {
|
|
|
1942
1946
|
],
|
|
1943
1947
|
"type": "string"
|
|
1944
1948
|
},
|
|
1945
|
-
"
|
|
1949
|
+
"common175": {
|
|
1946
1950
|
"additionalProperties": false,
|
|
1947
1951
|
"properties": {
|
|
1948
1952
|
"$exists": {
|
|
@@ -1955,13 +1959,13 @@ const common = {
|
|
|
1955
1959
|
],
|
|
1956
1960
|
"type": "object"
|
|
1957
1961
|
},
|
|
1958
|
-
"
|
|
1962
|
+
"common176": {
|
|
1959
1963
|
"$exists": {
|
|
1960
1964
|
"default": false,
|
|
1961
1965
|
"type": "boolean"
|
|
1962
1966
|
}
|
|
1963
1967
|
},
|
|
1964
|
-
"
|
|
1968
|
+
"common177": {
|
|
1965
1969
|
"additionalProperties": false,
|
|
1966
1970
|
"properties": {
|
|
1967
1971
|
"$in": {
|
|
@@ -1977,7 +1981,7 @@ const common = {
|
|
|
1977
1981
|
],
|
|
1978
1982
|
"type": "object"
|
|
1979
1983
|
},
|
|
1980
|
-
"
|
|
1984
|
+
"common178": {
|
|
1981
1985
|
"$in": {
|
|
1982
1986
|
"items": {
|
|
1983
1987
|
"type": "string"
|
|
@@ -1986,14 +1990,14 @@ const common = {
|
|
|
1986
1990
|
"type": "array"
|
|
1987
1991
|
}
|
|
1988
1992
|
},
|
|
1989
|
-
"
|
|
1993
|
+
"common179": {
|
|
1990
1994
|
"items": {
|
|
1991
1995
|
"type": "string"
|
|
1992
1996
|
},
|
|
1993
1997
|
"minItems": 1,
|
|
1994
1998
|
"type": "array"
|
|
1995
1999
|
},
|
|
1996
|
-
"
|
|
2000
|
+
"common180": {
|
|
1997
2001
|
"const": [
|
|
1998
2002
|
"citoyens"
|
|
1999
2003
|
],
|
|
@@ -2008,13 +2012,13 @@ const common = {
|
|
|
2008
2012
|
},
|
|
2009
2013
|
"type": "array"
|
|
2010
2014
|
},
|
|
2011
|
-
"
|
|
2015
|
+
"common181": {
|
|
2012
2016
|
"enum": [
|
|
2013
2017
|
"citoyens"
|
|
2014
2018
|
],
|
|
2015
2019
|
"type": "string"
|
|
2016
2020
|
},
|
|
2017
|
-
"
|
|
2021
|
+
"common182": {
|
|
2018
2022
|
"const": [
|
|
2019
2023
|
"citoyens",
|
|
2020
2024
|
"NGO",
|
|
@@ -2047,7 +2051,7 @@ const common = {
|
|
|
2047
2051
|
},
|
|
2048
2052
|
"type": "array"
|
|
2049
2053
|
},
|
|
2050
|
-
"
|
|
2054
|
+
"common183": {
|
|
2051
2055
|
"enum": [
|
|
2052
2056
|
"citoyens",
|
|
2053
2057
|
"NGO",
|
|
@@ -2059,22 +2063,22 @@ const common = {
|
|
|
2059
2063
|
],
|
|
2060
2064
|
"type": "string"
|
|
2061
2065
|
},
|
|
2062
|
-
"
|
|
2066
|
+
"common184": {
|
|
2063
2067
|
"not": {
|
|
2064
2068
|
"propertyNames": {
|
|
2065
2069
|
"pattern": "^(?!links\\.followers\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
|
|
2066
2070
|
}
|
|
2067
2071
|
}
|
|
2068
2072
|
},
|
|
2069
|
-
"
|
|
2073
|
+
"common185": {
|
|
2070
2074
|
"propertyNames": {
|
|
2071
2075
|
"pattern": "^(?!links\\.followers\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
|
|
2072
2076
|
}
|
|
2073
2077
|
},
|
|
2074
|
-
"
|
|
2078
|
+
"common186": {
|
|
2075
2079
|
"pattern": "^(?!links\\.followers\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
|
|
2076
2080
|
},
|
|
2077
|
-
"
|
|
2081
|
+
"common187": {
|
|
2078
2082
|
"^links\\.followers\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$": {
|
|
2079
2083
|
"additionalProperties": false,
|
|
2080
2084
|
"properties": {
|
|
@@ -2112,22 +2116,22 @@ const common = {
|
|
|
2112
2116
|
"type": "object"
|
|
2113
2117
|
}
|
|
2114
2118
|
},
|
|
2115
|
-
"
|
|
2119
|
+
"common188": {
|
|
2116
2120
|
"not": {
|
|
2117
2121
|
"propertyNames": {
|
|
2118
2122
|
"pattern": "^(?!links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
|
|
2119
2123
|
}
|
|
2120
2124
|
}
|
|
2121
2125
|
},
|
|
2122
|
-
"
|
|
2126
|
+
"common189": {
|
|
2123
2127
|
"propertyNames": {
|
|
2124
2128
|
"pattern": "^(?!links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
|
|
2125
2129
|
}
|
|
2126
2130
|
},
|
|
2127
|
-
"
|
|
2131
|
+
"common190": {
|
|
2128
2132
|
"pattern": "^(?!links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"
|
|
2129
2133
|
},
|
|
2130
|
-
"
|
|
2134
|
+
"common191": {
|
|
2131
2135
|
"default": "citoyens",
|
|
2132
2136
|
"enum": [
|
|
2133
2137
|
"citoyens",
|
|
@@ -2136,7 +2140,7 @@ const common = {
|
|
|
2136
2140
|
],
|
|
2137
2141
|
"type": "string"
|
|
2138
2142
|
},
|
|
2139
|
-
"
|
|
2143
|
+
"common192": {
|
|
2140
2144
|
"const": [
|
|
2141
2145
|
"badges"
|
|
2142
2146
|
],
|
|
@@ -2151,13 +2155,13 @@ const common = {
|
|
|
2151
2155
|
},
|
|
2152
2156
|
"type": "array"
|
|
2153
2157
|
},
|
|
2154
|
-
"
|
|
2158
|
+
"common193": {
|
|
2155
2159
|
"enum": [
|
|
2156
2160
|
"badges"
|
|
2157
2161
|
],
|
|
2158
2162
|
"type": "string"
|
|
2159
2163
|
},
|
|
2160
|
-
"
|
|
2164
|
+
"common194": {
|
|
2161
2165
|
"const": [
|
|
2162
2166
|
"citoyens",
|
|
2163
2167
|
"projects",
|
|
@@ -2190,7 +2194,7 @@ const common = {
|
|
|
2190
2194
|
},
|
|
2191
2195
|
"type": "array"
|
|
2192
2196
|
},
|
|
2193
|
-
"
|
|
2197
|
+
"common195": {
|
|
2194
2198
|
"enum": [
|
|
2195
2199
|
"citoyens",
|
|
2196
2200
|
"projects",
|
|
@@ -2202,7 +2206,7 @@ const common = {
|
|
|
2202
2206
|
],
|
|
2203
2207
|
"type": "string"
|
|
2204
2208
|
},
|
|
2205
|
-
"
|
|
2209
|
+
"common196": {
|
|
2206
2210
|
"additionalProperties": false,
|
|
2207
2211
|
"properties": {
|
|
2208
2212
|
"$exists": {
|
|
@@ -2215,17 +2219,17 @@ const common = {
|
|
|
2215
2219
|
],
|
|
2216
2220
|
"type": "object"
|
|
2217
2221
|
},
|
|
2218
|
-
"
|
|
2222
|
+
"common197": {
|
|
2219
2223
|
"$exists": {
|
|
2220
2224
|
"const": true,
|
|
2221
2225
|
"type": "boolean"
|
|
2222
2226
|
}
|
|
2223
2227
|
},
|
|
2224
|
-
"
|
|
2228
|
+
"common198": {
|
|
2225
2229
|
"const": true,
|
|
2226
2230
|
"type": "boolean"
|
|
2227
2231
|
},
|
|
2228
|
-
"
|
|
2232
|
+
"common199": {
|
|
2229
2233
|
"additionalProperties": false,
|
|
2230
2234
|
"properties": {
|
|
2231
2235
|
"$exists": {
|
|
@@ -2238,17 +2242,17 @@ const common = {
|
|
|
2238
2242
|
],
|
|
2239
2243
|
"type": "object"
|
|
2240
2244
|
},
|
|
2241
|
-
"
|
|
2245
|
+
"common200": {
|
|
2242
2246
|
"$exists": {
|
|
2243
2247
|
"const": false,
|
|
2244
2248
|
"type": "boolean"
|
|
2245
2249
|
}
|
|
2246
2250
|
},
|
|
2247
|
-
"
|
|
2251
|
+
"common201": {
|
|
2248
2252
|
"const": false,
|
|
2249
2253
|
"type": "boolean"
|
|
2250
2254
|
},
|
|
2251
|
-
"
|
|
2255
|
+
"common202": {
|
|
2252
2256
|
"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteEmetteur$": {
|
|
2253
2257
|
"additionalProperties": false,
|
|
2254
2258
|
"properties": {
|
|
@@ -2276,52 +2280,52 @@ const common = {
|
|
|
2276
2280
|
"type": "object"
|
|
2277
2281
|
}
|
|
2278
2282
|
},
|
|
2279
|
-
"
|
|
2283
|
+
"common203": {
|
|
2280
2284
|
"indexMax": 30,
|
|
2281
2285
|
"indexMin": 0
|
|
2282
2286
|
},
|
|
2283
|
-
"
|
|
2287
|
+
"common204": {
|
|
2284
2288
|
"properties": {
|
|
2285
2289
|
"parentType": {
|
|
2286
2290
|
"const": "organizations"
|
|
2287
2291
|
}
|
|
2288
2292
|
}
|
|
2289
2293
|
},
|
|
2290
|
-
"
|
|
2294
|
+
"common205": {
|
|
2291
2295
|
"parentType": {
|
|
2292
2296
|
"const": "organizations"
|
|
2293
2297
|
}
|
|
2294
2298
|
},
|
|
2295
|
-
"
|
|
2299
|
+
"common206": {
|
|
2296
2300
|
"properties": {
|
|
2297
2301
|
"parentType": {
|
|
2298
2302
|
"const": "projects"
|
|
2299
2303
|
}
|
|
2300
2304
|
}
|
|
2301
2305
|
},
|
|
2302
|
-
"
|
|
2306
|
+
"common207": {
|
|
2303
2307
|
"parentType": {
|
|
2304
2308
|
"const": "projects"
|
|
2305
2309
|
}
|
|
2306
2310
|
},
|
|
2307
|
-
"
|
|
2311
|
+
"common208": {
|
|
2308
2312
|
"properties": {
|
|
2309
2313
|
"parentType": {
|
|
2310
2314
|
"const": "events"
|
|
2311
2315
|
}
|
|
2312
2316
|
}
|
|
2313
2317
|
},
|
|
2314
|
-
"
|
|
2318
|
+
"common209": {
|
|
2315
2319
|
"parentType": {
|
|
2316
2320
|
"const": "events"
|
|
2317
2321
|
}
|
|
2318
2322
|
},
|
|
2319
|
-
"
|
|
2323
|
+
"common210": {
|
|
2320
2324
|
"default": "@userId",
|
|
2321
2325
|
"pattern": "^([a-f0-9]{24}|@\\w+)$",
|
|
2322
2326
|
"type": "string"
|
|
2323
2327
|
},
|
|
2324
|
-
"
|
|
2328
|
+
"common211": {
|
|
2325
2329
|
"const": "citoyens",
|
|
2326
2330
|
"default": "citoyens",
|
|
2327
2331
|
"enum": [
|
|
@@ -2329,7 +2333,7 @@ const common = {
|
|
|
2329
2333
|
],
|
|
2330
2334
|
"type": "string"
|
|
2331
2335
|
},
|
|
2332
|
-
"
|
|
2336
|
+
"common212": {
|
|
2333
2337
|
"enum": [
|
|
2334
2338
|
"citoyens",
|
|
2335
2339
|
"organizations",
|
|
@@ -2338,22 +2342,22 @@ const common = {
|
|
|
2338
2342
|
],
|
|
2339
2343
|
"type": "string"
|
|
2340
2344
|
},
|
|
2341
|
-
"
|
|
2345
|
+
"common213": {
|
|
2342
2346
|
"const": "citoyens",
|
|
2343
2347
|
"default": "citoyens",
|
|
2344
2348
|
"type": "string"
|
|
2345
2349
|
},
|
|
2346
|
-
"
|
|
2350
|
+
"common214": {
|
|
2347
2351
|
"const": "@userId",
|
|
2348
2352
|
"default": "@userId",
|
|
2349
2353
|
"pattern": "^(?:[a-f0-9]{24}|@userId)$",
|
|
2350
2354
|
"type": "string"
|
|
2351
2355
|
},
|
|
2352
|
-
"
|
|
2356
|
+
"common215": {
|
|
2353
2357
|
"minLength": 3,
|
|
2354
2358
|
"type": "string"
|
|
2355
2359
|
},
|
|
2356
|
-
"
|
|
2360
|
+
"common216": {
|
|
2357
2361
|
"enum": [
|
|
2358
2362
|
"Mo",
|
|
2359
2363
|
"Tu",
|
|
@@ -2365,7 +2369,7 @@ const common = {
|
|
|
2365
2369
|
],
|
|
2366
2370
|
"type": "string"
|
|
2367
2371
|
},
|
|
2368
|
-
"
|
|
2372
|
+
"common217": {
|
|
2369
2373
|
"additionalProperties": false,
|
|
2370
2374
|
"properties": {
|
|
2371
2375
|
"closes": {
|
|
@@ -2383,7 +2387,7 @@ const common = {
|
|
|
2383
2387
|
],
|
|
2384
2388
|
"type": "object"
|
|
2385
2389
|
},
|
|
2386
|
-
"
|
|
2390
|
+
"common218": {
|
|
2387
2391
|
"closes": {
|
|
2388
2392
|
"pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
|
|
2389
2393
|
"type": "string"
|
|
@@ -2393,11 +2397,11 @@ const common = {
|
|
|
2393
2397
|
"type": "string"
|
|
2394
2398
|
}
|
|
2395
2399
|
},
|
|
2396
|
-
"
|
|
2400
|
+
"common219": {
|
|
2397
2401
|
"pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
|
|
2398
2402
|
"type": "string"
|
|
2399
2403
|
},
|
|
2400
|
-
"
|
|
2404
|
+
"common220": {
|
|
2401
2405
|
"default": {
|
|
2402
2406
|
"isOpenData": true,
|
|
2403
2407
|
"isOpenEdition": true
|
|
@@ -2418,11 +2422,11 @@ const common = {
|
|
|
2418
2422
|
],
|
|
2419
2423
|
"type": "object"
|
|
2420
2424
|
},
|
|
2421
|
-
"
|
|
2425
|
+
"common221": {
|
|
2422
2426
|
"isOpenData": true,
|
|
2423
2427
|
"isOpenEdition": true
|
|
2424
2428
|
},
|
|
2425
|
-
"
|
|
2429
|
+
"common222": {
|
|
2426
2430
|
"isOpenData": {
|
|
2427
2431
|
"default": true,
|
|
2428
2432
|
"type": "boolean"
|
|
@@ -2432,12 +2436,12 @@ const common = {
|
|
|
2432
2436
|
"type": "boolean"
|
|
2433
2437
|
}
|
|
2434
2438
|
},
|
|
2435
|
-
"
|
|
2439
|
+
"common223": {
|
|
2436
2440
|
"const": "projects",
|
|
2437
2441
|
"default": "projects",
|
|
2438
2442
|
"type": "string"
|
|
2439
2443
|
},
|
|
2440
|
-
"
|
|
2444
|
+
"common224": {
|
|
2441
2445
|
"additionalProperties": false,
|
|
2442
2446
|
"default": {
|
|
2443
2447
|
"@userId": {
|
|
@@ -2463,32 +2467,32 @@ const common = {
|
|
|
2463
2467
|
},
|
|
2464
2468
|
"type": "object"
|
|
2465
2469
|
},
|
|
2466
|
-
"
|
|
2470
|
+
"common225": {
|
|
2467
2471
|
"@userId": {
|
|
2468
2472
|
"type": "citoyens"
|
|
2469
2473
|
}
|
|
2470
2474
|
},
|
|
2471
|
-
"
|
|
2475
|
+
"common226": {
|
|
2472
2476
|
"type": "citoyens"
|
|
2473
2477
|
},
|
|
2474
|
-
"
|
|
2478
|
+
"common227": {
|
|
2475
2479
|
"const": "poi",
|
|
2476
2480
|
"default": "poi",
|
|
2477
2481
|
"type": "string"
|
|
2478
2482
|
},
|
|
2479
|
-
"
|
|
2483
|
+
"common228": {
|
|
2480
2484
|
"const": "events",
|
|
2481
2485
|
"default": "events",
|
|
2482
2486
|
"type": "string"
|
|
2483
2487
|
},
|
|
2484
|
-
"
|
|
2488
|
+
"common229": {
|
|
2485
2489
|
"format": "date-time",
|
|
2486
2490
|
"type": "string"
|
|
2487
2491
|
},
|
|
2488
|
-
"
|
|
2492
|
+
"common230": {
|
|
2489
2493
|
"type": "integer"
|
|
2490
2494
|
},
|
|
2491
|
-
"
|
|
2495
|
+
"common231": {
|
|
2492
2496
|
"additionalProperties": false,
|
|
2493
2497
|
"properties": {
|
|
2494
2498
|
"id": {
|
|
@@ -2508,7 +2512,7 @@ const common = {
|
|
|
2508
2512
|
],
|
|
2509
2513
|
"type": "object"
|
|
2510
2514
|
},
|
|
2511
|
-
"
|
|
2515
|
+
"common232": {
|
|
2512
2516
|
"id": {
|
|
2513
2517
|
"default": "@userId",
|
|
2514
2518
|
"pattern": "^[a-f0-9]{24}$",
|
|
@@ -2520,22 +2524,22 @@ const common = {
|
|
|
2520
2524
|
"type": "string"
|
|
2521
2525
|
}
|
|
2522
2526
|
},
|
|
2523
|
-
"
|
|
2527
|
+
"common233": {
|
|
2524
2528
|
"default": "@userId",
|
|
2525
2529
|
"pattern": "^[a-f0-9]{24}$",
|
|
2526
2530
|
"type": "string"
|
|
2527
2531
|
},
|
|
2528
|
-
"
|
|
2532
|
+
"common234": {
|
|
2529
2533
|
"const": "badges",
|
|
2530
2534
|
"default": "badges",
|
|
2531
2535
|
"type": "string"
|
|
2532
2536
|
},
|
|
2533
|
-
"
|
|
2537
|
+
"common235": {
|
|
2534
2538
|
"const": "badge",
|
|
2535
2539
|
"default": "badge",
|
|
2536
2540
|
"type": "string"
|
|
2537
2541
|
},
|
|
2538
|
-
"
|
|
2542
|
+
"common236": {
|
|
2539
2543
|
"patternProperties": {
|
|
2540
2544
|
"^[0-9a-f]{24}$": {
|
|
2541
2545
|
"additionalProperties": false,
|
|
@@ -2566,7 +2570,7 @@ const common = {
|
|
|
2566
2570
|
},
|
|
2567
2571
|
"type": "object"
|
|
2568
2572
|
},
|
|
2569
|
-
"
|
|
2573
|
+
"common237": {
|
|
2570
2574
|
"^[0-9a-f]{24}$": {
|
|
2571
2575
|
"additionalProperties": false,
|
|
2572
2576
|
"properties": {
|
|
@@ -2594,7 +2598,7 @@ const common = {
|
|
|
2594
2598
|
"type": "object"
|
|
2595
2599
|
}
|
|
2596
2600
|
},
|
|
2597
|
-
"
|
|
2601
|
+
"common238": {
|
|
2598
2602
|
"additionalProperties": false,
|
|
2599
2603
|
"properties": {
|
|
2600
2604
|
"isAdmin": {
|
|
@@ -2620,7 +2624,7 @@ const common = {
|
|
|
2620
2624
|
],
|
|
2621
2625
|
"type": "object"
|
|
2622
2626
|
},
|
|
2623
|
-
"
|
|
2627
|
+
"common239": {
|
|
2624
2628
|
"isAdmin": {
|
|
2625
2629
|
"default": "",
|
|
2626
2630
|
"enum": [
|
|
@@ -2639,7 +2643,7 @@ const common = {
|
|
|
2639
2643
|
"type": "array"
|
|
2640
2644
|
}
|
|
2641
2645
|
},
|
|
2642
|
-
"
|
|
2646
|
+
"common240": {
|
|
2643
2647
|
"default": "",
|
|
2644
2648
|
"enum": [
|
|
2645
2649
|
"",
|
|
@@ -2647,14 +2651,14 @@ const common = {
|
|
|
2647
2651
|
],
|
|
2648
2652
|
"type": "string"
|
|
2649
2653
|
},
|
|
2650
|
-
"
|
|
2654
|
+
"common241": {
|
|
2651
2655
|
"enum": [
|
|
2652
2656
|
"projects",
|
|
2653
2657
|
"organizations"
|
|
2654
2658
|
],
|
|
2655
2659
|
"type": "string"
|
|
2656
2660
|
},
|
|
2657
|
-
"
|
|
2661
|
+
"common242": {
|
|
2658
2662
|
"items": {
|
|
2659
2663
|
"enum": [
|
|
2660
2664
|
"NGO",
|
|
@@ -2675,7 +2679,7 @@ const common = {
|
|
|
2675
2679
|
},
|
|
2676
2680
|
"type": "array"
|
|
2677
2681
|
},
|
|
2678
|
-
"
|
|
2682
|
+
"common243": {
|
|
2679
2683
|
"enum": [
|
|
2680
2684
|
"NGO",
|
|
2681
2685
|
"LocalBusiness",
|
|
@@ -2693,7 +2697,7 @@ const common = {
|
|
|
2693
2697
|
],
|
|
2694
2698
|
"type": "string"
|
|
2695
2699
|
},
|
|
2696
|
-
"
|
|
2700
|
+
"common244": {
|
|
2697
2701
|
"default": "",
|
|
2698
2702
|
"oneOf": [
|
|
2699
2703
|
{
|
|
@@ -2706,11 +2710,11 @@ const common = {
|
|
|
2706
2710
|
}
|
|
2707
2711
|
]
|
|
2708
2712
|
},
|
|
2709
|
-
"
|
|
2713
|
+
"common245": {
|
|
2710
2714
|
"additionalProperties": true,
|
|
2711
2715
|
"type": "object"
|
|
2712
2716
|
},
|
|
2713
|
-
"
|
|
2717
|
+
"common246": {
|
|
2714
2718
|
"additionalProperties": true,
|
|
2715
2719
|
"properties": {
|
|
2716
2720
|
"tags": {
|
|
@@ -2725,7 +2729,7 @@ const common = {
|
|
|
2725
2729
|
},
|
|
2726
2730
|
"type": "object"
|
|
2727
2731
|
},
|
|
2728
|
-
"
|
|
2732
|
+
"common247": {
|
|
2729
2733
|
"tags": {
|
|
2730
2734
|
"additionalProperties": true,
|
|
2731
2735
|
"properties": {
|
|
@@ -2736,7 +2740,7 @@ const common = {
|
|
|
2736
2740
|
"type": "object"
|
|
2737
2741
|
}
|
|
2738
2742
|
},
|
|
2739
|
-
"
|
|
2743
|
+
"common248": {
|
|
2740
2744
|
"additionalProperties": true,
|
|
2741
2745
|
"properties": {
|
|
2742
2746
|
"verb": {
|
|
@@ -2745,12 +2749,12 @@ const common = {
|
|
|
2745
2749
|
},
|
|
2746
2750
|
"type": "object"
|
|
2747
2751
|
},
|
|
2748
|
-
"
|
|
2752
|
+
"common249": {
|
|
2749
2753
|
"verb": {
|
|
2750
2754
|
"type": "string"
|
|
2751
2755
|
}
|
|
2752
2756
|
},
|
|
2753
|
-
"
|
|
2757
|
+
"common250": {
|
|
2754
2758
|
"additionalProperties": {
|
|
2755
2759
|
"enum": [
|
|
2756
2760
|
1,
|
|
@@ -2760,14 +2764,14 @@ const common = {
|
|
|
2760
2764
|
},
|
|
2761
2765
|
"type": "object"
|
|
2762
2766
|
},
|
|
2763
|
-
"
|
|
2767
|
+
"common251": {
|
|
2764
2768
|
"enum": [
|
|
2765
2769
|
1,
|
|
2766
2770
|
-1
|
|
2767
2771
|
],
|
|
2768
2772
|
"type": "integer"
|
|
2769
2773
|
},
|
|
2770
|
-
"
|
|
2774
|
+
"common252": {
|
|
2771
2775
|
"additionalProperties": false,
|
|
2772
2776
|
"properties": {
|
|
2773
2777
|
"id": {
|
|
@@ -2785,7 +2789,7 @@ const common = {
|
|
|
2785
2789
|
],
|
|
2786
2790
|
"type": "object"
|
|
2787
2791
|
},
|
|
2788
|
-
"
|
|
2792
|
+
"common253": {
|
|
2789
2793
|
"id": {
|
|
2790
2794
|
"pattern": "^[a-f0-9]{24}$",
|
|
2791
2795
|
"type": "string"
|
|
@@ -2795,11 +2799,11 @@ const common = {
|
|
|
2795
2799
|
"type": "string"
|
|
2796
2800
|
}
|
|
2797
2801
|
},
|
|
2798
|
-
"
|
|
2802
|
+
"common254": {
|
|
2799
2803
|
"default": "events",
|
|
2800
2804
|
"type": "string"
|
|
2801
2805
|
},
|
|
2802
|
-
"
|
|
2806
|
+
"common255": {
|
|
2803
2807
|
"items": {
|
|
2804
2808
|
"properties": {
|
|
2805
2809
|
"id": {
|
|
@@ -2813,7 +2817,7 @@ const common = {
|
|
|
2813
2817
|
},
|
|
2814
2818
|
"type": "array"
|
|
2815
2819
|
},
|
|
2816
|
-
"
|
|
2820
|
+
"common256": {
|
|
2817
2821
|
"properties": {
|
|
2818
2822
|
"id": {
|
|
2819
2823
|
"type": "string"
|
|
@@ -2824,12 +2828,12 @@ const common = {
|
|
|
2824
2828
|
],
|
|
2825
2829
|
"type": "object"
|
|
2826
2830
|
},
|
|
2827
|
-
"
|
|
2831
|
+
"common257": {
|
|
2828
2832
|
"id": {
|
|
2829
2833
|
"type": "string"
|
|
2830
2834
|
}
|
|
2831
2835
|
},
|
|
2832
|
-
"
|
|
2836
|
+
"common258": {
|
|
2833
2837
|
"additionalProperties": false,
|
|
2834
2838
|
"properties": {
|
|
2835
2839
|
"contextId": {
|
|
@@ -2859,7 +2863,7 @@ const common = {
|
|
|
2859
2863
|
},
|
|
2860
2864
|
"type": "object"
|
|
2861
2865
|
},
|
|
2862
|
-
"
|
|
2866
|
+
"common259": {
|
|
2863
2867
|
"contextId": {
|
|
2864
2868
|
"pattern": "^[a-f0-9]{24}$",
|
|
2865
2869
|
"type": "string"
|
|
@@ -2885,7 +2889,7 @@ const common = {
|
|
|
2885
2889
|
"type": "array"
|
|
2886
2890
|
}
|
|
2887
2891
|
},
|
|
2888
|
-
"
|
|
2892
|
+
"common260": {
|
|
2889
2893
|
"items": {
|
|
2890
2894
|
"enum": [
|
|
2891
2895
|
"answers"
|
|
@@ -2894,24 +2898,24 @@ const common = {
|
|
|
2894
2898
|
},
|
|
2895
2899
|
"type": "array"
|
|
2896
2900
|
},
|
|
2897
|
-
"
|
|
2901
|
+
"common261": {
|
|
2898
2902
|
"enum": [
|
|
2899
2903
|
"answers"
|
|
2900
2904
|
],
|
|
2901
2905
|
"type": "string"
|
|
2902
2906
|
},
|
|
2903
|
-
"
|
|
2907
|
+
"common262": {
|
|
2904
2908
|
"enum": [
|
|
2905
2909
|
"comments",
|
|
2906
2910
|
"news"
|
|
2907
2911
|
],
|
|
2908
2912
|
"type": "string"
|
|
2909
2913
|
},
|
|
2910
|
-
"
|
|
2914
|
+
"common263": {
|
|
2911
2915
|
"minLength": 1,
|
|
2912
2916
|
"type": "string"
|
|
2913
2917
|
},
|
|
2914
|
-
"
|
|
2918
|
+
"common264": {
|
|
2915
2919
|
"default": "citoyens",
|
|
2916
2920
|
"enum": [
|
|
2917
2921
|
"citoyens",
|
|
@@ -2922,10 +2926,10 @@ const common = {
|
|
|
2922
2926
|
],
|
|
2923
2927
|
"type": "string"
|
|
2924
2928
|
},
|
|
2925
|
-
"
|
|
2929
|
+
"common265": {
|
|
2926
2930
|
"type": "array"
|
|
2927
2931
|
},
|
|
2928
|
-
"
|
|
2932
|
+
"common266": {
|
|
2929
2933
|
"additionalProperties": true,
|
|
2930
2934
|
"properties": {
|
|
2931
2935
|
"costumId": {
|
|
@@ -2949,7 +2953,7 @@ const common = {
|
|
|
2949
2953
|
],
|
|
2950
2954
|
"type": "object"
|
|
2951
2955
|
},
|
|
2952
|
-
"
|
|
2956
|
+
"common267": {
|
|
2953
2957
|
"costumId": {
|
|
2954
2958
|
"type": "string"
|
|
2955
2959
|
},
|
|
@@ -2963,7 +2967,7 @@ const common = {
|
|
|
2963
2967
|
"type": "string"
|
|
2964
2968
|
}
|
|
2965
2969
|
},
|
|
2966
|
-
"
|
|
2970
|
+
"common268": {
|
|
2967
2971
|
"additionalProperties": true,
|
|
2968
2972
|
"properties": {
|
|
2969
2973
|
"costumId": {
|
|
@@ -2983,7 +2987,7 @@ const common = {
|
|
|
2983
2987
|
],
|
|
2984
2988
|
"type": "object"
|
|
2985
2989
|
},
|
|
2986
|
-
"
|
|
2990
|
+
"common269": {
|
|
2987
2991
|
"costumId": {
|
|
2988
2992
|
"type": "string"
|
|
2989
2993
|
},
|
|
@@ -2997,6 +3001,6 @@ const common = {
|
|
|
2997
3001
|
};
|
|
2998
3002
|
|
|
2999
3003
|
// Endpoints avec intégration des définitions communes
|
|
3000
|
-
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"],"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":{"items":common.common11,"type":"array"}},"required":["ids"],"type":"object"}},{"auth":"bearer","constant":"ADD_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/save","request":{"additionalProperties":false,"anyOf":[common.common112,common.common113,common.common114],"else":common.common104,"if":common.common106,"properties":{"json":common.common87,"markdownActive":common.common110,"mediaFile":common.common115,"mediaImg":common.common117,"mentions":common.common119,"parentId":common.common1,"parentType":common.common70,"scope":common.common123,"tags":common.common32,"text":common.common1,"type":common.common124},"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.common125,"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.common125,"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.common127,"request":{"additionalProperties":false,"properties":{"isLive":common.common128},"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.common112,common.common113,common.common114],"else":common.common104,"if":common.common106,"properties":{"idNews":common.common11,"markdownActive":common.common110,"mediaFile":common.common115,"mediaImg":common.common117,"mentions":common.common119,"parentId":common.common1,"parentType":common.common70,"scope":common.common123,"tags":common.common32,"text":common.common1,"type":common.common124},"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.common129,"if":common.common131,"properties":{"childId":common.common11,"childType":common.common70,"comment":common.common1,"connectType":common.common133,"parentId":common.common11,"parentType":common.common124},"required":["parentId","parentType","childId","childType","connectType"],"then":common.common134,"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.common136},"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.common136,"mentions":common.common137,"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.common127},{"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.common137,"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.common140,"type":"array"},"fediverse":common.common141,"filters":common.common142,"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common145,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchTags":common.common33,"searchType":{"items":common.common140,"type":"array"}},"required":["name","searchType","countType","indexMin","indexStep","initType","count","notSourceKey","filters","fediverse"],"type":"object"}},{"auth":"none","constant":"CITY_AUTOCOMPLETE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"indexMax":{"minimum":5,"type":"integer"},"indexMin":{"minimum":0,"type":"integer"},"locality":common.common142,"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.common128,"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.common155,"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.common156,"fediverse":common.common141,"filters":{"additionalProperties":false,"default":{"$or":{"links.contributors.@userId":common.common158,"parent.@userId":common.common158},"links.contributors.@userId":common.common158},"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@\\w+)$":common.common159},"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@\\w+)$":common.common159,"^parent\\.(?:[a-f0-9]{24}|@\\w+)$":common.common159},"type":"object"}},"required":["$or"],"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common156},"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.common162,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common156,"fediverse":common.common141,"filters":{"additionalProperties":false,"default":{"$or":{"links.contributors.@{pathParams.id}":common.common158,"parent.@{pathParams.id}":common.common158},"links.contributors.@{pathParams.id}":common.common158},"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common159},"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common159,"^parent\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common159},"type":"object"}},"required":["$or"],"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common156},"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.common164,"fediverse":common.common141,"filters":{"additionalProperties":false,"default":{"parent.@userId":common.common158},"patternProperties":{"^parent\\.(?:[a-f0-9]{24}|@\\w+)$":common.common159},"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common164},"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.common162,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common164,"fediverse":common.common141,"filters":{"additionalProperties":false,"default":{"parent.@{pathParams.id}":common.common158},"patternProperties":{"^parent\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common159},"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common164},"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.common165,"fediverse":common.common141,"filters":{"additionalProperties":false,"default":{"links.members.@userId":common.common158,"links.members.@userId.isInviting":common.common167,"links.members.@userId.toBeValidated":common.common167},"patternProperties":{"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)$":common.common159,"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common168,"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common168},"type":"object"},"indexMax":common.common86,"indexMin":common.common155,"indexStep":common.common171,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common165},"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.common165,"fediverse":common.common141,"filters":{"additionalProperties":true,"default":{"links.members.@{pathParams.id}":common.common158,"links.members.@{pathParams.id}.isInviting":common.common167,"links.members.@{pathParams.id}.toBeValidated":common.common167},"patternProperties":{"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common159,"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common168,"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common168},"type":"object"},"indexMax":common.common86,"indexMin":common.common155,"indexStep":common.common171,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common165},"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.common172,"fediverse":common.common141,"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.common159,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common159,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common159,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common174,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common176,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common168},"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common172},"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.common127,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common172,"fediverse":common.common141,"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.common158,"links.memberOf.@{pathParams.id}.isInviting":common.common167,"links.memberOf.@{pathParams.id}.toBeValidated":common.common167},"patternProperties":{"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common159,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common159,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common159,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common174,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common176,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common174},"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common172},"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.common179,"fediverse":common.common141,"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.common158,"links.friends.@{pathParams.id}.isInviting":common.common167,"links.friends.@{pathParams.id}.toBeValidated":common.common167},"patternProperties":{"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common159,"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common174,"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common174},"type":"object"},"indexMax":common.common86,"indexMin":common.common155,"indexStep":common.common171,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchType":common.common179},"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.common181,"fediverse":common.common141,"filters":{"additionalProperties":false,"allOf":[common.common183],"default":{"links.followers.@userId":common.common158,"links.followers.@{userId}.isInviting":common.common167,"links.followers.@{userId}.toBeValidated":common.common167},"patternProperties":common.common186,"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common181},"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.common181,"fediverse":common.common141,"filters":{"additionalProperties":false,"allOf":[common.common183],"default":{"links.followers.@{pathParams.id}":common.common158,"links.followers.@{pathParams.id}.isInviting":common.common167,"links.followers.@{pathParams.id}.toBeValidated":common.common167},"patternProperties":common.common186,"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common181},"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.common179,"fediverse":common.common141,"filters":{"additionalProperties":false,"allOf":[common.common187],"default":{"links.follows.@userId":common.common158,"links.follows.@{userId}.isInviting":common.common167,"links.follows.@{userId}.toBeValidated":common.common167},"patternProperties":{"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common159,"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common168,"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common168},"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common179},"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.common190},"required":["type","id"],"type":"object"},"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common179,"fediverse":common.common141,"filters":{"additionalProperties":false,"allOf":[common.common187],"default":{"links.follows.@{pathParams.id}":common.common158},"maxProperties":1,"minProperties":1,"patternProperties":{"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common159},"type":"object"},"indexMin":common.common155,"indexStep":common.common171,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"searchType":common.common179},"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.common172,"fediverse":common.common141,"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.common159,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common159,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common159,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common174,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common176,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common168},"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common172},"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.common127,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common172,"fediverse":common.common141,"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.common158,"links.projects.@{pathParams.id}.isInviting":common.common167,"links.projects.@{pathParams.id}.toBeValidated":common.common167},"patternProperties":{"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common159,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common159,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common159,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common174,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common176,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common174},"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common172},"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.common191,"fediverse":common.common141,"filters":{"properties":{"$or":{"additionalProperties":false,"minProperties":1,"patternProperties":{"^issuer\\.(?:[a-f0-9]{24}|@\\w+)$":common.common159},"type":"object"},"isParcours":common.common3,"preferences.private":common.common141},"required":["preferences.private"],"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common191},"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.common193,"fediverse":common.common141,"fields":common.common191,"filters":{"oneOf":[{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)$":common.common195}},{"additionalProperties":false,"maxProperties":3,"minProperties":3,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)$":common.common195,"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteEmetteur$":common.common198,"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteRecepteur$":common.common198}},{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":common.common201},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":common.common201,"type":"object"}},"required":["$or"]},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.revoke$":common.common197}},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteEmetteur$":common.common195}}],"type":"object"},"indexMin":common.common155,"indexStep":common.common171,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":{"additionalProperties":false,"default":{"Cooperative":common.common202,"GovernmentOrganization":common.common202,"Group":common.common202,"LocalBusiness":common.common202,"NGO":common.common202,"citoyens":common.common202,"projects":common.common202},"maxProperties":7,"minProperties":7,"patternProperties":{"^[a-zA-Z][a-zA-Z0-9]*$":common.common152},"type":"object"},"searchType":common.common193},"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.common203,"then":{"properties":{"connectType":{"enum":["admin","member"]}}}},{"if":common.common205,"then":{"properties":{"connectType":{"enum":["admin","contributor"]}}}},{"if":common.common207,"then":{"properties":{"connectType":{"default":"attendee","enum":["attendee","connect"]}}}}],"properties":{"childId":common.common209,"childType":common.common210,"connectType":{"enum":["admin","member","contributor","attendee","friend","connect"],"type":"string"},"parentId":common.common11,"parentType":common.common211},"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.common203,"then":{"properties":{"connectType":{"default":"members","enum":["members","followers"]}}}},{"if":common.common205,"then":{"properties":{"connectType":{"default":"contributors","enum":["contributors","followers"]}}}},{"if":common.common207,"then":{"properties":{"connectType":{"default":"attendees","enum":["attendees","followers"]}}}}],"properties":{"childId":common.common209,"childType":common.common210,"connectType":{"enum":["members","contributors","attendees","friends","followers"],"type":"string"},"parentId":common.common11,"parentType":common.common211},"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.common212,"id":common.common213,"path":{"const":"preferences.search.@{pathParams.index}","default":"preferences.search.@{pathParams.index}","type":"string"},"pull":{"const":"preferences.search","type":"string"},"value":common.common142},"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.common197,"collection":common.common212,"id":common.common213,"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.common128,"slug":common.common1,"transparentCommune":common.common128,"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.common214,"openingDate":common.common1,"openingHours":{"items":{"oneOf":[common.common31,{"additionalProperties":false,"properties":{"dayOfWeek":common.common215,"hours":{"items":common.common216,"type":"array"}},"required":["dayOfWeek","hours"],"type":"object"}]},"maxItems":7,"minItems":7,"type":"array"},"preferences":common.common219,"role":{"enum":["admin","member"],"type":"string"},"scope":common.common142,"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.common222,"geo":common.common79,"geoPosition":common.common83,"id":common.common11,"key":{"const":"project","default":"project","type":"string"},"name":common.common1,"parent":common.common223,"preferences":{"default":{"crowdfunding":true,"isOpenData":false,"isOpenEdition":false},"properties":{"crowdfunding":common.common110,"isOpenData":common.common128,"isOpenEdition":common.common128},"required":["isOpenData","isOpenEdition"],"type":"object"},"public":common.common110,"scope":common.common142,"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.common226,"description":common.common1,"geo":common.common79,"geoPosition":common.common83,"id":common.common11,"key":common.common226,"name":common.common1,"parent":common.common223,"scope":common.common142,"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.common170}},"properties":{"address":common.common74,"collection":common.common227,"email":common.common30,"endDate":common.common228,"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.common215,"hours":{"default":[],"items":common.common216,"type":"array"}},"required":["dayOfWeek","hours"],"type":"object"}]},"maxItems":7,"minItems":7,"type":"array"},"organizer":common.common223,"parent":{"oneOf":[common.common62,common.common31]},"preferences":{"default":{"isOpenData":false,"isOpenEdition":false},"properties":{"isOpenData":common.common128,"isOpenEdition":common.common128},"required":["isOpenData","isOpenEdition"],"type":"object"},"public":common.common110,"recurrency":common.common128,"scope":common.common142,"shortDescription":{"format":"textarea","type":"string"},"startDate":common.common228,"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.common127,"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.common127,"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.common229,"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.common211},"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.common230,"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.common230,"request":{"additionalProperties":false,"properties":{"refreshTimestamp":common.common229},"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.common127},{"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.common127},{"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.common233,"criteria":{"additionalProperties":false,"properties":{"narrative":common.common1},"required":["narrative"],"type":"object"},"description":common.common1,"id":common.common11,"isParcours":common.common128,"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.common234,"name":common.common1,"parent":{"additionalProperties":false,"patternProperties":{"^[a-f0-9]{24}$":{"additionalProperties":false,"properties":{"name":common.common1,"type":common.common233},"required":["type"],"type":"object"}},"type":"object"},"preferences":common.common219,"public":common.common110,"scope":common.common142,"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.common233,"evidences":{"items":{"additionalProperties":false,"properties":{"narative":common.common1,"url":common.common4},"required":["narative"],"type":"object"},"type":"array"},"key":common.common234,"narative":common.common1,"scope":common.common142},"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.common128,"countType":{"const":["events"],"default":["events"],"type":"array"},"endDateUTC":common.common228,"fediverse":common.common128,"filters":{"additionalProperties":false,"default":{"$or":{"links.attendees.@userId":common.common158,"organizer.@userId":common.common158},"links.attendees.@userId":common.common158},"patternProperties":{"^links\\.attendees\\.(?:[a-f0-9]{24}|@\\w+)$":common.common159},"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":{"^links\\.attendees\\.(?:[a-f0-9]{24}|@\\w+)$":common.common159,"^organizer\\.(?:[a-f0-9]{24}|@\\w+)$":common.common159},"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.common228,"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.common129,"if":common.common131,"properties":{"childId":common.common11,"childType":common.common70,"comment":common.common1,"connectType":common.common133,"parentId":common.common11,"parentType":common.common227},"required":["parentId","childId","childType","connectType","parentType"],"then":common.common134,"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.common235,"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.common239,"msg":common.common1,"name":common.common1,"roles":common.common33},"required":["name","email"],"type":"object"}},"type":"object"},"organizations":common.common235,"projects":common.common235},"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.common209,"childType":common.common210,"parentId":common.common11,"parentType":common.common211},"required":["childId","childType","parentType","parentId"],"type":"object"}},{"auth":"none","constant":"GET_COSTUM_JSON","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/cms/getcostumjson?slug={slug}","pathParams":{"slug":common.common1}},{"auth":"none","constant":"GLOBAL_AUTOCOMPLETE_COSTUM","contentType":"application/x-www-form-urlencoded","functionCocostum":"globalautocomplete","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common240,"costumEditMode":common.common128,"costumSlug":common.common1,"count":common.common87,"countType":common.common241,"fediverse":common.common128,"fields":common.common33,"filters":common.common243,"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":{"additionalProperties":false,"patternProperties":{"^[^\\s]+$":{"additionalProperties":false,"properties":{"id":common.common1,"type":{"enum":["cities","level1","level2","level3","level4","level5"],"type":"string"}},"required":["id","type"],"type":"object"}},"type":"object"},"mapUsed":common.common197,"name":common.common1,"notSourceKey":common.common197,"options":common.common245,"ranges":common.common150,"searchBy":common.common154,"searchTags":common.common33,"searchType":common.common241,"sortBy":common.common249,"sourceKey":common.common33},"required":["searchType","countType","indexMin","indexStep","initType","count","fediverse","costumSlug","costumEditMode"],"type":"object"}},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_ACTORS","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestActors","method":"POST","path":"/costum/coevent/get_events/request/actors/id/{id}/type/{type}","pathParams":common.common251,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common240,"costumEditMode":common.common128,"costumSlug":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.common251,"request":{"additionalProperties":false,"allOf":[{"if":{"properties":{"date":common.common1},"required":["date"]},"then":{"required":["timezone"]}}],"properties":{"contextId":common.common11,"contextType":common.common240,"costumEditMode":common.common128,"costumSlug":common.common1,"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,"regions":common.common254,"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.common251,"request":common.common257},{"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.common251,"request":common.common257},{"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.common251,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common240,"costumEditMode":common.common128,"costumSlug":common.common1,"regions":common.common254,"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.common251,"request":common.common257},{"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.common251,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common240,"costumEditMode":common.common128,"costumSlug":common.common1,"event":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.common251,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common240,"costumEditMode":common.common128,"costumSlug":common.common1,"event":common.common11,"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.common190},"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.common179,"fediverse":common.common141,"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.common159,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common159,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common159,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common174,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common176,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common168},"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common179},"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.common127,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common179,"fediverse":common.common141,"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.common158,"links.events.@{pathParams.id}.isInviting":common.common167,"links.events.@{pathParams.id}.toBeValidated":common.common167},"patternProperties":{"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common159,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common159,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common159,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common174,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common176,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common174},"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common179},"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.common240,"costumEditMode":common.common128,"costumSlug":common.common1,"count":common.common87,"countType":common.common259,"fediverse":common.common128,"fields":common.common33,"filters":common.common243,"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common145,"mapUsed":common.common197,"name":common.common1,"notSourceKey":common.common197,"options":common.common245,"ranges":common.common150,"searchBy":common.common154,"searchTags":common.common33,"searchType":common.common259,"sortBy":common.common249,"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.common244,"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.common261,"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.common261,"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"},"id":common.common5,"path":common.common1,"pull":common.common1,"setType":{"anyOf":[common.common262,{"items":{"additionalProperties":false,"properties":{"path":common.common1,"type":common.common1},"required":["path","type"],"type":"object"},"type":"array"}]},"value":common.common20},"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.common263},"required":["contextType","contextId"],"type":"object"},"request":{"additionalProperties":false,"properties":{"ids":common.common11,"parentId":common.common5,"parentType":common.common263,"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.common127},{"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.common180,"connect":{"enum":["members","contributors"],"type":"string"},"isAdmin":common.common141,"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.common244},"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.common264,"level":common.common264,"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.common244,"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":{"credits":{"minimum":0,"type":"number"},"milestone":{"additionalProperties":false,"properties":{"milestoneId":common.common11},"required":["milestoneId"],"type":"object"},"name":common.common1,"parentId":common.common11,"parentType":common.common222,"status":{"default":"todo","type":"string"}},"required":["name","status","parentId","parentType","credits","milestone"],"type":"object"}},{"auth":"bearer","constant":"LINK_DISCOURSE_ACCOUNT","contentType":"application/x-www-form-urlencoded","functionCocostum":"linkDiscourseAccount","method":"POST","path":"/interop/discourse/linkAccount","request":common.common265},{"auth":"bearer","constant":"UNLINK_DISCOURSE_ACCOUNT","contentType":"application/x-www-form-urlencoded","functionCocostum":"unlinkDiscourseAccount","method":"POST","path":"/interop/discourse/unlinkAccount","request":common.common267},{"auth":"none","constant":"DISCOURSE_PROFILE","contentType":"application/x-www-form-urlencoded","functionCocostum":"getDiscourseProfile","method":"POST","path":"/interop/discourse/profile","request":common.common265},{"auth":"bearer","constant":"DISCOURSE_CHECK_EMAIL","contentType":"application/x-www-form-urlencoded","functionCocostum":"checkDiscourseEmailMatch","method":"POST","path":"/interop/discourse/checkEmailMatch","request":common.common267},{"auth":"bearer","constant":"DISCOURSE_DISMISS_LINK","contentType":"application/x-www-form-urlencoded","functionCocostum":"dismissDiscourseLink","method":"POST","path":"/interop/discourse/dismissDiscourseLink","request":common.common267},{"auth":"bearer","constant":"LINK_MEDIAWIKI_ACCOUNT","contentType":"application/x-www-form-urlencoded","functionCocostum":"linkMediaWikiAccount","method":"POST","path":"/interop/mediawiki/linkAccount","request":common.common265},{"auth":"bearer","constant":"UNLINK_MEDIAWIKI_ACCOUNT","contentType":"application/x-www-form-urlencoded","functionCocostum":"unlinkMediaWikiAccount","method":"POST","path":"/interop/mediawiki/unlinkAccount","request":common.common267},{"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.common229,"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.common214,"parent":common.common223,"preferences":common.common219,"scope":common.common142,"section":{"enum":["need","offer"],"type":"string"},"subtype":common.common262,"tags":common.common33},"required":["id","collection","key","name","section","category","subtype","scope"],"type":"object"}}]};
|
|
3004
|
+
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"],"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":{"items":common.common11,"type":"array"}},"required":["ids"],"type":"object"}},{"auth":"bearer","constant":"ADD_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/save","request":{"additionalProperties":false,"anyOf":[common.common112,common.common113,common.common114],"else":common.common104,"if":common.common106,"properties":{"json":common.common87,"markdownActive":common.common110,"mediaFile":common.common115,"mediaImg":common.common117,"mentions":common.common119,"parentId":common.common1,"parentType":common.common70,"scope":common.common123,"tags":common.common32,"text":common.common1,"type":common.common124},"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.common125,"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.common125,"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.common127,"request":{"additionalProperties":false,"properties":{"isLive":common.common128},"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.common112,common.common113,common.common114],"else":common.common104,"if":common.common106,"properties":{"idNews":common.common11,"markdownActive":common.common110,"mediaFile":common.common115,"mediaImg":common.common117,"mentions":common.common119,"parentId":common.common1,"parentType":common.common70,"scope":common.common123,"tags":common.common32,"text":common.common1,"type":common.common124},"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.common129,"if":common.common131,"properties":{"childId":common.common11,"childType":common.common70,"comment":common.common1,"connectType":common.common133,"parentId":common.common11,"parentType":common.common124},"required":["parentId","parentType","childId","childType","connectType"],"then":common.common134,"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.common136},"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.common136,"mentions":common.common137,"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.common127},{"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.common137,"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.common140,"type":"array"},"fediverse":common.common141,"filters":common.common142,"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common145,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchTags":common.common33,"searchType":{"items":common.common140,"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.common155,"locality":common.common142,"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.common128,"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.common156,"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.common157,"fediverse":common.common141,"filters":{"additionalProperties":false,"default":{"$or":{"links.contributors.@userId":common.common159,"parent.@userId":common.common159},"links.contributors.@userId":common.common159},"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@\\w+)$":common.common160},"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@\\w+)$":common.common160,"^parent\\.(?:[a-f0-9]{24}|@\\w+)$":common.common160},"type":"object"}},"required":["$or"],"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common157},"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.common163,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common157,"fediverse":common.common141,"filters":{"additionalProperties":false,"default":{"$or":{"links.contributors.@{pathParams.id}":common.common159,"parent.@{pathParams.id}":common.common159},"links.contributors.@{pathParams.id}":common.common159},"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common160},"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common160,"^parent\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common160},"type":"object"}},"required":["$or"],"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common157},"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.common165,"fediverse":common.common141,"filters":{"additionalProperties":false,"default":{"parent.@userId":common.common159},"patternProperties":{"^parent\\.(?:[a-f0-9]{24}|@\\w+)$":common.common160},"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common165},"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.common163,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common165,"fediverse":common.common141,"filters":{"additionalProperties":false,"default":{"parent.@{pathParams.id}":common.common159},"patternProperties":{"^parent\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common160},"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common165},"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.common166,"fediverse":common.common141,"filters":{"additionalProperties":false,"default":{"links.members.@userId":common.common159,"links.members.@userId.isInviting":common.common168,"links.members.@userId.toBeValidated":common.common168},"patternProperties":{"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)$":common.common160,"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common169,"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common169},"type":"object"},"indexMax":common.common86,"indexMin":common.common156,"indexStep":common.common172,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common166},"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.common166,"fediverse":common.common141,"filters":{"additionalProperties":true,"default":{"links.members.@{pathParams.id}":common.common159,"links.members.@{pathParams.id}.isInviting":common.common168,"links.members.@{pathParams.id}.toBeValidated":common.common168},"patternProperties":{"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common160,"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common169,"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common169},"type":"object"},"indexMax":common.common86,"indexMin":common.common156,"indexStep":common.common172,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common166},"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.common173,"fediverse":common.common141,"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.common160,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common160,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common160,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common175,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common177,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common169},"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common173},"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.common127,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common173,"fediverse":common.common141,"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.common159,"links.memberOf.@{pathParams.id}.isInviting":common.common168,"links.memberOf.@{pathParams.id}.toBeValidated":common.common168},"patternProperties":{"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common160,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common160,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common160,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common175,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common177,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common175},"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common173},"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.common180,"fediverse":common.common141,"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.common159,"links.friends.@{pathParams.id}.isInviting":common.common168,"links.friends.@{pathParams.id}.toBeValidated":common.common168},"patternProperties":{"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common160,"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common175,"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common175},"type":"object"},"indexMax":common.common86,"indexMin":common.common156,"indexStep":common.common172,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchType":common.common180},"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.common182,"fediverse":common.common141,"filters":{"additionalProperties":false,"allOf":[common.common184],"default":{"links.followers.@userId":common.common159,"links.followers.@{userId}.isInviting":common.common168,"links.followers.@{userId}.toBeValidated":common.common168},"patternProperties":common.common187,"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common182},"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.common182,"fediverse":common.common141,"filters":{"additionalProperties":false,"allOf":[common.common184],"default":{"links.followers.@{pathParams.id}":common.common159,"links.followers.@{pathParams.id}.isInviting":common.common168,"links.followers.@{pathParams.id}.toBeValidated":common.common168},"patternProperties":common.common187,"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common182},"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.common180,"fediverse":common.common141,"filters":{"additionalProperties":false,"allOf":[common.common188],"default":{"links.follows.@userId":common.common159,"links.follows.@{userId}.isInviting":common.common168,"links.follows.@{userId}.toBeValidated":common.common168},"patternProperties":{"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common160,"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common169,"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common169},"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common180},"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.common191},"required":["type","id"],"type":"object"},"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common180,"fediverse":common.common141,"filters":{"additionalProperties":false,"allOf":[common.common188],"default":{"links.follows.@{pathParams.id}":common.common159},"maxProperties":1,"minProperties":1,"patternProperties":{"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common160},"type":"object"},"indexMin":common.common156,"indexStep":common.common172,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"searchType":common.common180},"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.common173,"fediverse":common.common141,"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.common160,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common160,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common160,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common175,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common177,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common169},"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common173},"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.common127,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common173,"fediverse":common.common141,"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.common159,"links.projects.@{pathParams.id}.isInviting":common.common168,"links.projects.@{pathParams.id}.toBeValidated":common.common168},"patternProperties":{"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common160,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common160,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common160,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common175,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common177,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common175},"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common173},"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.common192,"fediverse":common.common141,"filters":{"properties":{"$or":{"additionalProperties":false,"minProperties":1,"patternProperties":{"^issuer\\.(?:[a-f0-9]{24}|@\\w+)$":common.common160},"type":"object"},"isParcours":common.common3,"preferences.private":common.common141},"required":["preferences.private"],"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common192},"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.common194,"fediverse":common.common141,"fields":common.common192,"filters":{"oneOf":[{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)$":common.common196}},{"additionalProperties":false,"maxProperties":3,"minProperties":3,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)$":common.common196,"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteEmetteur$":common.common199,"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteRecepteur$":common.common199}},{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":common.common202},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":common.common202,"type":"object"}},"required":["$or"]},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.revoke$":common.common198}},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteEmetteur$":common.common196}}],"type":"object"},"indexMin":common.common156,"indexStep":common.common172,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":{"additionalProperties":false,"default":{"Cooperative":common.common203,"GovernmentOrganization":common.common203,"Group":common.common203,"LocalBusiness":common.common203,"NGO":common.common203,"citoyens":common.common203,"projects":common.common203},"maxProperties":7,"minProperties":7,"patternProperties":{"^[a-zA-Z][a-zA-Z0-9]*$":common.common152},"type":"object"},"searchType":common.common194},"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.common204,"then":{"properties":{"connectType":{"enum":["admin","member"]}}}},{"if":common.common206,"then":{"properties":{"connectType":{"enum":["admin","contributor"]}}}},{"if":common.common208,"then":{"properties":{"connectType":{"default":"attendee","enum":["attendee","connect"]}}}}],"properties":{"childId":common.common210,"childType":common.common211,"connectType":{"enum":["admin","member","contributor","attendee","friend","connect"],"type":"string"},"parentId":common.common11,"parentType":common.common212},"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.common204,"then":{"properties":{"connectType":{"default":"members","enum":["members","followers"]}}}},{"if":common.common206,"then":{"properties":{"connectType":{"default":"contributors","enum":["contributors","followers"]}}}},{"if":common.common208,"then":{"properties":{"connectType":{"default":"attendees","enum":["attendees","followers"]}}}}],"properties":{"childId":common.common210,"childType":common.common211,"connectType":{"enum":["members","contributors","attendees","friends","followers"],"type":"string"},"parentId":common.common11,"parentType":common.common212},"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.common213,"id":common.common214,"path":{"const":"preferences.search.@{pathParams.index}","default":"preferences.search.@{pathParams.index}","type":"string"},"pull":{"const":"preferences.search","type":"string"},"value":common.common142},"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.common198,"collection":common.common213,"id":common.common214,"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.common128,"slug":common.common1,"transparentCommune":common.common128,"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.common215,"openingDate":common.common1,"openingHours":{"items":{"oneOf":[common.common31,{"additionalProperties":false,"properties":{"dayOfWeek":common.common216,"hours":{"items":common.common217,"type":"array"}},"required":["dayOfWeek","hours"],"type":"object"}]},"maxItems":7,"minItems":7,"type":"array"},"preferences":common.common220,"role":{"enum":["admin","member"],"type":"string"},"scope":common.common142,"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.common223,"geo":common.common79,"geoPosition":common.common83,"id":common.common11,"key":{"const":"project","default":"project","type":"string"},"name":common.common1,"parent":common.common224,"preferences":{"default":{"crowdfunding":true,"isOpenData":false,"isOpenEdition":false},"properties":{"crowdfunding":common.common110,"isOpenData":common.common128,"isOpenEdition":common.common128},"required":["isOpenData","isOpenEdition"],"type":"object"},"public":common.common110,"scope":common.common142,"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.common227,"description":common.common1,"geo":common.common79,"geoPosition":common.common83,"id":common.common11,"key":common.common227,"name":common.common1,"parent":common.common224,"scope":common.common142,"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.common171}},"properties":{"address":common.common74,"collection":common.common228,"email":common.common30,"endDate":common.common229,"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.common216,"hours":{"default":[],"items":common.common217,"type":"array"}},"required":["dayOfWeek","hours"],"type":"object"}]},"maxItems":7,"minItems":7,"type":"array"},"organizer":common.common224,"parent":{"oneOf":[common.common62,common.common31]},"preferences":{"default":{"isOpenData":false,"isOpenEdition":false},"properties":{"isOpenData":common.common128,"isOpenEdition":common.common128},"required":["isOpenData","isOpenEdition"],"type":"object"},"public":common.common110,"recurrency":common.common128,"scope":common.common142,"shortDescription":{"format":"textarea","type":"string"},"startDate":common.common229,"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.common127,"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.common127,"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.common230,"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.common212},"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.common231,"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.common231,"request":{"additionalProperties":false,"properties":{"refreshTimestamp":common.common230},"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.common127},{"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.common127},{"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.common234,"criteria":{"additionalProperties":false,"properties":{"narrative":common.common1},"required":["narrative"],"type":"object"},"description":common.common1,"id":common.common11,"isParcours":common.common128,"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.common235,"name":common.common1,"parent":{"additionalProperties":false,"patternProperties":{"^[a-f0-9]{24}$":{"additionalProperties":false,"properties":{"name":common.common1,"type":common.common234},"required":["type"],"type":"object"}},"type":"object"},"preferences":common.common220,"public":common.common110,"scope":common.common142,"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.common234,"evidences":{"items":{"additionalProperties":false,"properties":{"narative":common.common1,"url":common.common4},"required":["narative"],"type":"object"},"type":"array"},"key":common.common235,"narative":common.common1,"scope":common.common142},"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.common128,"countType":{"const":["events"],"default":["events"],"type":"array"},"endDateUTC":common.common229,"fediverse":common.common128,"filters":{"additionalProperties":false,"default":{"$or":{"links.attendees.@userId":common.common159,"organizer.@userId":common.common159},"links.attendees.@userId":common.common159},"patternProperties":{"^links\\.attendees\\.(?:[a-f0-9]{24}|@\\w+)$":common.common160},"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":{"^links\\.attendees\\.(?:[a-f0-9]{24}|@\\w+)$":common.common160,"^organizer\\.(?:[a-f0-9]{24}|@\\w+)$":common.common160},"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.common229,"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.common129,"if":common.common131,"properties":{"childId":common.common11,"childType":common.common70,"comment":common.common1,"connectType":common.common133,"parentId":common.common11,"parentType":common.common228},"required":["parentId","childId","childType","connectType","parentType"],"then":common.common134,"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.common236,"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.common240,"msg":common.common1,"name":common.common1,"roles":common.common33},"required":["name","email"],"type":"object"}},"type":"object"},"organizations":common.common236,"projects":common.common236},"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.common210,"childType":common.common211,"parentId":common.common11,"parentType":common.common212},"required":["childId","childType","parentType","parentId"],"type":"object"}},{"auth":"none","constant":"GET_COSTUM_JSON","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/cms/getcostumjson?slug={slug}","pathParams":{"slug":common.common1}},{"auth":"none","constant":"GLOBAL_AUTOCOMPLETE_COSTUM","contentType":"application/x-www-form-urlencoded","functionCocostum":"globalautocomplete","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common241,"costumEditMode":common.common128,"costumSlug":common.common1,"count":common.common87,"countType":common.common242,"fediverse":common.common128,"fields":common.common33,"filters":common.common244,"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":{"additionalProperties":false,"patternProperties":{"^[^\\s]+$":{"additionalProperties":false,"properties":{"id":common.common1,"type":{"enum":["cities","level1","level2","level3","level4","level5"],"type":"string"}},"required":["id","type"],"type":"object"}},"type":"object"},"mapUsed":common.common198,"name":common.common1,"notSourceKey":common.common198,"options":common.common246,"ranges":common.common150,"searchBy":common.common154,"searchTags":common.common33,"searchType":common.common242,"sortBy":common.common250,"sourceKey":common.common33},"required":["searchType","countType","indexMin","indexStep","initType","count","fediverse","costumSlug","costumEditMode"],"type":"object"}},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_ACTORS","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestActors","method":"POST","path":"/costum/coevent/get_events/request/actors/id/{id}/type/{type}","pathParams":common.common252,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common241,"costumEditMode":common.common128,"costumSlug":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.common252,"request":{"additionalProperties":false,"allOf":[{"if":{"properties":{"date":common.common1},"required":["date"]},"then":{"required":["timezone"]}}],"properties":{"contextId":common.common11,"contextType":common.common241,"costumEditMode":common.common128,"costumSlug":common.common1,"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,"regions":common.common255,"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.common252,"request":common.common258},{"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.common252,"request":common.common258},{"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.common252,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common241,"costumEditMode":common.common128,"costumSlug":common.common1,"regions":common.common255,"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.common252,"request":common.common258},{"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.common252,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common241,"costumEditMode":common.common128,"costumSlug":common.common1,"event":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.common252,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common241,"costumEditMode":common.common128,"costumSlug":common.common1,"event":common.common11,"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.common191},"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.common180,"fediverse":common.common141,"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.common160,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common160,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common160,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common175,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common177,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common169},"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common180},"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.common127,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common180,"fediverse":common.common141,"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.common159,"links.events.@{pathParams.id}.isInviting":common.common168,"links.events.@{pathParams.id}.toBeValidated":common.common168},"patternProperties":{"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common160,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common160,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common160,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common175,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common177,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common175},"type":"object"},"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common142,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common150,"searchBy":common.common154,"searchType":common.common180},"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.common241,"costumEditMode":common.common128,"costumSlug":common.common1,"count":common.common87,"countType":common.common260,"fediverse":common.common128,"fields":common.common33,"filters":common.common244,"indexMax":common.common86,"indexMin":common.common143,"indexStep":common.common144,"initType":common.common142,"locality":common.common145,"mapUsed":common.common198,"name":common.common1,"notSourceKey":common.common198,"options":common.common246,"ranges":common.common150,"searchBy":common.common154,"searchTags":common.common33,"searchType":common.common260,"sortBy":common.common250,"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.common245,"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.common262,"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.common262,"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"},"id":common.common5,"path":common.common1,"pull":common.common1,"setType":{"anyOf":[common.common263,{"items":{"additionalProperties":false,"properties":{"path":common.common1,"type":common.common1},"required":["path","type"],"type":"object"},"type":"array"}]},"value":common.common20},"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.common264},"required":["contextType","contextId"],"type":"object"},"request":{"additionalProperties":false,"properties":{"ids":common.common11,"parentId":common.common5,"parentType":common.common264,"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.common127},{"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.common181,"connect":{"enum":["members","contributors"],"type":"string"},"isAdmin":common.common141,"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.common245},"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.common265,"level":common.common265,"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.common245,"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.common229,"idParentRoom":common.common11,"importance":{"default":"low","type":"string"},"is_contributor":common.common3,"max":common.common155,"mentions":common.common33,"milestone":{"additionalProperties":false,"properties":{"endDate":common.common229,"milestoneId":common.common11,"startDate":common.common229},"required":["milestoneId"],"type":"object"},"min":common.common155,"name":common.common1,"parentId":common.common11,"parentType":common.common223,"startDate":common.common229,"status":{"default":"todo","enum":["todo","done","tracking","discuter","next","totest","disabled","closed"],"type":"string"},"tags":common.common33,"timeSpent":common.common155,"urls":common.common32},"required":["name","status","parentId","parentType"],"type":"object"}},{"auth":"bearer","constant":"LINK_DISCOURSE_ACCOUNT","contentType":"application/x-www-form-urlencoded","functionCocostum":"linkDiscourseAccount","method":"POST","path":"/interop/discourse/linkAccount","request":common.common266},{"auth":"bearer","constant":"UNLINK_DISCOURSE_ACCOUNT","contentType":"application/x-www-form-urlencoded","functionCocostum":"unlinkDiscourseAccount","method":"POST","path":"/interop/discourse/unlinkAccount","request":common.common268},{"auth":"none","constant":"DISCOURSE_PROFILE","contentType":"application/x-www-form-urlencoded","functionCocostum":"getDiscourseProfile","method":"POST","path":"/interop/discourse/profile","request":common.common266},{"auth":"bearer","constant":"DISCOURSE_CHECK_EMAIL","contentType":"application/x-www-form-urlencoded","functionCocostum":"checkDiscourseEmailMatch","method":"POST","path":"/interop/discourse/checkEmailMatch","request":common.common268},{"auth":"bearer","constant":"DISCOURSE_DISMISS_LINK","contentType":"application/x-www-form-urlencoded","functionCocostum":"dismissDiscourseLink","method":"POST","path":"/interop/discourse/dismissDiscourseLink","request":common.common268},{"auth":"bearer","constant":"LINK_MEDIAWIKI_ACCOUNT","contentType":"application/x-www-form-urlencoded","functionCocostum":"linkMediaWikiAccount","method":"POST","path":"/interop/mediawiki/linkAccount","request":common.common266},{"auth":"bearer","constant":"UNLINK_MEDIAWIKI_ACCOUNT","contentType":"application/x-www-form-urlencoded","functionCocostum":"unlinkMediaWikiAccount","method":"POST","path":"/interop/mediawiki/unlinkAccount","request":common.common268},{"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.common230,"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.common215,"parent":common.common224,"preferences":common.common220,"scope":common.common142,"section":{"enum":["need","offer"],"type":"string"},"subtype":common.common263,"tags":common.common33},"required":["id","collection","key","name","section","category","subtype","scope"],"type":"object"}}]};
|
|
3001
3005
|
|
|
3002
3006
|
export default endpoints;
|