@communecter/cocolight-api-client 1.0.121 → 1.0.122
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/203.cocolight-api-client.cjs +1 -0
- package/dist/278.cocolight-api-client.browser.js +1 -0
- package/dist/278.cocolight-api-client.cjs +1 -0
- package/dist/278.cocolight-api-client.mjs.js +1 -0
- package/dist/401.cocolight-api-client.mjs.js +1 -1
- package/dist/407.cocolight-api-client.browser.js +1 -0
- package/dist/407.cocolight-api-client.mjs.js +1 -0
- package/dist/499.cocolight-api-client.browser.js +1 -0
- package/dist/499.cocolight-api-client.cjs +1 -0
- package/dist/499.cocolight-api-client.mjs.js +1 -0
- package/dist/556.cocolight-api-client.browser.js +1 -0
- package/dist/556.cocolight-api-client.cjs +1 -0
- package/dist/556.cocolight-api-client.mjs.js +1 -0
- package/dist/588.cocolight-api-client.mjs.js +1 -1
- package/dist/593.cocolight-api-client.mjs.js +1 -1
- package/dist/839.cocolight-api-client.mjs.js +1 -1
- package/dist/85.cocolight-api-client.browser.js +1 -0
- package/dist/85.cocolight-api-client.cjs +1 -0
- package/dist/85.cocolight-api-client.mjs.js +1 -0
- package/dist/906.cocolight-api-client.browser.js +1 -0
- package/dist/906.cocolight-api-client.cjs +1 -0
- package/dist/906.cocolight-api-client.mjs.js +1 -0
- package/dist/cocolight-api-client.browser.js +3 -3
- 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.ts +21 -2
- package/src/api/BaseEntity.ts +145 -4
- package/src/api/EndpointApi.ts +125 -1
- package/src/api/EndpointApi.types.ts +180 -1
- package/src/api/EntityRegistry.ts +11 -3
- package/src/api/Form.ts +60 -0
- package/src/api/User.ts +2 -0
- package/src/api/UserApi.ts +3 -2
- package/src/api/serverDataType/Form.ts +56 -0
- package/src/endpoints.module.ts +1 -1
- package/src/index.ts +3 -1
- package/src/types/entities.ts +3 -2
- package/types/Api.d.ts +7 -0
- package/types/api/BaseEntity.d.ts +99 -3
- package/types/api/EndpointApi.d.ts +77 -1
- package/types/api/EndpointApi.types.d.ts +164 -1
- package/types/api/EntityRegistry.d.ts +1 -1
- package/types/api/Form.d.ts +23 -0
- package/types/api/Organization.d.ts +1 -1
- package/types/api/User.d.ts +1 -0
- package/types/api/serverDataType/Form.d.ts +51 -0
- package/types/endpoints.module.d.ts +2661 -166
- package/types/index.d.ts +3 -1
- package/types/types/entities.d.ts +3 -2
package/src/endpoints.module.ts
CHANGED
|
@@ -2867,6 +2867,6 @@ const common = {
|
|
|
2867
2867
|
};
|
|
2868
2868
|
|
|
2869
2869
|
// Endpoints avec intégration des définitions communes
|
|
2870
|
-
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"],"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":false,"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"},"value":{"additionalProperties":false,"properties":{"description":common.common1,"locality":{"patternProperties":{"^[a-f0-9]{24}$":{"additionalProperties":false,"properties":common.common59,"required":["name","type"]}},"type":"object"},"name":common.common1,"tags":common.common33,"url":common.common1},"required":["url","name"],"type":"object"}},"required":["id","collection","path","arrayForm","value"],"type":"object"}},{"auth":"bearer","constant":"ADD_ORGANIZATION","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":false,"properties":{"address":common.common75,"collection":{"const":"organizations","default":"organizations","type":"string"},"email":common.common2,"geo":common.common79,"geoPosition":common.common83,"id":common.common11,"key":{"const":"organization","default":"organization","type":"string"},"name":{"minLength":3,"type":"string"},"preferences":common.common214,"role":{"enum":["admin","member"],"type":"string"},"scope":common.common142,"shortDescription":common.common1,"tags":common.common33,"type":common.common66,"url":common.common35},"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":{"const":"projects","default":"projects","type":"string"},"geo":common.common79,"geoPosition":common.common83,"id":common.common11,"key":{"const":"project","default":"project","type":"string"},"name":common.common1,"parent":common.common217,"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.common220,"description":common.common1,"geo":common.common79,"geoPosition":common.common83,"id":common.common11,"key":common.common220,"name":common.common1,"parent":common.common217,"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.common221,"email":common.common30,"endDate":common.common222,"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":{"enum":["Mo","Tu","We","Th","Fr","Sa","Su"],"type":"string"},"hours":{"default":[],"items":{"additionalProperties":false,"properties":{"closes":common.common223,"opens":common.common223},"required":["opens","closes"],"type":"object"},"type":"array"}},"required":["dayOfWeek","hours"],"type":"object"}]},"maxItems":7,"minItems":7,"type":"array"},"organizer":common.common217,"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.common222,"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.common224,"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.common225,"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.common225,"request":{"additionalProperties":false,"properties":{"refreshTimestamp":common.common224},"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.common228,"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.common229,"name":common.common1,"parent":{"additionalProperties":false,"patternProperties":{"^[a-f0-9]{24}$":{"additionalProperties":false,"properties":{"name":common.common1,"type":common.common228},"required":["type"],"type":"object"}},"type":"object"},"preferences":common.common214,"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.common228,"evidences":{"items":{"additionalProperties":false,"properties":{"narative":common.common1,"url":common.common4},"required":["narative"],"type":"object"},"type":"array"},"key":common.common229,"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.common222,"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.common222,"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.common221},"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.common230,"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.common234,"msg":common.common1,"name":common.common1,"roles":common.common33},"required":["name","email"],"type":"object"}},"type":"object"},"organizations":common.common230,"projects":common.common230},"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.common235,"costumEditMode":common.common128,"costumSlug":common.common1,"count":common.common87,"countType":common.common236,"fediverse":common.common128,"fields":common.common33,"filters":common.common238,"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.common240,"ranges":common.common150,"searchBy":common.common154,"searchTags":common.common33,"searchType":common.common236,"sortBy":common.common244,"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.common246,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common235,"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.common246,"request":{"additionalProperties":false,"allOf":[{"if":{"properties":{"date":common.common1},"required":["date"]},"then":{"required":["timezone"]}}],"properties":{"contextId":common.common11,"contextType":common.common235,"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.common249,"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.common246,"request":common.common252},{"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.common246,"request":common.common252},{"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.common246,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common235,"costumEditMode":common.common128,"costumSlug":common.common1,"regions":common.common249,"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.common246,"request":common.common252},{"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.common246,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common235,"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.common246,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common235,"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.common235,"costumEditMode":common.common128,"costumSlug":common.common1,"count":common.common87,"countType":common.common254,"fediverse":common.common128,"fields":common.common33,"filters":common.common238,"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.common240,"ranges":common.common150,"searchBy":common.common154,"searchTags":common.common33,"searchType":common.common254,"sortBy":common.common244,"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},"required":["answerId"],"type":"object"}},{"auth":"bearer","constant":"ADD_VOTE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/action/addaction","request":{"additionalProperties":false,"properties":{"action":{"const":"vote","default":"vote","type":"string"},"collection":common.common256,"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.common256,"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,"properties":{"arrayForm":common.common3,"collection":common.common257,"id":common.common5,"path":common.common1,"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.common257},"required":["contextType","contextId"],"type":"object"},"request":{"additionalProperties":false,"properties":{"ids":common.common11,"parentId":common.common5,"parentType":common.common257,"path":{"const":"communecter","default":"communecter","type":"string"}},"required":["id","collection","path","value"],"type":"object"}},{"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.common239},"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.common258,"level":common.common258,"sortBy":common.common1,"upperLevelId":common.common1},"required":["countryCode","level"],"type":"object"}}]};
|
|
2870
|
+
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"],"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":false,"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"},"value":{"additionalProperties":false,"properties":{"description":common.common1,"locality":{"patternProperties":{"^[a-f0-9]{24}$":{"additionalProperties":false,"properties":common.common59,"required":["name","type"]}},"type":"object"},"name":common.common1,"tags":common.common33,"url":common.common1},"required":["url","name"],"type":"object"}},"required":["id","collection","path","arrayForm","value"],"type":"object"}},{"auth":"bearer","constant":"ADD_ORGANIZATION","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":false,"properties":{"address":common.common75,"collection":{"const":"organizations","default":"organizations","type":"string"},"email":common.common2,"geo":common.common79,"geoPosition":common.common83,"id":common.common11,"key":{"const":"organization","default":"organization","type":"string"},"name":{"minLength":3,"type":"string"},"preferences":common.common214,"role":{"enum":["admin","member"],"type":"string"},"scope":common.common142,"shortDescription":common.common1,"tags":common.common33,"type":common.common66,"url":common.common35},"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":{"const":"projects","default":"projects","type":"string"},"geo":common.common79,"geoPosition":common.common83,"id":common.common11,"key":{"const":"project","default":"project","type":"string"},"name":common.common1,"parent":common.common217,"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.common220,"description":common.common1,"geo":common.common79,"geoPosition":common.common83,"id":common.common11,"key":common.common220,"name":common.common1,"parent":common.common217,"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.common221,"email":common.common30,"endDate":common.common222,"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":{"enum":["Mo","Tu","We","Th","Fr","Sa","Su"],"type":"string"},"hours":{"default":[],"items":{"additionalProperties":false,"properties":{"closes":common.common223,"opens":common.common223},"required":["opens","closes"],"type":"object"},"type":"array"}},"required":["dayOfWeek","hours"],"type":"object"}]},"maxItems":7,"minItems":7,"type":"array"},"organizer":common.common217,"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.common222,"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.common224,"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.common225,"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.common225,"request":{"additionalProperties":false,"properties":{"refreshTimestamp":common.common224},"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.common228,"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.common229,"name":common.common1,"parent":{"additionalProperties":false,"patternProperties":{"^[a-f0-9]{24}$":{"additionalProperties":false,"properties":{"name":common.common1,"type":common.common228},"required":["type"],"type":"object"}},"type":"object"},"preferences":common.common214,"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.common228,"evidences":{"items":{"additionalProperties":false,"properties":{"narative":common.common1,"url":common.common4},"required":["narative"],"type":"object"},"type":"array"},"key":common.common229,"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.common222,"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.common222,"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.common221},"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.common230,"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.common234,"msg":common.common1,"name":common.common1,"roles":common.common33},"required":["name","email"],"type":"object"}},"type":"object"},"organizations":common.common230,"projects":common.common230},"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.common235,"costumEditMode":common.common128,"costumSlug":common.common1,"count":common.common87,"countType":common.common236,"fediverse":common.common128,"fields":common.common33,"filters":common.common238,"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.common240,"ranges":common.common150,"searchBy":common.common154,"searchTags":common.common33,"searchType":common.common236,"sortBy":common.common244,"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.common246,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common235,"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.common246,"request":{"additionalProperties":false,"allOf":[{"if":{"properties":{"date":common.common1},"required":["date"]},"then":{"required":["timezone"]}}],"properties":{"contextId":common.common11,"contextType":common.common235,"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.common249,"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.common246,"request":common.common252},{"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.common246,"request":common.common252},{"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.common246,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common235,"costumEditMode":common.common128,"costumSlug":common.common1,"regions":common.common249,"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.common246,"request":common.common252},{"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.common246,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common235,"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.common246,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common235,"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.common235,"costumEditMode":common.common128,"costumSlug":common.common1,"count":common.common87,"countType":common.common254,"fediverse":common.common128,"fields":common.common33,"filters":common.common238,"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.common240,"ranges":common.common150,"searchBy":common.common154,"searchTags":common.common33,"searchType":common.common254,"sortBy":common.common244,"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.common239,"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.common256,"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.common256,"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,"properties":{"arrayForm":common.common3,"collection":{"default":"citoyens","enum":["citoyens","organizations","projects","events","poi","answers","forms"],"type":"string"},"id":common.common5,"path":common.common1,"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.common257},"required":["contextType","contextId"],"type":"object"},"request":{"additionalProperties":false,"properties":{"ids":common.common11,"parentId":common.common5,"parentType":common.common257,"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.common239},"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.common258,"level":common.common258,"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.common239,"project":common.common11},"required":["contextId","contextType"],"type":"object"}}]};
|
|
2871
2871
|
|
|
2872
2872
|
export default endpoints;
|