@communecter/cocolight-api-client 1.0.143 → 1.0.144

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2555,11 +2555,42 @@ const common = {
2555
2555
  }
2556
2556
  },
2557
2557
  "common230": {
2558
+ "properties": {
2559
+ "insertOrign": {
2560
+ "type": "string"
2561
+ },
2562
+ "key": {
2563
+ "type": "string"
2564
+ },
2565
+ "keys": {
2566
+ "items": {
2567
+ "type": "string"
2568
+ },
2569
+ "type": "array"
2570
+ }
2571
+ },
2572
+ "type": "object"
2573
+ },
2574
+ "common231": {
2575
+ "insertOrign": {
2576
+ "type": "string"
2577
+ },
2578
+ "key": {
2579
+ "type": "string"
2580
+ },
2581
+ "keys": {
2582
+ "items": {
2583
+ "type": "string"
2584
+ },
2585
+ "type": "array"
2586
+ }
2587
+ },
2588
+ "common232": {
2558
2589
  "const": "projects",
2559
2590
  "default": "projects",
2560
2591
  "type": "string"
2561
2592
  },
2562
- "common231": {
2593
+ "common233": {
2563
2594
  "additionalProperties": false,
2564
2595
  "default": {
2565
2596
  "@userId": {
@@ -2585,32 +2616,32 @@ const common = {
2585
2616
  },
2586
2617
  "type": "object"
2587
2618
  },
2588
- "common232": {
2619
+ "common234": {
2589
2620
  "@userId": {
2590
2621
  "type": "citoyens"
2591
2622
  }
2592
2623
  },
2593
- "common233": {
2624
+ "common235": {
2594
2625
  "type": "citoyens"
2595
2626
  },
2596
- "common234": {
2627
+ "common236": {
2597
2628
  "const": "poi",
2598
2629
  "default": "poi",
2599
2630
  "type": "string"
2600
2631
  },
2601
- "common235": {
2632
+ "common237": {
2602
2633
  "const": "events",
2603
2634
  "default": "events",
2604
2635
  "type": "string"
2605
2636
  },
2606
- "common236": {
2637
+ "common238": {
2607
2638
  "format": "date-time",
2608
2639
  "type": "string"
2609
2640
  },
2610
- "common237": {
2641
+ "common239": {
2611
2642
  "type": "integer"
2612
2643
  },
2613
- "common238": {
2644
+ "common240": {
2614
2645
  "additionalProperties": false,
2615
2646
  "properties": {
2616
2647
  "id": {
@@ -2630,7 +2661,7 @@ const common = {
2630
2661
  ],
2631
2662
  "type": "object"
2632
2663
  },
2633
- "common239": {
2664
+ "common241": {
2634
2665
  "id": {
2635
2666
  "default": "@userId",
2636
2667
  "pattern": "^[a-f0-9]{24}$",
@@ -2642,22 +2673,22 @@ const common = {
2642
2673
  "type": "string"
2643
2674
  }
2644
2675
  },
2645
- "common240": {
2676
+ "common242": {
2646
2677
  "default": "@userId",
2647
2678
  "pattern": "^[a-f0-9]{24}$",
2648
2679
  "type": "string"
2649
2680
  },
2650
- "common241": {
2681
+ "common243": {
2651
2682
  "const": "badges",
2652
2683
  "default": "badges",
2653
2684
  "type": "string"
2654
2685
  },
2655
- "common242": {
2686
+ "common244": {
2656
2687
  "const": "badge",
2657
2688
  "default": "badge",
2658
2689
  "type": "string"
2659
2690
  },
2660
- "common243": {
2691
+ "common245": {
2661
2692
  "patternProperties": {
2662
2693
  "^[0-9a-f]{24}$": {
2663
2694
  "additionalProperties": false,
@@ -2688,7 +2719,7 @@ const common = {
2688
2719
  },
2689
2720
  "type": "object"
2690
2721
  },
2691
- "common244": {
2722
+ "common246": {
2692
2723
  "^[0-9a-f]{24}$": {
2693
2724
  "additionalProperties": false,
2694
2725
  "properties": {
@@ -2716,7 +2747,7 @@ const common = {
2716
2747
  "type": "object"
2717
2748
  }
2718
2749
  },
2719
- "common245": {
2750
+ "common247": {
2720
2751
  "additionalProperties": false,
2721
2752
  "properties": {
2722
2753
  "isAdmin": {
@@ -2742,7 +2773,7 @@ const common = {
2742
2773
  ],
2743
2774
  "type": "object"
2744
2775
  },
2745
- "common246": {
2776
+ "common248": {
2746
2777
  "isAdmin": {
2747
2778
  "default": "",
2748
2779
  "enum": [
@@ -2761,7 +2792,7 @@ const common = {
2761
2792
  "type": "array"
2762
2793
  }
2763
2794
  },
2764
- "common247": {
2795
+ "common249": {
2765
2796
  "default": "",
2766
2797
  "enum": [
2767
2798
  "",
@@ -2769,7 +2800,7 @@ const common = {
2769
2800
  ],
2770
2801
  "type": "string"
2771
2802
  },
2772
- "common248": {
2803
+ "common250": {
2773
2804
  "additionalProperties": false,
2774
2805
  "properties": {
2775
2806
  "contextId": {
@@ -3087,7 +3118,7 @@ const common = {
3087
3118
  ],
3088
3119
  "type": "object"
3089
3120
  },
3090
- "common249": {
3121
+ "common251": {
3091
3122
  "contextId": {
3092
3123
  "pattern": "^[a-f0-9]{24}$",
3093
3124
  "type": "string"
@@ -3390,14 +3421,14 @@ const common = {
3390
3421
  "type": "array"
3391
3422
  }
3392
3423
  },
3393
- "common250": {
3424
+ "common252": {
3394
3425
  "enum": [
3395
3426
  "projects",
3396
3427
  "organizations"
3397
3428
  ],
3398
3429
  "type": "string"
3399
3430
  },
3400
- "common251": {
3431
+ "common253": {
3401
3432
  "items": {
3402
3433
  "enum": [
3403
3434
  "NGO",
@@ -3418,7 +3449,7 @@ const common = {
3418
3449
  },
3419
3450
  "type": "array"
3420
3451
  },
3421
- "common252": {
3452
+ "common254": {
3422
3453
  "enum": [
3423
3454
  "NGO",
3424
3455
  "LocalBusiness",
@@ -3436,7 +3467,7 @@ const common = {
3436
3467
  ],
3437
3468
  "type": "string"
3438
3469
  },
3439
- "common253": {
3470
+ "common255": {
3440
3471
  "default": "",
3441
3472
  "oneOf": [
3442
3473
  {
@@ -3449,11 +3480,11 @@ const common = {
3449
3480
  }
3450
3481
  ]
3451
3482
  },
3452
- "common254": {
3483
+ "common256": {
3453
3484
  "additionalProperties": true,
3454
3485
  "type": "object"
3455
3486
  },
3456
- "common255": {
3487
+ "common257": {
3457
3488
  "oneOf": [
3458
3489
  {
3459
3490
  "additionalProperties": false,
@@ -3552,7 +3583,7 @@ const common = {
3552
3583
  }
3553
3584
  ]
3554
3585
  },
3555
- "common256": {
3586
+ "common258": {
3556
3587
  "additionalProperties": false,
3557
3588
  "patternProperties": {
3558
3589
  "^[^\\s]+$": {
@@ -3599,7 +3630,7 @@ const common = {
3599
3630
  },
3600
3631
  "type": "object"
3601
3632
  },
3602
- "common257": {
3633
+ "common259": {
3603
3634
  "^[^\\s]+$": {
3604
3635
  "additionalProperties": false,
3605
3636
  "properties": {
@@ -3642,7 +3673,7 @@ const common = {
3642
3673
  "type": "object"
3643
3674
  }
3644
3675
  },
3645
- "common258": {
3676
+ "common260": {
3646
3677
  "additionalProperties": false,
3647
3678
  "properties": {
3648
3679
  "countryCode": {
@@ -3683,7 +3714,7 @@ const common = {
3683
3714
  ],
3684
3715
  "type": "object"
3685
3716
  },
3686
- "common259": {
3717
+ "common261": {
3687
3718
  "countryCode": {
3688
3719
  "type": "string"
3689
3720
  },
@@ -3716,7 +3747,7 @@ const common = {
3716
3747
  "type": "string"
3717
3748
  }
3718
3749
  },
3719
- "common260": {
3750
+ "common262": {
3720
3751
  "enum": [
3721
3752
  "cities",
3722
3753
  "cp",
@@ -3729,7 +3760,7 @@ const common = {
3729
3760
  ],
3730
3761
  "type": "string"
3731
3762
  },
3732
- "common261": {
3763
+ "common263": {
3733
3764
  "items": {
3734
3765
  "additionalProperties": false,
3735
3766
  "properties": {
@@ -3773,7 +3804,7 @@ const common = {
3773
3804
  },
3774
3805
  "type": "array"
3775
3806
  },
3776
- "common262": {
3807
+ "common264": {
3777
3808
  "additionalProperties": true,
3778
3809
  "properties": {
3779
3810
  "tags": {
@@ -3788,7 +3819,7 @@ const common = {
3788
3819
  },
3789
3820
  "type": "object"
3790
3821
  },
3791
- "common263": {
3822
+ "common265": {
3792
3823
  "tags": {
3793
3824
  "additionalProperties": true,
3794
3825
  "properties": {
@@ -3799,7 +3830,7 @@ const common = {
3799
3830
  "type": "object"
3800
3831
  }
3801
3832
  },
3802
- "common264": {
3833
+ "common266": {
3803
3834
  "additionalProperties": true,
3804
3835
  "properties": {
3805
3836
  "verb": {
@@ -3808,12 +3839,12 @@ const common = {
3808
3839
  },
3809
3840
  "type": "object"
3810
3841
  },
3811
- "common265": {
3842
+ "common267": {
3812
3843
  "verb": {
3813
3844
  "type": "string"
3814
3845
  }
3815
3846
  },
3816
- "common266": {
3847
+ "common268": {
3817
3848
  "additionalProperties": {
3818
3849
  "enum": [
3819
3850
  1,
@@ -3823,14 +3854,14 @@ const common = {
3823
3854
  },
3824
3855
  "type": "object"
3825
3856
  },
3826
- "common267": {
3857
+ "common269": {
3827
3858
  "enum": [
3828
3859
  1,
3829
3860
  -1
3830
3861
  ],
3831
3862
  "type": "integer"
3832
3863
  },
3833
- "common268": {
3864
+ "common270": {
3834
3865
  "additionalProperties": false,
3835
3866
  "properties": {
3836
3867
  "id": {
@@ -3848,7 +3879,7 @@ const common = {
3848
3879
  ],
3849
3880
  "type": "object"
3850
3881
  },
3851
- "common269": {
3882
+ "common271": {
3852
3883
  "id": {
3853
3884
  "pattern": "^[a-f0-9]{24}$",
3854
3885
  "type": "string"
@@ -3858,11 +3889,11 @@ const common = {
3858
3889
  "type": "string"
3859
3890
  }
3860
3891
  },
3861
- "common270": {
3892
+ "common272": {
3862
3893
  "default": "events",
3863
3894
  "type": "string"
3864
3895
  },
3865
- "common271": {
3896
+ "common273": {
3866
3897
  "items": {
3867
3898
  "properties": {
3868
3899
  "id": {
@@ -3876,7 +3907,7 @@ const common = {
3876
3907
  },
3877
3908
  "type": "array"
3878
3909
  },
3879
- "common272": {
3910
+ "common274": {
3880
3911
  "properties": {
3881
3912
  "id": {
3882
3913
  "type": "string"
@@ -3887,12 +3918,12 @@ const common = {
3887
3918
  ],
3888
3919
  "type": "object"
3889
3920
  },
3890
- "common273": {
3921
+ "common275": {
3891
3922
  "id": {
3892
3923
  "type": "string"
3893
3924
  }
3894
3925
  },
3895
- "common274": {
3926
+ "common276": {
3896
3927
  "additionalProperties": false,
3897
3928
  "properties": {
3898
3929
  "contextId": {
@@ -3936,7 +3967,7 @@ const common = {
3936
3967
  },
3937
3968
  "type": "object"
3938
3969
  },
3939
- "common275": {
3970
+ "common277": {
3940
3971
  "contextId": {
3941
3972
  "pattern": "^[a-f0-9]{24}$",
3942
3973
  "type": "string"
@@ -3976,7 +4007,7 @@ const common = {
3976
4007
  "type": "array"
3977
4008
  }
3978
4009
  },
3979
- "common276": {
4010
+ "common278": {
3980
4011
  "items": {
3981
4012
  "enum": [
3982
4013
  "answers"
@@ -3985,24 +4016,24 @@ const common = {
3985
4016
  },
3986
4017
  "type": "array"
3987
4018
  },
3988
- "common277": {
4019
+ "common279": {
3989
4020
  "enum": [
3990
4021
  "answers"
3991
4022
  ],
3992
4023
  "type": "string"
3993
4024
  },
3994
- "common278": {
4025
+ "common280": {
3995
4026
  "enum": [
3996
4027
  "comments",
3997
4028
  "news"
3998
4029
  ],
3999
4030
  "type": "string"
4000
4031
  },
4001
- "common279": {
4032
+ "common281": {
4002
4033
  "minLength": 1,
4003
4034
  "type": "string"
4004
4035
  },
4005
- "common280": {
4036
+ "common282": {
4006
4037
  "default": "citoyens",
4007
4038
  "enum": [
4008
4039
  "citoyens",
@@ -4013,10 +4044,10 @@ const common = {
4013
4044
  ],
4014
4045
  "type": "string"
4015
4046
  },
4016
- "common281": {
4047
+ "common283": {
4017
4048
  "type": "array"
4018
4049
  },
4019
- "common282": {
4050
+ "common284": {
4020
4051
  "additionalProperties": true,
4021
4052
  "properties": {
4022
4053
  "costumId": {
@@ -4040,7 +4071,7 @@ const common = {
4040
4071
  ],
4041
4072
  "type": "object"
4042
4073
  },
4043
- "common283": {
4074
+ "common285": {
4044
4075
  "costumId": {
4045
4076
  "type": "string"
4046
4077
  },
@@ -4054,7 +4085,7 @@ const common = {
4054
4085
  "type": "string"
4055
4086
  }
4056
4087
  },
4057
- "common284": {
4088
+ "common286": {
4058
4089
  "additionalProperties": true,
4059
4090
  "properties": {
4060
4091
  "costumId": {
@@ -4074,7 +4105,7 @@ const common = {
4074
4105
  ],
4075
4106
  "type": "object"
4076
4107
  },
4077
- "common285": {
4108
+ "common287": {
4078
4109
  "costumId": {
4079
4110
  "type": "string"
4080
4111
  },
@@ -4088,6 +4119,6 @@ const common = {
4088
4119
  };
4089
4120
 
4090
4121
  // Endpoints avec intégration des définitions communes
4091
- const endpoints = {"endpoints":[{"auth":"none","constant":"PERSON_REGISTER","contentType":"application/x-www-form-urlencoded","generateModule":"UserNoAuth","method":"POST","onlyAuthNone":true,"path":"/co2/person/register","request":{"additionalProperties":false,"properties":{"app":common.common1,"email":common.common2,"isInvitation":common.common3,"mode":common.common1,"name":common.common1,"pendingUserId":common.common1,"pwd":common.common1,"username":common.common1},"required":["name","username","email","pwd"],"type":"object"}},{"auth":"none","constant":"AUTHENTICATE_URL","contentType":"application/json","generateModule":"UserNoAuth","method":"POST","onlyAuthNone":true,"path":"/api/cocolight/authenticate","postActions":[{"path":"accessToken","type":"setToken"},{"path":"refreshToken","type":"setRefreshToken"},{"event":"userLoggedIn","path":"user","type":"emitEvent"}],"request":{"additionalProperties":false,"properties":{"email":common.common2,"password":common.common1},"required":["email","password"],"type":"object"}},{"auth":"none","constant":"REFRESH_TOKEN_URL","contentType":"application/json","method":"POST","path":"/api/cocolight/refreshtoken","request":{"additionalProperties":false,"properties":{"refreshToken":common.common1},"required":["refreshToken"],"type":"object"}},{"auth":"bearer","constant":"ME_INFO_URL","contentType":"application/json","method":"POST","path":"/api/cocolight/me"},{"auth":"none","constant":"PASSWORD_RECOVERY","contentType":"application/x-www-form-urlencoded","generateModule":"UserNoAuth","method":"POST","onlyAuthNone":true,"path":"/co2/person/sendemail","request":{"additionalProperties":false,"properties":{"email":common.common2,"type":{"const":"password","default":"password","type":"string"}},"required":["email","type"],"type":"object"}},{"auth":"bearer","constant":"SERVER_EXCHANGE_TOKEN","contentType":"application/json","method":"POST","path":"/api/cocolight/exchangetoken","request":{"additionalProperties":false,"properties":{"serverUrl":common.common4},"required":["serverUrl"],"type":"object"}},{"auth":"bearer","constant":"CHANGE_PASSWORD","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/person/changepassword","request":{"additionalProperties":false,"properties":{"mode":{"const":"changePassword","default":"changePassword","type":"string"},"newPassword":common.common1,"newPassword2":common.common1,"oldPassword":common.common1,"scope":{"default":"","type":["string"]},"userId":common.common5},"required":["mode","userId","oldPassword","newPassword","newPassword2"],"type":"object"}},{"auth":"bearer","constant":"DELETE_ACCOUNT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/delete/id/{id}/type/citoyens","pathParams":common.common6,"postActions":[{"type":"resetSession"},{"event":"accountDeleted","path":null,"type":"emitEvent"}],"request":common.common8},{"auth":"bearer","constant":"UPDATE_SETTINGS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updatesettings","request":{"additionalProperties":false,"allOf":[{"else":{"properties":{"idEntity":common.common11}},"if":{"properties":{"typeEntity":common.common12}},"then":{"properties":{"idEntity":common.common5}}},{"if":{"properties":{"type":{"enum":["birthDate","email","locality","phone","directory"]},"typeEntity":common.common12}},"then":{"properties":{"value":{"enum":["private","public","mask"],"type":"string"}}}},{"if":{"properties":{"type":{"enum":["activitypub","isOpenData"]},"typeEntity":common.common12}},"then":common.common13},{"if":{"properties":{"type":common.common15,"typeEntity":common.common16}},"then":common.common13},{"if":{"properties":{"type":common.common15,"typeEntity":common.common17}},"then":common.common13},{"if":{"properties":{"type":{"enum":["isOpenData","isOpenEdition","public"]},"typeEntity":common.common18}},"then":common.common13}],"properties":{"idEntity":common.common1,"type":common.common1,"typeEntity":common.common19,"value":common.common20},"required":["type","value","typeEntity","idEntity"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_DESCRIPTION","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"additionalProperties":false,"allOf":[common.common21,{"anyOf":[{"properties":{"description":common.common27},"required":["description"]},{"properties":{"shortDescription":common.common27},"required":["shortDescription"]}]}],"properties":{"block":{"const":"descriptions","default":"descriptions","type":"string"},"descMentions":common.common10,"description":common.common1,"id":common.common1,"scope":{"default":"","type":["string","null"]},"shortDescription":common.common1,"typeElement":common.common29},"required":["block","typeElement","id"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_INFO","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"$defs":{"sharedFields":{"email":common.common2,"emailNullable":common.common30,"name":common.common1,"tags":common.common32,"url":common.common35}},"allOf":[{"if":common.common24,"then":{"additionalProperties":false,"anyOf":[common.common36,{"properties":{"birthDate":common.common27},"required":["birthDate"]},{"properties":{"fixe":common.common27},"required":["fixe"]},{"properties":{"mobile":common.common27},"required":["mobile"]},common.common38,common.common40,common.common42],"properties":{"birthDate":{"anyOf":[common.common44,common.common31]},"block":common.common45,"email":{"$ref":"#/$defs/sharedFields/email"},"fixe":common.common46,"id":common.common5,"mobile":common.common46,"name":common.common47,"scope":common.common10,"tags":common.common48,"typeElement":common.common49,"url":common.common50}}},{"if":{"properties":{"typeElement":common.common17}},"then":{"additionalProperties":false,"anyOf":[common.common36,common.common38,common.common40,common.common42,common.common51,common.common53],"properties":{"avancement":{"enum":["abandoned","concept","development","production","started","testing","idea","mature","qa","finished"],"type":"string"},"block":common.common45,"email":common.common55,"id":common.common1,"name":common.common47,"parent":common.common56,"scope":common.common10,"tags":common.common48,"typeElement":{"default":"citoyens","enum":["projects"],"type":"string"},"url":common.common50}}},{"if":{"properties":{"typeElement":common.common18}},"then":{"additionalProperties":false,"anyOf":[common.common36,common.common38,common.common40,common.common42,common.common51,common.common60,{"properties":{"organizer":common.common27},"required":["organizer"]},common.common53],"properties":{"block":common.common45,"email":common.common55,"id":common.common1,"name":common.common47,"organizer":common.common62,"parent":common.common56,"scope":common.common10,"tags":common.common48,"type":common.common65,"typeElement":{"default":"citoyens","enum":["events"],"type":"string"},"url":common.common50}}},{"if":{"properties":{"typeElement":common.common16}},"then":{"additionalProperties":false,"anyOf":[common.common36,common.common38,common.common40,common.common42,common.common60],"properties":{"block":common.common45,"email":common.common55,"id":common.common1,"name":common.common47,"scope":common.common10,"tags":common.common48,"type":common.common66,"typeElement":{"enum":["organizations"],"type":"string"},"url":common.common50}}},{"if":{"properties":{"typeElement":{"const":"poi"}}},"then":{"additionalProperties":false,"anyOf":[common.common36,common.common40,common.common60,{"properties":{"urls":common.common27},"required":["urls"]}],"properties":{"block":common.common45,"id":common.common1,"name":common.common47,"scope":common.common10,"tags":common.common48,"type":common.common67,"typeElement":common.common68,"urls":common.common32}}}],"properties":{"block":common.common45,"id":common.common1,"scope":common.common10,"typeElement":common.common29},"required":["block","typeElement","id"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_SOCIAL","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"$defs":{"socialField":{"anyOf":[common.common34,common.common4]}},"allOf":[common.common21,{"anyOf":[{"properties":{"gitlab":common.common27},"required":["gitlab"]},{"properties":{"github":common.common27},"required":["github"]},{"properties":{"twitter":common.common27},"required":["twitter"]},{"properties":{"facebook":common.common27},"required":["facebook"]},{"properties":{"instagram":common.common27},"required":["instagram"]},{"properties":{"diaspora":common.common27},"required":["diaspora"]},{"properties":{"mastodon":common.common27},"required":["mastodon"]},{"properties":{"telegram":common.common27},"required":["telegram"]},{"properties":{"signal":common.common27},"required":["signal"]}]}],"properties":{"block":{"const":"network","default":"network","type":"string"},"diaspora":common.common69,"facebook":common.common69,"github":common.common69,"gitlab":common.common69,"id":common.common1,"instagram":common.common69,"mastodon":common.common69,"scope":common.common10,"signal":common.common69,"telegram":common.common69,"twitter":common.common69,"typeElement":common.common70},"required":["block","typeElement","id"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_LOCALITY","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"else":common.common71,"if":common.common24,"properties":{"address":common.common74,"block":{"const":"localities","default":"localities","type":"string"},"geo":{"oneOf":[common.common31,common.common79]},"geoPosition":{"oneOf":[common.common31,common.common83]},"id":common.common1,"scope":common.common10,"typeElement":common.common29},"required":["block","typeElement","id","address"],"then":common.common89,"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_SLUG","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"else":common.common71,"if":common.common24,"properties":{"block":common.common45,"id":common.common1,"scope":common.common10,"slug":common.common92,"typeElement":common.common29},"required":["block","typeElement","id","slug"],"then":common.common89,"type":"object"}},{"auth":"bearer","constant":"CHECK","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/slug/check","request":{"additionalProperties":false,"else":common.common71,"if":common.common93,"properties":{"block":common.common45,"id":common.common1,"slug":common.common92,"type":common.common19},"required":["block","type","id","slug"],"then":common.common89,"type":"object"}},{"auth":"bearer","constant":"PROFIL_IMAGE","contentType":"multipart/form-data","method":"POST","path":"/co2/document/upload-save/dir/communecter/folder/{folder}/ownerId/{ownerId}/input/profil_avatar/contentKey/profil/docType/image","pathParams":common.common95,"request":{"additionalProperties":false,"properties":{"profil_avatar":common.common20},"required":["profil_avatar"],"type":"object"}},{"auth":"bearer","constant":"PROFIL_BANNER","contentType":"multipart/form-data","method":"POST","path":"/co2/document/upload-save/dir/communecter/folder/{folder}/ownerId/{ownerId}/input/banner/docType/image/contentKey/banner","pathParams":common.common95,"request":{"additionalProperties":false,"properties":{"banner":common.common20,"cropH":common.common86,"cropW":common.common86,"cropX":common.common86,"cropY":common.common86,"formOrigin":{"const":"banner","default":"banner"},"parentId":common.common11,"parentType":common.common101},"required":["banner","parentId","parentType","formOrigin","cropW","cropH","cropX","cropY"],"type":"object"}},{"auth":"none","constant":"GET_ELEMENTS_ABOUT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/about/type/{type}/id/{id}/json/true","pathParams":{"additionalProperties":false,"else":common.common71,"if":common.common93,"properties":{"id":common.common1,"type":{"default":"citoyens","enum":["citoyens","projects","organizations","events","poi","badges","answers","classifieds","forms","actions"],"type":"string"}},"required":["type","id"],"then":common.common89,"type":"object"},"request":{"additionalProperties":false,"properties":{"tpl":{"const":"ficheInfoElement","default":"ficheInfoElement","type":"string"}},"required":["tpl"],"type":"object"}},{"auth":"bearer","constant":"MULTICONNECT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/multiconnect","request":{"additionalProperties":false,"else":common.common104,"if":common.common106,"properties":{"listInvite":{"additionalProperties":false,"patternProperties":{"^(citoyens|projects|organizations)$":{"additionalProperties":false,"patternProperties":{"^[0-9a-fA-F]{24}$":{"additionalProperties":false,"properties":{"name":common.common1},"required":["name"],"type":"object"}},"type":"object"}},"type":"object"},"parentId":common.common1,"parentType":common.common70},"required":["parentId","parentType","listInvite"],"then":common.common108,"type":"object"}},{"auth":"none","constant":"GET_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/get/type/{type}/id/{id}/isLive/{isLive}/json/true","pathParams":{"additionalProperties":false,"else":common.common71,"if":common.common93,"properties":{"id":common.common1,"isLive":common.common110,"type":common.common70},"required":["isLive","type","id"],"then":common.common89,"type":"object"},"request":{"additionalProperties":false,"properties":{"dateLimit":common.common111,"indexStep":{"default":12,"type":"integer"},"search":{"additionalProperties":false,"properties":{"name":common.common10},"required":["name"],"type":"object"}},"required":["dateLimit","indexStep"],"type":"object"}},{"auth":"none","constant":"GET_NEWS_BY_ID","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/getbyids","request":{"additionalProperties":false,"properties":{"ids":common.common112},"required":["ids"],"type":"object"}},{"auth":"bearer","constant":"ADD_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/save","request":{"additionalProperties":false,"anyOf":[common.common113,common.common114,common.common115],"else":common.common104,"if":common.common106,"properties":{"json":common.common87,"markdownActive":common.common110,"mediaFile":common.common116,"mediaImg":common.common118,"mentions":common.common120,"parentId":common.common1,"parentType":common.common70,"scope":common.common124,"tags":common.common32,"text":common.common1,"type":common.common125},"required":["scope","markdownActive","parentId","parentType","type","json"],"then":common.common108,"type":"object"}},{"auth":"bearer","constant":"ADD_IMAGE_NEWS","contentType":"multipart/form-data","method":"POST","path":"/co2/document/uploadSave/dir/communecter/folder/{folder}/ownerId/{ownerId}/input/newsImage/docType/image/contentKey/slider","pathParams":common.common126,"request":{"additionalProperties":false,"properties":{"newsImage":common.common20},"required":["newsImage"],"type":"object"}},{"auth":"bearer","constant":"ADD_FILE_NEWS","contentType":"multipart/form-data","method":"POST","path":"/co2/document/uploadSave/dir/communecter/folder/{folder}/ownerId/{ownerId}/input/newsFile/docType/file","pathParams":common.common126,"request":{"additionalProperties":false,"properties":{"newsFile":common.common20},"required":["newsFile"],"type":"object"}},{"auth":"bearer","constant":"DELETE_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/delete/id/{id}","pathParams":common.common128,"request":{"additionalProperties":false,"properties":{"isLive":common.common129},"required":["isLive"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/update","request":{"additionalProperties":false,"anyOf":[common.common113,common.common114,common.common115],"else":common.common104,"if":common.common106,"properties":{"idNews":common.common11,"markdownActive":common.common110,"mediaFile":common.common116,"mediaImg":common.common118,"mentions":common.common120,"parentId":common.common1,"parentType":common.common70,"scope":common.common124,"tags":common.common32,"text":common.common1,"type":common.common125},"required":["idNews","scope","markdownActive","parentId","parentType","type"],"then":common.common108,"type":"object"}},{"auth":"bearer","constant":"SHARE_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/share","request":{"additionalProperties":false,"else":common.common130,"if":common.common132,"properties":{"childId":common.common11,"childType":common.common70,"comment":common.common1,"connectType":common.common134,"parentId":common.common11,"parentType":common.common125},"required":["parentId","parentType","childId","childType","connectType"],"then":common.common135,"type":"object"}},{"auth":"none","constant":"GET_COMMENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/comment/index/type/{type}/id/{id}/json/true","pathParams":{"additionalProperties":false,"properties":{"id":common.common11,"type":common.common137},"required":["type","id"],"type":"object"}},{"auth":"bearer","constant":"ADD_COMMENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/comment/save","request":{"additionalProperties":false,"properties":{"argval":common.common10,"contextId":common.common11,"contextType":common.common137,"mentions":common.common138,"parentCommentId":{"default":"","pattern":"^([a-f0-9]{24}|)$","type":"string"},"path":common.common10,"text":common.common1},"required":["text","contextId","contextType"],"type":"object"}},{"auth":"bearer","constant":"DELETE_COMMENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/comment/delete/id/{id}","pathParams":common.common128},{"auth":"bearer","constant":"UPDATE_COMMENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/comment/update","request":{"additionalProperties":false,"properties":{"id":common.common11,"params":{"properties":{"mentions":common.common138,"text":common.common1},"required":["text"],"type":"object"}},"required":["id","params"],"type":"object"}},{"auth":"none","constant":"SEARCH_TAGS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/api/tags/search?q={q}","pathParams":{"additionalProperties":false,"properties":{"q":common.common1},"required":["q"],"type":"object"}},{"auth":"none","constant":"SHOW_VOTE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/action/list/type/{type}/id/{id}/actionType/vote/json/true","pathParams":{"additionalProperties":false,"properties":{"id":common.common11,"type":{"default":"news","enum":["news","comments"],"type":"string"}},"required":["type","id"],"type":"object"}},{"auth":"none","constant":"GLOBAL_AUTOCOMPLETE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":{"default":["NGO","LocalBusiness","Group","GovernmentOrganization","Cooperative","projects","citoyens","poi"],"items":common.common141,"type":"array"},"fediverse":common.common142,"filters":common.common143,"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common146,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchTags":common.common33,"searchType":{"items":common.common141,"type":"array"}},"required":["name","searchType","countType","indexMin","indexStep","initType","count","notSourceKey","filters","fediverse"],"type":"object"}},{"auth":"none","constant":"CITY_AUTOCOMPLETE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"indexMax":{"minimum":5,"type":"integer"},"indexMin":common.common157,"locality":common.common143,"name":common.common1,"searchBy":{"const":"ALL","default":"ALL","type":"string"},"searchType":{"const":["cities"],"default":["cities"],"items":{"enum":["cities"],"type":"string"},"type":"array"}},"required":["name","locality","searchType"],"type":"object"}},{"auth":"none","constant":"CITY_AUTOCOMPLETE_BY_COUNTRY","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/city/autocompletemultiscope","request":{"additionalProperties":false,"properties":{"countryCode":{"default":"FR","type":"string"},"formInMap":common.common129,"scopeValue":common.common1,"type":{"enum":["locality"],"type":"string"}},"required":["type","countryCode","scopeValue","formInMap"],"type":"object"}},{"auth":"none","constant":"SUGGESTION_INPUT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"indexMax":{"default":20,"minimum":20,"type":"integer"},"indexMin":common.common158,"name":common.common1,"searchType":{"items":{"enum":["organizations","projects","poi"],"type":"string"},"type":"array"}},"required":["name","searchType","indexMin","indexMax"],"type":"object"}},{"auth":"none","constant":"GET_PROJECTS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common159,"fediverse":common.common142,"filters":{"additionalProperties":false,"default":{"$or":{"links.contributors.@userId":common.common161,"parent.@userId":common.common161},"links.contributors.@userId":common.common161},"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@\\w+)$":common.common162},"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@\\w+)$":common.common162,"^parent\\.(?:[a-f0-9]{24}|@\\w+)$":common.common162},"type":"object"}},"required":["$or"],"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common159},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_PROJECTS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/{type}/id/{id}/canSee/true","pathParams":common.common165,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common159,"fediverse":common.common142,"filters":{"additionalProperties":false,"default":{"$or":{"links.contributors.@{pathParams.id}":common.common161,"parent.@{pathParams.id}":common.common161},"links.contributors.@{pathParams.id}":common.common161},"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common162},"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common162,"^parent\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common162},"type":"object"}},"required":["$or"],"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common159},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_POIS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common167,"fediverse":common.common142,"filters":{"additionalProperties":false,"default":{"parent.@userId":common.common161},"patternProperties":{"^parent\\.(?:[a-f0-9]{24}|@\\w+)$":common.common162},"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common167},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_POIS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/{type}/id/{id}/canSee/true","pathParams":common.common165,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common167,"fediverse":common.common142,"filters":{"additionalProperties":false,"default":{"parent.@{pathParams.id}":common.common161},"patternProperties":{"^parent\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common162},"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common167},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_ORGANIZATIONS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common168,"fediverse":common.common142,"filters":{"additionalProperties":false,"default":{"links.members.@userId":common.common161,"links.members.@userId.isInviting":common.common170,"links.members.@userId.toBeValidated":common.common170},"patternProperties":{"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)$":common.common162,"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common171,"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common171},"type":"object"},"indexMax":common.common86,"indexMin":common.common158,"indexStep":common.common174,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common168},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_ORGANIZATIONS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/{type}/id/{id}/canSee/true","pathParams":common.common175,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common168,"fediverse":common.common142,"filters":{"additionalProperties":true,"default":common.common178,"patternProperties":{"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common162,"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common171,"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common171},"type":"object"},"indexMax":common.common86,"indexMin":common.common158,"indexStep":common.common174,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common168},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_USER_ELIGIBLE_PLACES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/{type}/id/{id}/canSee/true","pathParams":common.common175,"request":{"additionalProperties":false,"properties":{"count":common.common110,"countType":common.common179,"fediverse":common.common129,"filters":{"additionalProperties":true,"default":common.common178,"type":"object"},"indexMax":common.common86,"indexMin":common.common158,"indexStep":common.common174,"initType":common.common10,"locality":common.common10,"name":common.common1,"notSourceKey":common.common110,"ranges":common.common151,"searchBy":{"enum":["ALL"],"type":"string"},"searchType":common.common179},"required":["searchType","indexMin","indexStep","notSourceKey","filters"],"type":"object"}},{"auth":"none","constant":"GET_MEMBERS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common180,"fediverse":common.common142,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)$)"}}},{"not":{"propertyNames":{"pattern":"^(?!links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$)"}}}],"patternProperties":{"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)$":common.common162,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common162,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common162,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common182,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common184,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common171},"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common186},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_MEMBERS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/organizations/id/{id}/canSee/true","pathParams":common.common128,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common180,"fediverse":common.common142,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"}}}],"default":{"links.memberOf.@{pathParams.id}":common.common161,"links.memberOf.@{pathParams.id}.isInviting":common.common170,"links.memberOf.@{pathParams.id}.toBeValidated":common.common170},"patternProperties":{"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common162,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common162,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common162,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common182,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common184,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common182},"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common186},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_FRIENDS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/citoyens/id/{id}/canSee/true","pathParams":common.common6,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common187,"fediverse":common.common142,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"}}}],"default":{"links.friends.@{pathParams.id}":common.common161,"links.friends.@{pathParams.id}.isInviting":common.common170,"links.friends.@{pathParams.id}.toBeValidated":common.common170},"patternProperties":{"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common162,"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common182,"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common182},"type":"object"},"indexMax":common.common86,"indexMin":common.common158,"indexStep":common.common174,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchType":common.common187},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_SUBSCRIPTIONS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common189,"fediverse":common.common142,"filters":{"additionalProperties":false,"allOf":[common.common191],"default":{"links.followers.@userId":common.common161,"links.followers.@{userId}.isInviting":common.common170,"links.followers.@{userId}.toBeValidated":common.common170},"patternProperties":common.common194,"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common189},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_SUBSCRIPTIONS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/citoyens/id/{id}/canSee/true","pathParams":common.common6,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common189,"fediverse":common.common142,"filters":{"additionalProperties":false,"allOf":[common.common191],"default":{"links.followers.@{pathParams.id}":common.common161,"links.followers.@{pathParams.id}.isInviting":common.common170,"links.followers.@{pathParams.id}.toBeValidated":common.common170},"patternProperties":common.common194,"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common189},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_SUBSCRIBERS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common187,"fediverse":common.common142,"filters":{"additionalProperties":false,"allOf":[common.common195],"default":{"links.follows.@userId":common.common161,"links.follows.@{userId}.isInviting":common.common170,"links.follows.@{userId}.toBeValidated":common.common170},"patternProperties":{"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common162,"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common171,"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common171},"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common187},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_SUBSCRIBERS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/{type}/id/{id}/canSee/true","pathParams":{"additionalProperties":false,"allOf":[{"else":common.common71,"if":common.common93,"then":common.common89}],"properties":{"id":common.common1,"type":common.common198},"required":["type","id"],"type":"object"},"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common187,"fediverse":common.common142,"filters":{"additionalProperties":false,"allOf":[common.common195],"default":{"links.follows.@{pathParams.id}":common.common161},"maxProperties":1,"minProperties":1,"patternProperties":{"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common162},"type":"object"},"indexMin":common.common158,"indexStep":common.common174,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"searchType":common.common187},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_CONTRIBUTORS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common180,"fediverse":common.common142,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)$)"}}},{"not":{"propertyNames":{"pattern":"^(?!links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$)"}}}],"patternProperties":{"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)$":common.common162,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common162,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common162,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common182,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common184,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common171},"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common186},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_CONTRIBUTORS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/projects/id/{id}/canSee/true","pathParams":common.common128,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common180,"fediverse":common.common142,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"}}}],"default":{"links.projects.@{pathParams.id}":common.common161,"links.projects.@{pathParams.id}.isInviting":common.common170,"links.projects.@{pathParams.id}.toBeValidated":common.common170},"patternProperties":{"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common162,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common162,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common162,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common182,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common184,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common182},"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common186},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_BADGES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common199,"fediverse":common.common142,"filters":{"properties":{"$or":{"additionalProperties":false,"minProperties":1,"patternProperties":{"^issuer\\.(?:[a-f0-9]{24}|@\\w+)$":common.common162},"type":"object"},"isParcours":common.common3,"preferences.private":common.common142},"required":["preferences.private"],"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common199},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_BADGES_FILTERS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common201,"fediverse":common.common142,"fields":common.common199,"filters":{"oneOf":[{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)$":common.common203}},{"additionalProperties":false,"maxProperties":3,"minProperties":3,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)$":common.common203,"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteEmetteur$":common.common206,"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteRecepteur$":common.common206}},{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":common.common209},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":common.common209,"type":"object"}},"required":["$or"]},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.revoke$":common.common205}},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteEmetteur$":common.common203}}],"type":"object"},"indexMin":common.common158,"indexStep":common.common174,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":{"additionalProperties":false,"default":{"Cooperative":common.common210,"GovernmentOrganization":common.common210,"Group":common.common210,"LocalBusiness":common.common210,"NGO":common.common210,"citoyens":common.common210,"projects":common.common210},"maxProperties":7,"minProperties":7,"patternProperties":{"^[a-zA-Z][a-zA-Z0-9]*$":common.common153},"type":"object"},"searchType":common.common201},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"CONNECT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/connect","request":{"additionalProperties":false,"allOf":[{"if":common.common106,"then":{"properties":{"connectType":{"const":"friend","default":"friend"}}}},{"if":common.common211,"then":{"properties":{"connectType":{"enum":["admin","member"]}}}},{"if":common.common213,"then":{"properties":{"connectType":{"enum":["admin","contributor"]}}}},{"if":common.common215,"then":{"properties":{"connectType":{"default":"attendee","enum":["attendee","connect"]}}}}],"properties":{"childId":common.common217,"childType":common.common218,"connectType":{"enum":["admin","member","contributor","attendee","friend","connect"],"type":"string"},"parentId":common.common11,"parentType":common.common219},"required":["childId","childType","parentType","parentId","connectType"],"type":"object"}},{"auth":"bearer","constant":"DISCONNECT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/disconnect","request":{"additionalProperties":false,"allOf":[{"if":common.common106,"then":{"properties":{"connectType":{"default":"friends","enum":["friends","followers"]}}}},{"if":common.common211,"then":{"properties":{"connectType":{"default":"members","enum":["members","followers"]}}}},{"if":common.common213,"then":{"properties":{"connectType":{"default":"contributors","enum":["contributors","followers"]}}}},{"if":common.common215,"then":{"properties":{"connectType":{"default":"attendees","enum":["attendees","followers"]}}}}],"properties":{"childId":common.common217,"childType":common.common218,"connectType":{"enum":["members","contributors","attendees","friends","followers"],"type":"string"},"parentId":common.common11,"parentType":common.common219},"required":["childId","childType","parentType","parentId","connectType"],"type":"object"}},{"auth":"none","constant":"GET_ELEMENTS_KEY","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/slug/getinfo/key/{slug}","pathParams":{"additionalProperties":false,"properties":{"slug":{"pattern":"^([a-zA-Z0-9-_]+)$","type":"string"}},"required":["slug"],"type":"object"}},{"auth":"bearer","constant":"GET_FAVORIS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/app/config/type/citoyens/id/{id}/json/true","pathParams":common.common6},{"auth":"bearer","constant":"DELETE_FAVORIS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updatepathvalue?index={index}","pathParams":{"properties":{"index":common.common86},"type":"object"},"request":{"additionalProperties":false,"properties":{"collection":common.common220,"id":common.common221,"path":{"const":"preferences.search.@{pathParams.index}","default":"preferences.search.@{pathParams.index}","type":"string"},"pull":{"const":"preferences.search","type":"string"},"value":common.common143},"required":["id","collection","path","pull","value"],"type":"object"}},{"auth":"bearer","constant":"ADD_FAVORIS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updatepathvalue","request":{"additionalProperties":false,"properties":{"arrayForm":common.common205,"collection":common.common220,"id":common.common221,"path":{"const":"preferences.search","default":"preferences.search","type":"string"}},"required":["id","collection","path","arrayForm","value"],"type":"object"}},{"auth":"bearer","constant":"ADD_ORGANIZATION","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":true,"properties":{"address":common.common75,"buildingSurfaceArea":common.common86,"collection":{"const":"organizations","default":"organizations","type":"string"},"compagnon":common.common1,"costum":{"additionalProperties":true,"properties":{"bannerImageUrl":common.common1,"bannerLogoUrl":common.common1,"bannerText":common.common1,"cocity":common.common129,"slug":common.common1,"transparentCommune":common.common129,"typeCocity":common.common1},"required":[],"type":"object"},"costumEditMode":common.common3,"costumId":common.common1,"costumSlug":common.common1,"costumType":common.common1,"description":common.common1,"email":common.common2,"filiere":{"additionalProperties":{"additionalProperties":false,"properties":{"icon":common.common1,"name":common.common1,"tags":common.common33},"required":["name","icon","tags"],"type":"object"},"type":"object"},"geo":common.common79,"geoPosition":common.common83,"holderOrganization":common.common1,"id":common.common11,"key":{"const":"organization","default":"organization","type":"string"},"mainTag":common.common1,"manageModel":common.common1,"name":common.common222,"openingDate":common.common1,"openingHours":{"items":{"oneOf":[common.common31,{"additionalProperties":false,"properties":{"dayOfWeek":common.common223,"hours":{"items":common.common224,"type":"array"}},"required":["dayOfWeek","hours"],"type":"object"}]},"maxItems":7,"minItems":7,"type":"array"},"preferences":common.common227,"role":{"enum":["admin","member"],"type":"string"},"scope":common.common143,"shortDescription":common.common1,"siteSurfaceArea":common.common86,"source":{"properties":{"insertOrign":common.common1,"key":common.common1,"keys":common.common33},"type":"object"},"tags":common.common33,"telephone":common.common1,"thematic":common.common33,"type":common.common66,"typePlace":common.common1,"url":common.common35,"video":common.common33},"required":["id","collection","key","name","type","role","scope"],"type":"object"}},{"auth":"bearer","constant":"ADD_PROJECT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":false,"properties":{"address":common.common75,"collection":common.common230,"geo":common.common79,"geoPosition":common.common83,"id":common.common11,"key":{"const":"project","default":"project","type":"string"},"name":common.common1,"parent":common.common231,"preferences":{"default":{"crowdfunding":true,"isOpenData":false,"isOpenEdition":false},"properties":{"crowdfunding":common.common110,"isOpenData":common.common129,"isOpenEdition":common.common129},"required":["isOpenData","isOpenEdition"],"type":"object"},"public":common.common110,"scope":common.common143,"shortDescription":common.common1,"tags":common.common33,"url":common.common35},"required":["id","collection","key","parent","name","public","scope"],"type":"object"}},{"auth":"bearer","constant":"ADD_POI","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":false,"properties":{"address":common.common75,"aps_name":common.common33,"categorie":common.common1,"collection":common.common234,"description":common.common1,"equip_acc_libre":common.common3,"equip_douche":common.common3,"equip_eclair":common.common3,"equip_gest_type":common.common1,"equip_larg":common.common86,"equip_loc_type":common.common33,"equip_long":common.common86,"equip_maj_date":common.common1,"equip_nature":common.common1,"equip_pmr_acc":common.common3,"equip_pmr_chem":common.common3,"equip_pmr_douche":common.common3,"equip_pmr_sanit":common.common3,"equip_pmr_trib":common.common3,"equip_pmr_vest":common.common3,"equip_prop_nom":common.common1,"equip_prop_type":common.common1,"equip_pshs_aire":common.common3,"equip_pshs_chem":common.common3,"equip_pshs_sanit":common.common3,"equip_pshs_sign":common.common3,"equip_pshs_trib":common.common3,"equip_pshs_vest":common.common3,"equip_sol":common.common1,"equip_surf":common.common86,"equip_type_famille":common.common1,"equip_type_name":common.common1,"equip_utilisateur":common.common33,"geo":common.common79,"geoPosition":common.common83,"id":common.common11,"inst_acc_handi_bool":common.common3,"inst_acc_handi_type":common.common1,"inst_date_creation":common.common1,"inst_enqu_date":common.common1,"inst_nom":common.common1,"inst_part_bool":common.common3,"inst_part_type":common.common33,"inst_trans_bool":common.common3,"inst_trans_type":common.common1,"key":common.common234,"name":common.common1,"parent":common.common231,"scope":common.common143,"tags":common.common33,"type":common.common67,"urls":common.common33},"required":["id","collection","key","parent","type","name"],"type":"object"}},{"auth":"bearer","constant":"ADD_EVENT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":false,"else":{"required":["openingHours"]},"if":{"properties":{"recurrency":common.common173}},"properties":{"address":common.common74,"collection":common.common235,"email":common.common30,"endDate":common.common236,"geo":common.common79,"geoPosition":common.common83,"id":common.common11,"key":{"const":"event","default":"event","type":"string"},"name":{"minLength":2,"type":"string"},"openingHours":{"default":["","","","","","",""],"items":{"anyOf":[common.common31,{"additionalProperties":false,"properties":{"dayOfWeek":common.common223,"hours":{"default":[],"items":common.common224,"type":"array"}},"required":["dayOfWeek","hours"],"type":"object"}]},"maxItems":7,"minItems":7,"type":"array"},"organizer":common.common231,"parent":{"oneOf":[common.common62,common.common31]},"preferences":{"default":{"isOpenData":false,"isOpenEdition":false},"properties":{"isOpenData":common.common129,"isOpenEdition":common.common129},"required":["isOpenData","isOpenEdition"],"type":"object"},"public":common.common110,"recurrency":common.common129,"scope":common.common143,"shortDescription":{"format":"textarea","type":"string"},"startDate":common.common236,"tags":{"anyOf":[common.common33,common.common31]},"timeZone":common.common1,"type":common.common65,"url":common.common35},"required":["id","collection","key","organizer","type","name","scope"],"startBeforeEnd":true,"then":{"required":["startDate","endDate"]},"type":"object"}},{"auth":"bearer","constant":"DELETE_POI","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/delete/type/poi/id/{id}","pathParams":common.common128,"request":common.common8},{"auth":"bearer","constant":"DELETE_EVENT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/delete/type/events/id/{id}/","pathParams":common.common128,"request":common.common8},{"auth":"bearer","constant":"DELETE_ELEMENT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/delete/type/{type}/id/{id}","pathParams":{"additionalProperties":false,"properties":{"id":common.common11,"type":common.common1},"required":["type","id"],"type":"object"},"request":common.common8},{"auth":"bearer","constant":"ADD_IMAGE_ELEMENT","contentType":"multipart/form-data","method":"POST","path":"/co2/document/upload-save/dir/communecter/folder/{folder}/ownerId/{ownerId}/input/qqfile/docType/image/contentKey/profil","pathParams":{"additionalProperties":false,"properties":{"folder":{"enum":["badges","events"],"type":"string"},"ownerId":common.common11},"required":["folder","ownerId"],"type":"object"},"request":{"additionalProperties":false,"properties":{"qqfile":common.common20,"qqfilename":common.common1,"qqtotalfilesize":common.common237,"qquuid":common.common11},"required":["qquuid","qqfilename","qqtotalfilesize","qqfile"],"type":"object"}},{"auth":"bearer","constant":"LINK_VALIDATE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/validate","request":{"additionalProperties":false,"properties":{"childId":common.common5,"childType":common.common49,"linkOption":{"enum":["isInviting","toBeValidated","isAdminPending"],"type":"string"},"parentId":common.common11,"parentType":common.common219},"required":["childId","childType","parentType","parentId"],"type":"object"}},{"auth":"none","constant":"SEARCH_MEMBER_AUTOCOMPLETE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/searchmemberautocomplete","request":{"additionalProperties":false,"properties":{"search":common.common1,"searchMode":{"default":"personOnly","enum":["personOnly","organizationOnly","mixte"],"type":"string"}},"required":["search","searchMode"],"type":"object"}},{"auth":"bearer","constant":"GET_NOTIFICATIONS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/notification/getnotifications/type/{type}/id/{id}","pathParams":common.common238,"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.common238,"request":{"additionalProperties":false,"properties":{"refreshTimestamp":common.common237},"type":"object"}},{"auth":"bearer","constant":"NOTIFICATION_UPDATE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/notification/update","request":{"additionalProperties":false,"properties":{"action":{"enum":["seen","read"],"type":"string"},"all":common.common87},"required":["action","all"],"type":"object"}},{"auth":"bearer","constant":"REMOVE_ALL_NOTIFICATIONS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/notification/removeall"},{"auth":"bearer","constant":"MARK_NOTIFICATION_AS_READ","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/notification/marknotificationasread","request":common.common128},{"auth":"none","constant":"ACTIVITYPUB_SEARCH","contentType":"application/x-www-form-urlencoded","method":"GET","params":[common.common20],"path":"/api/activitypub/search?address={address}","pathParams":{"additionalProperties":false,"properties":{"address":common.common1},"required":["address"],"type":"object"}},{"auth":"bearer","constant":"ACTIVITYPUB_LINK","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/api/activitypub/link","request":{"additionalProperties":false,"properties":{"action":{"enum":["undo_follow","accept_invitation","reject_invitation","undo_accept","undo_request_follow","follow","remove_follow","accept_follower","reject_follower","remove_follower","remove_invitation"],"type":"string"},"actor":{"additionalProperties":false,"properties":{"id":common.common1,"name":common.common1,"type":{"enum":["person"],"type":"string"}},"required":["id","type","name"],"type":"object"},"payload":common.common4},"required":["action","payload","actor"],"type":"object"}},{"auth":"none","constant":"ACTIVITYPUB_GET_COMMUNITY","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/api/activitypub/getcommunity/userId/${userId}/type/${type}/actor/person","pathParams":{"additionalProperties":false,"properties":{"type":{"enum":["follows","followers"],"type":"string"},"userId":common.common11},"required":["userId","type"],"type":"object"}},{"auth":"none","constant":"GET_BADGE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/app/page/type/badges/id/{id}/json/true","pathParams":common.common128},{"auth":"none","constant":"GET_EMETTEUR_BADGES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/app/badge/json/true"},{"auth":"bearer","constant":"ADD_BADGES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":false,"properties":{"collection":common.common241,"criteria":{"additionalProperties":false,"properties":{"narrative":common.common1},"required":["narrative"],"type":"object"},"description":common.common1,"id":common.common11,"isParcours":common.common129,"issuer":{"additionalProperties":false,"patternProperties":{"^(?:[a-f0-9]{24}|@userId)$":{"additionalProperties":false,"properties":{"name":common.common1,"type":{"enum":["citoyens","organizations","projects"],"type":"string"}},"required":["type"],"type":"object"}},"type":"object"},"key":common.common242,"name":common.common1,"parent":{"additionalProperties":false,"patternProperties":{"^[a-f0-9]{24}$":{"additionalProperties":false,"properties":{"name":common.common1,"type":common.common241},"required":["type"],"type":"object"}},"type":"object"},"preferences":common.common227,"public":common.common110,"scope":common.common143,"tags":common.common33},"required":["id","collection","key","name","public","scope","issuer","criteria"],"type":"object"}},{"auth":"bearer","constant":"ASSIGN_BADGES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/badges/assign","request":{"additionalProperties":false,"properties":{"award":{"patternProperties":{"^[0-9a-f]{24}$":common.common58},"type":"object"},"badgeId":common.common11,"collection":common.common241,"evidences":{"items":{"additionalProperties":false,"properties":{"narative":common.common1,"url":common.common4},"required":["narative"],"type":"object"},"type":"array"},"key":common.common242,"narative":common.common1,"scope":common.common143},"required":["key","collection","badgeId","award"],"type":"object"}},{"auth":"none","constant":"GET_EVENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/agenda","request":{"additionalProperties":true,"properties":{"count":common.common129,"countType":{"const":["events"],"default":["events"],"type":"array"},"endDateUTC":common.common236,"fediverse":common.common129,"filters":{"additionalProperties":false,"default":{"$or":{"links.attendees.@userId":common.common161,"organizer.@userId":common.common161},"links.attendees.@userId":common.common161},"patternProperties":{"^links\\.attendees\\.(?:[a-f0-9]{24}|@\\w+)$":common.common162},"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":{"^links\\.attendees\\.(?:[a-f0-9]{24}|@\\w+)$":common.common162,"^organizer\\.(?:[a-f0-9]{24}|@\\w+)$":common.common162},"type":"object"}},"required":["$or"],"type":"object"},"indexMin":common.common111,"indexStep":{"default":100,"type":"integer"},"locality":{"patternProperties":{"^[^\\s]+$":{"type":"object"}},"type":"object"},"name":common.common1,"recurrency":common.common110,"searchType":{"const":["events"],"default":["events"],"items":{"enum":["events"],"type":"string"},"type":"array"},"startDateUTC":common.common236,"type":common.common65},"required":["searchType","indexMin","indexStep","fediverse"],"type":"object"}},{"auth":"bearer","constant":"SHARE_EVENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/share","request":{"additionalProperties":false,"else":common.common130,"if":common.common132,"properties":{"childId":common.common11,"childType":common.common70,"comment":common.common1,"connectType":common.common134,"parentId":common.common11,"parentType":common.common235},"required":["parentId","childId","childType","connectType","parentType"],"then":common.common135,"type":"object"}},{"auth":"bearer","constant":"INVITE_EVENT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/multiconnect","request":{"additionalProperties":false,"else":common.common104,"if":common.common106,"properties":{"listInvite":{"additionalProperties":false,"minProperties":1,"properties":{"citoyens":common.common243,"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.common247,"msg":common.common1,"name":common.common1,"roles":common.common33},"required":["name","email"],"type":"object"}},"type":"object"},"organizations":common.common243,"projects":common.common243},"type":"object"},"parentId":common.common1,"parentType":common.common70},"required":["parentId","parentType","listInvite"],"then":common.common108,"type":"object"}},{"auth":"bearer","constant":"FOLLOW","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/follow","request":{"additionalProperties":false,"properties":{"childId":common.common217,"childType":common.common218,"parentId":common.common11,"parentType":common.common219},"required":["childId","childType","parentType","parentId"],"type":"object"}},{"auth":"none","constant":"GET_COSTUM_JSON","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/cms/getcostumjson?slug={slug}","pathParams":{"slug":common.common1}},{"auth":"none","constant":"GLOBAL_AUTOCOMPLETE_COSTUM","contentType":"application/x-www-form-urlencoded","functionCocostum":"globalautocomplete","method":"POST","path":"/co2/search/globalautocomplete","request":common.common248},{"auth":"none","constant":"NAVIGATOR_GETTL","contentType":"application/x-www-form-urlencoded","functionCocostum":"gettl","method":"POST","path":"/costum/navigator/gettl","request":common.common248},{"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.common268,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common250,"costumEditMode":common.common129,"costumId":common.common11,"costumSlug":common.common1,"costumType":common.common250,"mode":common.common1,"parent_only":common.common3,"sourceKey":common.common33,"types":{"items":{"enum":["organizer","links.attendees","creator","links.creator","links.organizer","organizerName","animator"],"type":"string"},"type":"array"}},"type":"object"}},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_SUBEVENTS","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestSubevents","method":"POST","path":"/costum/coevent/get_events/request/subevents/id/{id}/type/{type}","pathParams":common.common268,"request":{"additionalProperties":false,"allOf":[{"if":{"properties":{"date":common.common1},"required":["date"]},"then":{"required":["timezone"]}}],"properties":{"contextId":common.common11,"contextType":common.common250,"costumEditMode":common.common129,"costumId":common.common11,"costumSlug":common.common1,"costumType":common.common250,"date":{"oneOf":[common.common1,{"properties":{"between":{"properties":{"end":common.common44,"start":common.common44},"required":["start","end"],"type":"object"}},"required":["between"],"type":"object"}]},"fromToday":common.common3,"mode":common.common1,"regions":common.common271,"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.common268,"request":common.common274},{"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.common268,"request":common.common274},{"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.common268,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common250,"costumEditMode":common.common129,"costumId":common.common11,"costumSlug":common.common1,"costumType":common.common250,"mode":common.common1,"regions":common.common271,"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.common268,"request":common.common274},{"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.common268,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common250,"costumEditMode":common.common129,"costumId":common.common11,"costumSlug":common.common1,"costumType":common.common250,"event":common.common1,"mode":common.common1,"sourceKey":common.common33,"tl":common.common1},"required":["tl","event"],"type":"object"}},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_LOAD_CONTEXT_TAG","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestLoadContextTag","method":"POST","path":"/costum/coevent/get_events/request/load_context_tag/id/{id}/type/{type}","pathParams":common.common268,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common250,"costumEditMode":common.common129,"costumId":common.common11,"costumSlug":common.common1,"costumType":common.common250,"event":common.common11,"mode":common.common1,"search":common.common1,"sourceKey":common.common33},"type":"object"}},{"auth":"none","constant":"GET_GALLERY","contentType":"application/x-www-form-urlencoded","functionCocostum":"","method":"POST","path":"/co2/gallery/index/type/{type}/id/{id}/docType/{docType}/tpl/json","pathParams":{"additionalProperties":false,"else":common.common71,"if":common.common93,"properties":{"docType":{"default":"image","enum":["image","file","bookmarks"],"type":"string"},"id":common.common1,"type":common.common198},"required":["id","type","docType"],"then":common.common89,"type":"object"},"request":{"additionalProperties":false,"properties":{"contentKey":common.common1,"folderId":common.common1},"type":"object"}},{"auth":"none","constant":"GET_ATTENDEES_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common187,"fediverse":common.common142,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.events\\.(?:[a-f0-9]{24}|@\\w+)$)"}}},{"not":{"propertyNames":{"pattern":"^(?!links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$)"}}}],"patternProperties":{"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)$":common.common162,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common162,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common162,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common182,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common184,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common171},"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common187},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_ATTENDEES_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/events/id/{id}/canSee/true","pathParams":common.common128,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common187,"fediverse":common.common142,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"}}}],"default":{"links.events.@{pathParams.id}":common.common161,"links.events.@{pathParams.id}.isInviting":common.common170,"links.events.@{pathParams.id}.toBeValidated":common.common170},"patternProperties":{"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common162,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common162,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common162,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common182,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common184,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common182},"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common187},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"COFORM_ANSWERS_SEARCH","contentType":"application/x-www-form-urlencoded","functionCocostum":"answerlist","method":"POST","path":"/survey/coform/answerslist","request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common250,"costumEditMode":common.common129,"costumId":common.common11,"costumSlug":common.common1,"costumType":common.common250,"count":common.common87,"countType":common.common276,"fediverse":common.common129,"fields":common.common33,"filters":common.common253,"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common146,"mapUsed":common.common205,"mode":common.common1,"name":common.common1,"notSourceKey":common.common205,"options":common.common262,"ranges":common.common151,"searchBy":common.common155,"searchTags":common.common33,"searchType":common.common276,"sortBy":common.common266,"sourceKey":common.common33},"required":["searchType","countType","indexMin","indexStep","initType","count","fediverse"],"type":"object"}},{"auth":"none","constant":"COFORM_ANSWERS_BY_ID","contentType":"application/x-www-form-urlencoded","functionCocostum":"findanswered","method":"POST","path":"/survey/coform/findanswered","request":{"additionalProperties":false,"properties":{"answerId":common.common1,"fields":common.common33,"finderPath":common.common10,"formId":common.common1},"required":["answerId"],"type":"object"}},{"auth":"none","constant":"GET_COFORM_BY_ID","contentType":"application/x-www-form-urlencoded","functionCocostum":"getformbyid","method":"POST","path":"/survey/coform/getformbyid","request":{"additionalProperties":false,"properties":{"elementId":common.common11,"elementType":{"enum":["organizations","projects","events","poi","citoyens"],"type":"string"},"parentFormId":common.common11},"required":["parentFormId"],"type":"object"}},{"auth":"bearer","constant":"COFORM_UPLOAD_ANSWER_FILE","contentType":"multipart/form-data","method":"POST","path":"/survey/coform/uploadanswerfile","request":{"additionalProperties":false,"properties":{"answerId":common.common11,"contentKey":{"default":"slider","type":"string"},"docType":{"default":"image","enum":["image","file"],"type":"string"},"formId":common.common11,"qqfile":common.common254,"qqfilename":common.common1,"qqtotalfilesize":common.common86,"qquuid":common.common1,"subKey":common.common1},"required":["formId","qquuid","qqfilename","qqtotalfilesize","qqfile"],"type":"object"}},{"auth":"bearer","constant":"COFORM_GET_ANSWER_FILES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/survey/coform/getanswerfiles","request":{"additionalProperties":false,"properties":{"answerId":common.common11,"contentKey":{"default":"presentation","type":"string"},"docType":{"default":"file","enum":["image","file"],"type":"string"},"subKey":common.common1},"required":["answerId","subKey"],"type":"object"}},{"auth":"none","constant":"GET_COFORM_CATALOGS","contentType":"application/x-www-form-urlencoded","functionCocostum":"getformcatalogs","method":"POST","path":"/survey/coform/getformcatalogs","request":{"additionalProperties":false,"properties":{"formId":common.common11,"inputKeys":common.common1},"required":["formId","inputKeys"],"type":"object"}},{"auth":"bearer","constant":"SAVE_COFORM_ANSWER","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/survey/coform/saveanswer","request":{"additionalProperties":false,"properties":{"addedOptions":common.common1,"answerId":common.common11,"answers":common.common1,"formId":common.common11,"links":common.common1},"required":["formId","answers"],"type":"object"}},{"auth":"bearer","constant":"GET_COFORM_ANSWER_HISTORY","contentType":"application/x-www-form-urlencoded","functionCocostum":"getCoformAnswerHistory","method":"POST","path":"/survey/coform/getanswerhistory","request":{"additionalProperties":false,"properties":{"answerId":common.common11},"required":["answerId"],"type":"object"}},{"auth":"bearer","constant":"GET_COFORM_MULTIEVAL_DATA","contentType":"application/x-www-form-urlencoded","functionCocostum":"getCoformMultiEvalData","method":"POST","path":"/survey/coform/getmultievaldata","request":{"additionalProperties":false,"properties":{"answerId":common.common11,"stepKey":common.common1},"required":["answerId"],"type":"object"}},{"auth":"bearer","constant":"GET_COFORM_COMMONTABLE_CONTRIBUTORS","contentType":"application/x-www-form-urlencoded","functionCocostum":"getCoformCommonTableContributors","method":"POST","path":"/survey/coform/getcommontablecontributors","request":{"additionalProperties":false,"properties":{"criteriaIds":common.common1,"formId":common.common11,"inputKey":common.common1},"required":["formId","inputKey","criteriaIds"],"type":"object"}},{"auth":"bearer","constant":"ADD_VOTE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/action/addaction","request":{"additionalProperties":false,"properties":{"action":{"const":"vote","default":"vote","type":"string"},"collection":common.common278,"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.common278,"details":{"additionalProperties":false,"properties":{"comment":common.common1,"reason":common.common1},"required":["reason"],"type":"object"},"id":common.common11},"required":["id","collection","action","details"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_PATH_VALUE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updatepathvalue","request":{"additionalProperties":false,"allOf":[{"if":{"required":["pull"]},"then":{"properties":{"value":common.common1}}}],"properties":{"arrayForm":common.common3,"collection":{"default":"citoyens","enum":["citoyens","organizations","projects","events","poi","answers","forms","actions"],"type":"string"},"edit":common.common3,"formParentId":common.common11,"id":common.common5,"path":common.common1,"pull":common.common1,"setType":{"anyOf":[common.common279,{"items":{"additionalProperties":false,"properties":{"path":common.common1,"type":common.common1},"required":["path","type"],"type":"object"},"type":"array"}]},"updatePartial":common.common3,"value":{"type":["string","number","boolean","object","array","null"]}},"required":["id","collection","path","value"],"type":"object"}},{"auth":"bearer","constant":"DELETE_DOCUMENT_BY_CONTEXT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/document/delete/dir/co2/contextType/{contextType}/contextId/{contextId}","pathParams":{"additionalProperties":false,"properties":{"contextId":common.common5,"contextType":common.common280},"required":["contextType","contextId"],"type":"object"},"request":{"additionalProperties":false,"properties":{"ids":common.common11,"parentId":common.common5,"parentType":common.common280,"path":{"const":"communecter","default":"communecter","type":"string"}},"required":["id","collection","path","value"],"type":"object"}},{"auth":"bearer","constant":"DELETE_DOCUMENT_BY_ID","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/document/deletedocumentbyid/id/{id}","pathParams":common.common128},{"auth":"bearer","constant":"DEMOTE_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/updateadminlink/","request":{"additionalProperties":false,"properties":{"childId":common.common11,"childType":common.common188,"connect":{"enum":["members","contributors"],"type":"string"},"isAdmin":common.common142,"parentId":common.common11,"parentType":{"enum":["organizations","projects"],"type":"string"}},"required":["parentId","parentType","childId","childType","connect","isAdmin"],"type":"object"}},{"constant":"COSTUM_FILTER_COFORM","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/costum/francetierslieux/autoglobalthematicntwrk","request":{"properties":{"costumId":common.common1,"costumSlug":common.common1,"costumType":common.common1,"searchedData":common.common254},"type":"object"}},{"constant":"COSTUM_FILTER_COFORM_BY_PATH","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/costum/francetierslieux/autoglobalthematicntwrk","request":{"additionalProperties":true,"properties":{"contextId":common.common11,"contextType":common.common250,"costumEditMode":common.common129,"costumId":common.common11,"costumSlug":common.common1,"costumType":common.common250,"count":common.common129,"fediverse":common.common129,"fields":common.common33,"filters":{"oneOf":[common.common254,common.common31]},"indexMin":common.common144,"indexStep":{"default":10000,"type":"number"},"initType":common.common10,"locality":{"oneOf":[common.common254,{"items":common.common254,"type":"array"},common.common31]},"notSourceKey":common.common110,"params":{"additionalProperties":false,"properties":{"finderPath":common.common1,"thematicPath":common.common1},"required":["thematicPath"],"type":"object"},"searchType":{"default":["answers"],"items":common.common1,"type":"array"},"sortBy":common.common266,"sourceKey":common.common33},"required":["params"],"type":"object"}},{"auth":"none","constant":"GET_COUNTRIES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/opendata/getcountries","request":{"additionalProperties":false,"properties":{"costumEditMode":{"oneOf":[{"enum":["true","false"],"type":"string"},{"enum":[0,1],"type":"number"},common.common3]},"costumId":common.common11,"costumSlug":common.common1,"costumType":{"enum":["organizations","projects","events","citoyens","poi"],"type":"string"}},"type":"object"}},{"constant":"SEARCH_ZONES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/getzone","request":{"properties":{"costumId":common.common1,"costumSlug":common.common1,"costumType":common.common1,"countryCode":common.common281,"level":common.common281,"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.common254,"project":common.common11},"required":["contextId","contextType"],"type":"object"}},{"auth":"none","constant":"COREMU_OPERATION","contentType":"application/x-www-form-urlencoded","functionCocostum":"coremuoperation","method":"POST","path":"/co2/aap/coremuoperation/","request":{"additionalProperties":true,"properties":{"action":{"const":"generateproposition","type":"string"},"answer":{"const":"new","type":"string"},"form":common.common11,"project":common.common11},"required":["form","answer","action","project"],"type":"object"}},{"auth":"bearer","constant":"COSTUM_PROJECT_ACTION_REQUEST_NEW","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumProjectActionRequestNew","method":"POST","path":"/costum/project/action/request/new","request":{"additionalProperties":false,"properties":{"assign":common.common11,"credits":{"default":1,"minimum":0,"type":"number"},"endDate":common.common236,"idParentRoom":common.common11,"importance":{"default":"low","type":"string"},"is_contributor":common.common3,"max":common.common157,"mentions":common.common33,"milestone":{"additionalProperties":false,"properties":{"endDate":common.common236,"milestoneId":common.common11,"startDate":common.common236},"required":["milestoneId"],"type":"object"},"min":common.common157,"name":common.common1,"parentId":common.common11,"parentType":common.common230,"startDate":common.common236,"status":{"default":"todo","enum":["todo","done","tracking","discuter","next","totest","disabled","closed"],"type":"string"},"tags":common.common33,"timeSpent":common.common157,"urls":common.common32},"required":["name","status","parentId","parentType"],"type":"object"}},{"auth":"bearer","constant":"COSTUM_PROJECT_ACTION_REQUEST_SET_STATUS","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumProjectActionRequestSetStatus","method":"POST","path":"/costum/project/action/request/set_status","request":{"additionalProperties":false,"properties":{"id":common.common11,"status":{"enum":["todo","done","tracking","discuter","next","totest","disabled","closed"],"type":"string"},"user":common.common11},"required":["id","status"],"type":"object"}},{"auth":"bearer","constant":"COSTUM_PROJECT_ACTION_REQUEST_SET_DATE","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumProjectActionRequestSetDate","method":"POST","path":"/costum/project/action/request/set_date","request":{"additionalProperties":false,"properties":{"endDate":common.common1,"id":common.common11,"startDate":common.common1},"required":["id"],"type":"object"}},{"auth":"bearer","constant":"COSTUM_PROJECT_ACTION_REQUEST_SET_CONTRIBUTORS","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumProjectActionRequestSetContributors","method":"POST","path":"/costum/project/action/request/set_contributors","request":{"additionalProperties":false,"properties":{"action":common.common11,"contributor":common.common11,"contributors":common.common112,"participate":{"enum":[0,1],"type":"integer"}},"required":["action"],"type":"object"}},{"auth":"bearer","constant":"COSTUM_PROJECT_ACTION_REQUEST_CANCEL","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumProjectActionRequestCancel","method":"POST","path":"/costum/project/action/request/cancel","request":common.common128},{"auth":"bearer","constant":"COSTUM_PROJECT_ACTION_REQUEST_ARCHIVE","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumProjectActionRequestArchive","method":"POST","path":"/costum/project/action/request/archive","request":common.common128},{"auth":"bearer","constant":"LINK_DISCOURSE_ACCOUNT","contentType":"application/x-www-form-urlencoded","functionCocostum":"linkDiscourseAccount","method":"POST","path":"/interop/discourse/linkAccount","request":common.common282},{"auth":"bearer","constant":"UNLINK_DISCOURSE_ACCOUNT","contentType":"application/x-www-form-urlencoded","functionCocostum":"unlinkDiscourseAccount","method":"POST","path":"/interop/discourse/unlinkAccount","request":common.common284},{"auth":"none","constant":"DISCOURSE_PROFILE","contentType":"application/x-www-form-urlencoded","functionCocostum":"getDiscourseProfile","method":"POST","path":"/interop/discourse/profile","request":common.common282},{"auth":"bearer","constant":"DISCOURSE_CHECK_EMAIL","contentType":"application/x-www-form-urlencoded","functionCocostum":"checkDiscourseEmailMatch","method":"POST","path":"/interop/discourse/checkEmailMatch","request":common.common284},{"auth":"bearer","constant":"DISCOURSE_DISMISS_LINK","contentType":"application/x-www-form-urlencoded","functionCocostum":"dismissDiscourseLink","method":"POST","path":"/interop/discourse/dismissDiscourseLink","request":common.common284},{"auth":"bearer","constant":"LINK_MEDIAWIKI_ACCOUNT","contentType":"application/x-www-form-urlencoded","functionCocostum":"linkMediaWikiAccount","method":"POST","path":"/interop/mediawiki/linkAccount","request":common.common282},{"auth":"bearer","constant":"UNLINK_MEDIAWIKI_ACCOUNT","contentType":"application/x-www-form-urlencoded","functionCocostum":"unlinkMediaWikiAccount","method":"POST","path":"/interop/mediawiki/unlinkAccount","request":common.common284},{"auth":"none","constant":"GET_MEDIAWIKI_CONTRIBUTIONS","contentType":"application/x-www-form-urlencoded","functionCocostum":"getMediaWikiContributions","method":"POST","path":"/interop/mediawiki/contribs","request":{"additionalProperties":true,"properties":{"costumId":common.common1,"costumSlug":common.common1,"costumType":common.common1,"limit":common.common237,"username":common.common1},"required":["username","costumSlug","costumId","costumType"],"type":"object"}},{"auth":"bearer","constant":"ADD_CLASSIFIED","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":true,"properties":{"address":{"additionalProperties":false,"properties":{"@type":common.common77,"addressCountry":common.common1,"addressLocality":common.common1,"codeInsee":common.common1,"level1":common.common1,"level1Name":common.common1,"level2":common.common1,"level2Name":common.common1,"level3":common.common78,"level3Name":common.common78,"level4":common.common78,"level4Name":common.common78,"localityId":common.common1,"postalCode":common.common1,"streetAddress":common.common1},"required":["@type","addressCountry","codeInsee","addressLocality","localityId","level1","level1Name"],"type":"object"},"category":{"enum":["service","competence","material"],"type":"string"},"collection":{"const":"classifieds","default":"classifieds","type":"string"},"description":common.common1,"geo":common.common79,"geoPosition":common.common83,"id":common.common11,"key":{"const":"classified","default":"classified","type":"string"},"name":common.common222,"parent":common.common231,"preferences":common.common227,"scope":common.common143,"section":{"enum":["need","offer"],"type":"string"},"subtype":common.common279,"tags":common.common33},"required":["id","collection","key","name","section","category","subtype","scope"],"type":"object"}}]};
4122
+ const endpoints = {"endpoints":[{"auth":"none","constant":"PERSON_REGISTER","contentType":"application/x-www-form-urlencoded","generateModule":"UserNoAuth","method":"POST","onlyAuthNone":true,"path":"/co2/person/register","request":{"additionalProperties":false,"properties":{"app":common.common1,"email":common.common2,"isInvitation":common.common3,"mode":common.common1,"name":common.common1,"pendingUserId":common.common1,"pwd":common.common1,"username":common.common1},"required":["name","username","email","pwd"],"type":"object"}},{"auth":"none","constant":"AUTHENTICATE_URL","contentType":"application/json","generateModule":"UserNoAuth","method":"POST","onlyAuthNone":true,"path":"/api/cocolight/authenticate","postActions":[{"path":"accessToken","type":"setToken"},{"path":"refreshToken","type":"setRefreshToken"},{"event":"userLoggedIn","path":"user","type":"emitEvent"}],"request":{"additionalProperties":false,"properties":{"email":common.common2,"password":common.common1},"required":["email","password"],"type":"object"}},{"auth":"none","constant":"REFRESH_TOKEN_URL","contentType":"application/json","method":"POST","path":"/api/cocolight/refreshtoken","request":{"additionalProperties":false,"properties":{"refreshToken":common.common1},"required":["refreshToken"],"type":"object"}},{"auth":"bearer","constant":"ME_INFO_URL","contentType":"application/json","method":"POST","path":"/api/cocolight/me"},{"auth":"none","constant":"PASSWORD_RECOVERY","contentType":"application/x-www-form-urlencoded","generateModule":"UserNoAuth","method":"POST","onlyAuthNone":true,"path":"/co2/person/sendemail","request":{"additionalProperties":false,"properties":{"email":common.common2,"type":{"const":"password","default":"password","type":"string"}},"required":["email","type"],"type":"object"}},{"auth":"bearer","constant":"SERVER_EXCHANGE_TOKEN","contentType":"application/json","method":"POST","path":"/api/cocolight/exchangetoken","request":{"additionalProperties":false,"properties":{"serverUrl":common.common4},"required":["serverUrl"],"type":"object"}},{"auth":"bearer","constant":"CHANGE_PASSWORD","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/person/changepassword","request":{"additionalProperties":false,"properties":{"mode":{"const":"changePassword","default":"changePassword","type":"string"},"newPassword":common.common1,"newPassword2":common.common1,"oldPassword":common.common1,"scope":{"default":"","type":["string"]},"userId":common.common5},"required":["mode","userId","oldPassword","newPassword","newPassword2"],"type":"object"}},{"auth":"bearer","constant":"DELETE_ACCOUNT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/delete/id/{id}/type/citoyens","pathParams":common.common6,"postActions":[{"type":"resetSession"},{"event":"accountDeleted","path":null,"type":"emitEvent"}],"request":common.common8},{"auth":"bearer","constant":"UPDATE_SETTINGS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updatesettings","request":{"additionalProperties":false,"allOf":[{"else":{"properties":{"idEntity":common.common11}},"if":{"properties":{"typeEntity":common.common12}},"then":{"properties":{"idEntity":common.common5}}},{"if":{"properties":{"type":{"enum":["birthDate","email","locality","phone","directory"]},"typeEntity":common.common12}},"then":{"properties":{"value":{"enum":["private","public","mask"],"type":"string"}}}},{"if":{"properties":{"type":{"enum":["activitypub","isOpenData"]},"typeEntity":common.common12}},"then":common.common13},{"if":{"properties":{"type":common.common15,"typeEntity":common.common16}},"then":common.common13},{"if":{"properties":{"type":common.common15,"typeEntity":common.common17}},"then":common.common13},{"if":{"properties":{"type":{"enum":["isOpenData","isOpenEdition","public"]},"typeEntity":common.common18}},"then":common.common13}],"properties":{"idEntity":common.common1,"type":common.common1,"typeEntity":common.common19,"value":common.common20},"required":["type","value","typeEntity","idEntity"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_DESCRIPTION","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"additionalProperties":false,"allOf":[common.common21,{"anyOf":[{"properties":{"description":common.common27},"required":["description"]},{"properties":{"shortDescription":common.common27},"required":["shortDescription"]}]}],"properties":{"block":{"const":"descriptions","default":"descriptions","type":"string"},"descMentions":common.common10,"description":common.common1,"id":common.common1,"scope":{"default":"","type":["string","null"]},"shortDescription":common.common1,"typeElement":common.common29},"required":["block","typeElement","id"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_INFO","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"$defs":{"sharedFields":{"email":common.common2,"emailNullable":common.common30,"name":common.common1,"tags":common.common32,"url":common.common35}},"allOf":[{"if":common.common24,"then":{"additionalProperties":false,"anyOf":[common.common36,{"properties":{"birthDate":common.common27},"required":["birthDate"]},{"properties":{"fixe":common.common27},"required":["fixe"]},{"properties":{"mobile":common.common27},"required":["mobile"]},common.common38,common.common40,common.common42],"properties":{"birthDate":{"anyOf":[common.common44,common.common31]},"block":common.common45,"email":{"$ref":"#/$defs/sharedFields/email"},"fixe":common.common46,"id":common.common5,"mobile":common.common46,"name":common.common47,"scope":common.common10,"tags":common.common48,"typeElement":common.common49,"url":common.common50}}},{"if":{"properties":{"typeElement":common.common17}},"then":{"additionalProperties":false,"anyOf":[common.common36,common.common38,common.common40,common.common42,common.common51,common.common53],"properties":{"avancement":{"enum":["abandoned","concept","development","production","started","testing","idea","mature","qa","finished"],"type":"string"},"block":common.common45,"email":common.common55,"id":common.common1,"name":common.common47,"parent":common.common56,"scope":common.common10,"tags":common.common48,"typeElement":{"default":"citoyens","enum":["projects"],"type":"string"},"url":common.common50}}},{"if":{"properties":{"typeElement":common.common18}},"then":{"additionalProperties":false,"anyOf":[common.common36,common.common38,common.common40,common.common42,common.common51,common.common60,{"properties":{"organizer":common.common27},"required":["organizer"]},common.common53],"properties":{"block":common.common45,"email":common.common55,"id":common.common1,"name":common.common47,"organizer":common.common62,"parent":common.common56,"scope":common.common10,"tags":common.common48,"type":common.common65,"typeElement":{"default":"citoyens","enum":["events"],"type":"string"},"url":common.common50}}},{"if":{"properties":{"typeElement":common.common16}},"then":{"additionalProperties":false,"anyOf":[common.common36,common.common38,common.common40,common.common42,common.common60],"properties":{"block":common.common45,"email":common.common55,"id":common.common1,"name":common.common47,"scope":common.common10,"tags":common.common48,"type":common.common66,"typeElement":{"enum":["organizations"],"type":"string"},"url":common.common50}}},{"if":{"properties":{"typeElement":{"const":"poi"}}},"then":{"additionalProperties":false,"anyOf":[common.common36,common.common40,common.common60,{"properties":{"urls":common.common27},"required":["urls"]}],"properties":{"block":common.common45,"id":common.common1,"name":common.common47,"scope":common.common10,"tags":common.common48,"type":common.common67,"typeElement":common.common68,"urls":common.common32}}}],"properties":{"block":common.common45,"id":common.common1,"scope":common.common10,"typeElement":common.common29},"required":["block","typeElement","id"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_SOCIAL","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"$defs":{"socialField":{"anyOf":[common.common34,common.common4]}},"allOf":[common.common21,{"anyOf":[{"properties":{"gitlab":common.common27},"required":["gitlab"]},{"properties":{"github":common.common27},"required":["github"]},{"properties":{"twitter":common.common27},"required":["twitter"]},{"properties":{"facebook":common.common27},"required":["facebook"]},{"properties":{"instagram":common.common27},"required":["instagram"]},{"properties":{"diaspora":common.common27},"required":["diaspora"]},{"properties":{"mastodon":common.common27},"required":["mastodon"]},{"properties":{"telegram":common.common27},"required":["telegram"]},{"properties":{"signal":common.common27},"required":["signal"]}]}],"properties":{"block":{"const":"network","default":"network","type":"string"},"diaspora":common.common69,"facebook":common.common69,"github":common.common69,"gitlab":common.common69,"id":common.common1,"instagram":common.common69,"mastodon":common.common69,"scope":common.common10,"signal":common.common69,"telegram":common.common69,"twitter":common.common69,"typeElement":common.common70},"required":["block","typeElement","id"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_LOCALITY","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"else":common.common71,"if":common.common24,"properties":{"address":common.common74,"block":{"const":"localities","default":"localities","type":"string"},"geo":{"oneOf":[common.common31,common.common79]},"geoPosition":{"oneOf":[common.common31,common.common83]},"id":common.common1,"scope":common.common10,"typeElement":common.common29},"required":["block","typeElement","id","address"],"then":common.common89,"type":"object"}},{"auth":"bearer","constant":"UPDATE_BLOCK_SLUG","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updateblock/","request":{"else":common.common71,"if":common.common24,"properties":{"block":common.common45,"id":common.common1,"scope":common.common10,"slug":common.common92,"typeElement":common.common29},"required":["block","typeElement","id","slug"],"then":common.common89,"type":"object"}},{"auth":"bearer","constant":"CHECK","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/slug/check","request":{"additionalProperties":false,"else":common.common71,"if":common.common93,"properties":{"block":common.common45,"id":common.common1,"slug":common.common92,"type":common.common19},"required":["block","type","id","slug"],"then":common.common89,"type":"object"}},{"auth":"bearer","constant":"PROFIL_IMAGE","contentType":"multipart/form-data","method":"POST","path":"/co2/document/upload-save/dir/communecter/folder/{folder}/ownerId/{ownerId}/input/profil_avatar/contentKey/profil/docType/image","pathParams":common.common95,"request":{"additionalProperties":false,"properties":{"profil_avatar":common.common20},"required":["profil_avatar"],"type":"object"}},{"auth":"bearer","constant":"PROFIL_BANNER","contentType":"multipart/form-data","method":"POST","path":"/co2/document/upload-save/dir/communecter/folder/{folder}/ownerId/{ownerId}/input/banner/docType/image/contentKey/banner","pathParams":common.common95,"request":{"additionalProperties":false,"properties":{"banner":common.common20,"cropH":common.common86,"cropW":common.common86,"cropX":common.common86,"cropY":common.common86,"formOrigin":{"const":"banner","default":"banner"},"parentId":common.common11,"parentType":common.common101},"required":["banner","parentId","parentType","formOrigin","cropW","cropH","cropX","cropY"],"type":"object"}},{"auth":"none","constant":"GET_ELEMENTS_ABOUT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/about/type/{type}/id/{id}/json/true","pathParams":{"additionalProperties":false,"else":common.common71,"if":common.common93,"properties":{"id":common.common1,"type":{"default":"citoyens","enum":["citoyens","projects","organizations","events","poi","badges","answers","classifieds","forms","actions"],"type":"string"}},"required":["type","id"],"then":common.common89,"type":"object"},"request":{"additionalProperties":false,"properties":{"tpl":{"const":"ficheInfoElement","default":"ficheInfoElement","type":"string"}},"required":["tpl"],"type":"object"}},{"auth":"bearer","constant":"MULTICONNECT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/multiconnect","request":{"additionalProperties":false,"else":common.common104,"if":common.common106,"properties":{"listInvite":{"additionalProperties":false,"patternProperties":{"^(citoyens|projects|organizations)$":{"additionalProperties":false,"patternProperties":{"^[0-9a-fA-F]{24}$":{"additionalProperties":false,"properties":{"name":common.common1},"required":["name"],"type":"object"}},"type":"object"}},"type":"object"},"parentId":common.common1,"parentType":common.common70},"required":["parentId","parentType","listInvite"],"then":common.common108,"type":"object"}},{"auth":"none","constant":"GET_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/get/type/{type}/id/{id}/isLive/{isLive}/json/true","pathParams":{"additionalProperties":false,"else":common.common71,"if":common.common93,"properties":{"id":common.common1,"isLive":common.common110,"type":common.common70},"required":["isLive","type","id"],"then":common.common89,"type":"object"},"request":{"additionalProperties":false,"properties":{"dateLimit":common.common111,"indexStep":{"default":12,"type":"integer"},"search":{"additionalProperties":false,"properties":{"name":common.common10},"required":["name"],"type":"object"}},"required":["dateLimit","indexStep"],"type":"object"}},{"auth":"none","constant":"GET_NEWS_BY_ID","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/getbyids","request":{"additionalProperties":false,"properties":{"ids":common.common112},"required":["ids"],"type":"object"}},{"auth":"bearer","constant":"ADD_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/save","request":{"additionalProperties":false,"anyOf":[common.common113,common.common114,common.common115],"else":common.common104,"if":common.common106,"properties":{"json":common.common87,"markdownActive":common.common110,"mediaFile":common.common116,"mediaImg":common.common118,"mentions":common.common120,"parentId":common.common1,"parentType":common.common70,"scope":common.common124,"tags":common.common32,"text":common.common1,"type":common.common125},"required":["scope","markdownActive","parentId","parentType","type","json"],"then":common.common108,"type":"object"}},{"auth":"bearer","constant":"ADD_IMAGE_NEWS","contentType":"multipart/form-data","method":"POST","path":"/co2/document/uploadSave/dir/communecter/folder/{folder}/ownerId/{ownerId}/input/newsImage/docType/image/contentKey/slider","pathParams":common.common126,"request":{"additionalProperties":false,"properties":{"newsImage":common.common20},"required":["newsImage"],"type":"object"}},{"auth":"bearer","constant":"ADD_FILE_NEWS","contentType":"multipart/form-data","method":"POST","path":"/co2/document/uploadSave/dir/communecter/folder/{folder}/ownerId/{ownerId}/input/newsFile/docType/file","pathParams":common.common126,"request":{"additionalProperties":false,"properties":{"newsFile":common.common20},"required":["newsFile"],"type":"object"}},{"auth":"bearer","constant":"DELETE_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/delete/id/{id}","pathParams":common.common128,"request":{"additionalProperties":false,"properties":{"isLive":common.common129},"required":["isLive"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/update","request":{"additionalProperties":false,"anyOf":[common.common113,common.common114,common.common115],"else":common.common104,"if":common.common106,"properties":{"idNews":common.common11,"markdownActive":common.common110,"mediaFile":common.common116,"mediaImg":common.common118,"mentions":common.common120,"parentId":common.common1,"parentType":common.common70,"scope":common.common124,"tags":common.common32,"text":common.common1,"type":common.common125},"required":["idNews","scope","markdownActive","parentId","parentType","type"],"then":common.common108,"type":"object"}},{"auth":"bearer","constant":"SHARE_NEWS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/share","request":{"additionalProperties":false,"else":common.common130,"if":common.common132,"properties":{"childId":common.common11,"childType":common.common70,"comment":common.common1,"connectType":common.common134,"parentId":common.common11,"parentType":common.common125},"required":["parentId","parentType","childId","childType","connectType"],"then":common.common135,"type":"object"}},{"auth":"none","constant":"GET_COMMENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/comment/index/type/{type}/id/{id}/json/true","pathParams":{"additionalProperties":false,"properties":{"id":common.common11,"type":common.common137},"required":["type","id"],"type":"object"}},{"auth":"bearer","constant":"ADD_COMMENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/comment/save","request":{"additionalProperties":false,"properties":{"argval":common.common10,"contextId":common.common11,"contextType":common.common137,"mentions":common.common138,"parentCommentId":{"default":"","pattern":"^([a-f0-9]{24}|)$","type":"string"},"path":common.common10,"text":common.common1},"required":["text","contextId","contextType"],"type":"object"}},{"auth":"bearer","constant":"DELETE_COMMENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/comment/delete/id/{id}","pathParams":common.common128},{"auth":"bearer","constant":"UPDATE_COMMENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/comment/update","request":{"additionalProperties":false,"properties":{"id":common.common11,"params":{"properties":{"mentions":common.common138,"text":common.common1},"required":["text"],"type":"object"}},"required":["id","params"],"type":"object"}},{"auth":"none","constant":"SEARCH_TAGS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/api/tags/search?q={q}","pathParams":{"additionalProperties":false,"properties":{"q":common.common1},"required":["q"],"type":"object"}},{"auth":"none","constant":"SHOW_VOTE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/action/list/type/{type}/id/{id}/actionType/vote/json/true","pathParams":{"additionalProperties":false,"properties":{"id":common.common11,"type":{"default":"news","enum":["news","comments"],"type":"string"}},"required":["type","id"],"type":"object"}},{"auth":"none","constant":"GLOBAL_AUTOCOMPLETE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":{"default":["NGO","LocalBusiness","Group","GovernmentOrganization","Cooperative","projects","citoyens","poi"],"items":common.common141,"type":"array"},"fediverse":common.common142,"filters":common.common143,"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common146,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchTags":common.common33,"searchType":{"items":common.common141,"type":"array"}},"required":["name","searchType","countType","indexMin","indexStep","initType","count","notSourceKey","filters","fediverse"],"type":"object"}},{"auth":"none","constant":"CITY_AUTOCOMPLETE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"indexMax":{"minimum":5,"type":"integer"},"indexMin":common.common157,"locality":common.common143,"name":common.common1,"searchBy":{"const":"ALL","default":"ALL","type":"string"},"searchType":{"const":["cities"],"default":["cities"],"items":{"enum":["cities"],"type":"string"},"type":"array"}},"required":["name","locality","searchType"],"type":"object"}},{"auth":"none","constant":"CITY_AUTOCOMPLETE_BY_COUNTRY","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/city/autocompletemultiscope","request":{"additionalProperties":false,"properties":{"countryCode":{"default":"FR","type":"string"},"formInMap":common.common129,"scopeValue":common.common1,"type":{"enum":["locality"],"type":"string"}},"required":["type","countryCode","scopeValue","formInMap"],"type":"object"}},{"auth":"none","constant":"SUGGESTION_INPUT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"indexMax":{"default":20,"minimum":20,"type":"integer"},"indexMin":common.common158,"name":common.common1,"searchType":{"items":{"enum":["organizations","projects","poi"],"type":"string"},"type":"array"}},"required":["name","searchType","indexMin","indexMax"],"type":"object"}},{"auth":"none","constant":"GET_PROJECTS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common159,"fediverse":common.common142,"filters":{"additionalProperties":false,"default":{"$or":{"links.contributors.@userId":common.common161,"parent.@userId":common.common161},"links.contributors.@userId":common.common161},"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@\\w+)$":common.common162},"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@\\w+)$":common.common162,"^parent\\.(?:[a-f0-9]{24}|@\\w+)$":common.common162},"type":"object"}},"required":["$or"],"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common159},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_PROJECTS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/{type}/id/{id}/canSee/true","pathParams":common.common165,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common159,"fediverse":common.common142,"filters":{"additionalProperties":false,"default":{"$or":{"links.contributors.@{pathParams.id}":common.common161,"parent.@{pathParams.id}":common.common161},"links.contributors.@{pathParams.id}":common.common161},"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common162},"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":{"^links\\.contributors\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common162,"^parent\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common162},"type":"object"}},"required":["$or"],"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common159},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_POIS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common167,"fediverse":common.common142,"filters":{"additionalProperties":false,"default":{"parent.@userId":common.common161},"patternProperties":{"^parent\\.(?:[a-f0-9]{24}|@\\w+)$":common.common162},"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common167},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_POIS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/{type}/id/{id}/canSee/true","pathParams":common.common165,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common167,"fediverse":common.common142,"filters":{"additionalProperties":false,"default":{"parent.@{pathParams.id}":common.common161},"patternProperties":{"^parent\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common162},"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common167},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_ORGANIZATIONS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common168,"fediverse":common.common142,"filters":{"additionalProperties":false,"default":{"links.members.@userId":common.common161,"links.members.@userId.isInviting":common.common170,"links.members.@userId.toBeValidated":common.common170},"patternProperties":{"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)$":common.common162,"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common171,"^links\\.members\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common171},"type":"object"},"indexMax":common.common86,"indexMin":common.common158,"indexStep":common.common174,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common168},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_ORGANIZATIONS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/{type}/id/{id}/canSee/true","pathParams":common.common175,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common168,"fediverse":common.common142,"filters":{"additionalProperties":true,"default":common.common178,"patternProperties":{"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common162,"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common171,"^links\\.members\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common171},"type":"object"},"indexMax":common.common86,"indexMin":common.common158,"indexStep":common.common174,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common168},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_USER_ELIGIBLE_PLACES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/{type}/id/{id}/canSee/true","pathParams":common.common175,"request":{"additionalProperties":false,"properties":{"count":common.common110,"countType":common.common179,"fediverse":common.common129,"filters":{"additionalProperties":true,"default":common.common178,"type":"object"},"indexMax":common.common86,"indexMin":common.common158,"indexStep":common.common174,"initType":common.common10,"locality":common.common10,"name":common.common1,"notSourceKey":common.common110,"ranges":common.common151,"searchBy":{"enum":["ALL"],"type":"string"},"searchType":common.common179},"required":["searchType","indexMin","indexStep","notSourceKey","filters"],"type":"object"}},{"auth":"none","constant":"GET_MEMBERS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common180,"fediverse":common.common142,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)$)"}}},{"not":{"propertyNames":{"pattern":"^(?!links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$)"}}}],"patternProperties":{"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)$":common.common162,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common162,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common162,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common182,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common184,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common171},"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common186},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_MEMBERS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/organizations/id/{id}/canSee/true","pathParams":common.common128,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common180,"fediverse":common.common142,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"}}}],"default":{"links.memberOf.@{pathParams.id}":common.common161,"links.memberOf.@{pathParams.id}.isInviting":common.common170,"links.memberOf.@{pathParams.id}.toBeValidated":common.common170},"patternProperties":{"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common162,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common162,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common162,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common182,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common184,"^links\\.memberOf\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common182},"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common186},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_FRIENDS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/citoyens/id/{id}/canSee/true","pathParams":common.common6,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common187,"fediverse":common.common142,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"}}}],"default":{"links.friends.@{pathParams.id}":common.common161,"links.friends.@{pathParams.id}.isInviting":common.common170,"links.friends.@{pathParams.id}.toBeValidated":common.common170},"patternProperties":{"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common162,"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common182,"^links\\.friends\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common182},"type":"object"},"indexMax":common.common86,"indexMin":common.common158,"indexStep":common.common174,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchType":common.common187},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_SUBSCRIPTIONS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common189,"fediverse":common.common142,"filters":{"additionalProperties":false,"allOf":[common.common191],"default":{"links.followers.@userId":common.common161,"links.followers.@{userId}.isInviting":common.common170,"links.followers.@{userId}.toBeValidated":common.common170},"patternProperties":common.common194,"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common189},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_SUBSCRIPTIONS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/citoyens/id/{id}/canSee/true","pathParams":common.common6,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common189,"fediverse":common.common142,"filters":{"additionalProperties":false,"allOf":[common.common191],"default":{"links.followers.@{pathParams.id}":common.common161,"links.followers.@{pathParams.id}.isInviting":common.common170,"links.followers.@{pathParams.id}.toBeValidated":common.common170},"patternProperties":common.common194,"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common189},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_SUBSCRIBERS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common187,"fediverse":common.common142,"filters":{"additionalProperties":false,"allOf":[common.common195],"default":{"links.follows.@userId":common.common161,"links.follows.@{userId}.isInviting":common.common170,"links.follows.@{userId}.toBeValidated":common.common170},"patternProperties":{"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common162,"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common171,"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common171},"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common187},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_SUBSCRIBERS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/{type}/id/{id}/canSee/true","pathParams":{"additionalProperties":false,"allOf":[{"else":common.common71,"if":common.common93,"then":common.common89}],"properties":{"id":common.common1,"type":common.common198},"required":["type","id"],"type":"object"},"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common187,"fediverse":common.common142,"filters":{"additionalProperties":false,"allOf":[common.common195],"default":{"links.follows.@{pathParams.id}":common.common161},"maxProperties":1,"minProperties":1,"patternProperties":{"^links\\.follows\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common162},"type":"object"},"indexMin":common.common158,"indexStep":common.common174,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"searchType":common.common187},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_CONTRIBUTORS_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common180,"fediverse":common.common142,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)$)"}}},{"not":{"propertyNames":{"pattern":"^(?!links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$)"}}}],"patternProperties":{"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)$":common.common162,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common162,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common162,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common182,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common184,"^links\\.projects\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common171},"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common186},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_CONTRIBUTORS_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/projects/id/{id}/canSee/true","pathParams":common.common128,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common180,"fediverse":common.common142,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"}}}],"default":{"links.projects.@{pathParams.id}":common.common161,"links.projects.@{pathParams.id}.isInviting":common.common170,"links.projects.@{pathParams.id}.toBeValidated":common.common170},"patternProperties":{"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common162,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common162,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common162,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common182,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common184,"^links\\.projects\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common182},"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common186},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_BADGES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common199,"fediverse":common.common142,"filters":{"properties":{"$or":{"additionalProperties":false,"minProperties":1,"patternProperties":{"^issuer\\.(?:[a-f0-9]{24}|@\\w+)$":common.common162},"type":"object"},"isParcours":common.common3,"preferences.private":common.common142},"required":["preferences.private"],"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common199},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"GET_BADGES_FILTERS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common201,"fediverse":common.common142,"fields":common.common199,"filters":{"oneOf":[{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)$":common.common203}},{"additionalProperties":false,"maxProperties":3,"minProperties":3,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)$":common.common203,"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteEmetteur$":common.common206,"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteRecepteur$":common.common206}},{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":common.common209},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":common.common209,"type":"object"}},"required":["$or"]},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.revoke$":common.common205}},{"additionalProperties":false,"maxProperties":1,"minProperties":1,"patternProperties":{"badges\\.(?:[a-f0-9]{24}|@\\w+)\\.attenteEmetteur$":common.common203}}],"type":"object"},"indexMin":common.common158,"indexStep":common.common174,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":{"additionalProperties":false,"default":{"Cooperative":common.common210,"GovernmentOrganization":common.common210,"Group":common.common210,"LocalBusiness":common.common210,"NGO":common.common210,"citoyens":common.common210,"projects":common.common210},"maxProperties":7,"minProperties":7,"patternProperties":{"^[a-zA-Z][a-zA-Z0-9]*$":common.common153},"type":"object"},"searchType":common.common201},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"CONNECT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/connect","request":{"additionalProperties":false,"allOf":[{"if":common.common106,"then":{"properties":{"connectType":{"const":"friend","default":"friend"}}}},{"if":common.common211,"then":{"properties":{"connectType":{"enum":["admin","member"]}}}},{"if":common.common213,"then":{"properties":{"connectType":{"enum":["admin","contributor"]}}}},{"if":common.common215,"then":{"properties":{"connectType":{"default":"attendee","enum":["attendee","connect"]}}}}],"properties":{"childId":common.common217,"childType":common.common218,"connectType":{"enum":["admin","member","contributor","attendee","friend","connect"],"type":"string"},"parentId":common.common11,"parentType":common.common219},"required":["childId","childType","parentType","parentId","connectType"],"type":"object"}},{"auth":"bearer","constant":"DISCONNECT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/disconnect","request":{"additionalProperties":false,"allOf":[{"if":common.common106,"then":{"properties":{"connectType":{"default":"friends","enum":["friends","followers"]}}}},{"if":common.common211,"then":{"properties":{"connectType":{"default":"members","enum":["members","followers"]}}}},{"if":common.common213,"then":{"properties":{"connectType":{"default":"contributors","enum":["contributors","followers"]}}}},{"if":common.common215,"then":{"properties":{"connectType":{"default":"attendees","enum":["attendees","followers"]}}}}],"properties":{"childId":common.common217,"childType":common.common218,"connectType":{"enum":["members","contributors","attendees","friends","followers"],"type":"string"},"parentId":common.common11,"parentType":common.common219},"required":["childId","childType","parentType","parentId","connectType"],"type":"object"}},{"auth":"none","constant":"GET_ELEMENTS_KEY","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/slug/getinfo/key/{slug}","pathParams":{"additionalProperties":false,"properties":{"slug":{"pattern":"^([a-zA-Z0-9-_]+)$","type":"string"}},"required":["slug"],"type":"object"}},{"auth":"bearer","constant":"GET_FAVORIS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/app/config/type/citoyens/id/{id}/json/true","pathParams":common.common6},{"auth":"bearer","constant":"DELETE_FAVORIS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updatepathvalue?index={index}","pathParams":{"properties":{"index":common.common86},"type":"object"},"request":{"additionalProperties":false,"properties":{"collection":common.common220,"id":common.common221,"path":{"const":"preferences.search.@{pathParams.index}","default":"preferences.search.@{pathParams.index}","type":"string"},"pull":{"const":"preferences.search","type":"string"},"value":common.common143},"required":["id","collection","path","pull","value"],"type":"object"}},{"auth":"bearer","constant":"ADD_FAVORIS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updatepathvalue","request":{"additionalProperties":false,"properties":{"arrayForm":common.common205,"collection":common.common220,"id":common.common221,"path":{"const":"preferences.search","default":"preferences.search","type":"string"}},"required":["id","collection","path","arrayForm","value"],"type":"object"}},{"auth":"bearer","constant":"ADD_ORGANIZATION","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":true,"properties":{"address":common.common75,"buildingSurfaceArea":common.common86,"collection":{"const":"organizations","default":"organizations","type":"string"},"compagnon":common.common1,"costum":{"additionalProperties":true,"properties":{"bannerImageUrl":common.common1,"bannerLogoUrl":common.common1,"bannerText":common.common1,"cocity":common.common129,"slug":common.common1,"transparentCommune":common.common129,"typeCocity":common.common1},"required":[],"type":"object"},"costumEditMode":common.common3,"costumId":common.common1,"costumSlug":common.common1,"costumType":common.common1,"description":common.common1,"email":common.common2,"filiere":{"additionalProperties":{"additionalProperties":false,"properties":{"icon":common.common1,"name":common.common1,"tags":common.common33},"required":["name","icon","tags"],"type":"object"},"type":"object"},"geo":common.common79,"geoPosition":common.common83,"holderOrganization":common.common1,"id":common.common11,"key":{"const":"organization","default":"organization","type":"string"},"mainTag":common.common1,"manageModel":common.common1,"name":common.common222,"openingDate":common.common1,"openingHours":{"items":{"oneOf":[common.common31,{"additionalProperties":false,"properties":{"dayOfWeek":common.common223,"hours":{"items":common.common224,"type":"array"}},"required":["dayOfWeek","hours"],"type":"object"}]},"maxItems":7,"minItems":7,"type":"array"},"preferences":common.common227,"role":{"enum":["admin","member"],"type":"string"},"scope":common.common143,"shortDescription":common.common1,"siteSurfaceArea":common.common86,"source":common.common230,"tags":common.common33,"telephone":common.common1,"thematic":common.common33,"type":common.common66,"typePlace":common.common1,"url":common.common35,"video":common.common33},"required":["id","collection","key","name","type","role","scope"],"type":"object"}},{"auth":"bearer","constant":"ADD_PROJECT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":false,"properties":{"address":common.common75,"collection":common.common232,"geo":common.common79,"geoPosition":common.common83,"id":common.common11,"key":{"const":"project","default":"project","type":"string"},"name":common.common1,"parent":common.common233,"preferences":{"default":{"crowdfunding":true,"isOpenData":false,"isOpenEdition":false},"properties":{"crowdfunding":common.common110,"isOpenData":common.common129,"isOpenEdition":common.common129},"required":["isOpenData","isOpenEdition"],"type":"object"},"public":common.common110,"scope":common.common143,"shortDescription":common.common1,"tags":common.common33,"url":common.common35},"required":["id","collection","key","parent","name","public","scope"],"type":"object"}},{"auth":"bearer","constant":"ADD_POI","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":false,"properties":{"address":common.common75,"aps_name":common.common33,"categorie":common.common1,"collection":common.common236,"description":common.common1,"equip_acc_libre":common.common3,"equip_douche":common.common3,"equip_eclair":common.common3,"equip_gest_type":common.common1,"equip_larg":common.common86,"equip_loc_type":common.common33,"equip_long":common.common86,"equip_maj_date":common.common1,"equip_nature":common.common1,"equip_pmr_acc":common.common3,"equip_pmr_chem":common.common3,"equip_pmr_douche":common.common3,"equip_pmr_sanit":common.common3,"equip_pmr_trib":common.common3,"equip_pmr_vest":common.common3,"equip_prop_nom":common.common1,"equip_prop_type":common.common1,"equip_pshs_aire":common.common3,"equip_pshs_chem":common.common3,"equip_pshs_sanit":common.common3,"equip_pshs_sign":common.common3,"equip_pshs_trib":common.common3,"equip_pshs_vest":common.common3,"equip_sol":common.common1,"equip_surf":common.common86,"equip_type_famille":common.common1,"equip_type_name":common.common1,"equip_utilisateur":common.common33,"geo":common.common79,"geoPosition":common.common83,"id":common.common11,"inst_acc_handi_bool":common.common3,"inst_acc_handi_type":common.common1,"inst_date_creation":common.common1,"inst_enqu_date":common.common1,"inst_nom":common.common1,"inst_part_bool":common.common3,"inst_part_type":common.common33,"inst_trans_bool":common.common3,"inst_trans_type":common.common1,"key":common.common236,"name":common.common1,"parent":common.common233,"scope":common.common143,"source":common.common230,"tags":common.common33,"type":common.common67,"urls":common.common33},"required":["id","collection","key","parent","type","name"],"type":"object"}},{"auth":"bearer","constant":"ADD_EVENT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":false,"else":{"required":["openingHours"]},"if":{"properties":{"recurrency":common.common173}},"properties":{"address":common.common74,"collection":common.common237,"email":common.common30,"endDate":common.common238,"geo":common.common79,"geoPosition":common.common83,"id":common.common11,"key":{"const":"event","default":"event","type":"string"},"name":{"minLength":2,"type":"string"},"openingHours":{"default":["","","","","","",""],"items":{"anyOf":[common.common31,{"additionalProperties":false,"properties":{"dayOfWeek":common.common223,"hours":{"default":[],"items":common.common224,"type":"array"}},"required":["dayOfWeek","hours"],"type":"object"}]},"maxItems":7,"minItems":7,"type":"array"},"organizer":common.common233,"parent":{"oneOf":[common.common62,common.common31]},"preferences":{"default":{"isOpenData":false,"isOpenEdition":false},"properties":{"isOpenData":common.common129,"isOpenEdition":common.common129},"required":["isOpenData","isOpenEdition"],"type":"object"},"public":common.common110,"recurrency":common.common129,"scope":common.common143,"shortDescription":{"format":"textarea","type":"string"},"startDate":common.common238,"tags":{"anyOf":[common.common33,common.common31]},"timeZone":common.common1,"type":common.common65,"url":common.common35},"required":["id","collection","key","organizer","type","name","scope"],"startBeforeEnd":true,"then":{"required":["startDate","endDate"]},"type":"object"}},{"auth":"bearer","constant":"DELETE_POI","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/delete/type/poi/id/{id}","pathParams":common.common128,"request":common.common8},{"auth":"bearer","constant":"DELETE_EVENT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/delete/type/events/id/{id}/","pathParams":common.common128,"request":common.common8},{"auth":"bearer","constant":"DELETE_ELEMENT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/delete/type/{type}/id/{id}","pathParams":{"additionalProperties":false,"properties":{"id":common.common11,"type":common.common1},"required":["type","id"],"type":"object"},"request":common.common8},{"auth":"bearer","constant":"ADD_IMAGE_ELEMENT","contentType":"multipart/form-data","method":"POST","path":"/co2/document/upload-save/dir/communecter/folder/{folder}/ownerId/{ownerId}/input/qqfile/docType/image/contentKey/profil","pathParams":{"additionalProperties":false,"properties":{"folder":{"enum":["badges","events"],"type":"string"},"ownerId":common.common11},"required":["folder","ownerId"],"type":"object"},"request":{"additionalProperties":false,"properties":{"qqfile":common.common20,"qqfilename":common.common1,"qqtotalfilesize":common.common239,"qquuid":common.common11},"required":["qquuid","qqfilename","qqtotalfilesize","qqfile"],"type":"object"}},{"auth":"bearer","constant":"LINK_VALIDATE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/validate","request":{"additionalProperties":false,"properties":{"childId":common.common5,"childType":common.common49,"linkOption":{"enum":["isInviting","toBeValidated","isAdminPending"],"type":"string"},"parentId":common.common11,"parentType":common.common219},"required":["childId","childType","parentType","parentId"],"type":"object"}},{"auth":"none","constant":"SEARCH_MEMBER_AUTOCOMPLETE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/searchmemberautocomplete","request":{"additionalProperties":false,"properties":{"search":common.common1,"searchMode":{"default":"personOnly","enum":["personOnly","organizationOnly","mixte"],"type":"string"}},"required":["search","searchMode"],"type":"object"}},{"auth":"bearer","constant":"GET_NOTIFICATIONS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/notification/getnotifications/type/{type}/id/{id}","pathParams":common.common240,"request":{"additionalProperties":false,"properties":{"indexMin":common.common111},"type":"object"}},{"auth":"bearer","constant":"GET_NOTIFICATIONS_COUNT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/notification/getnotifications/type/{type}/id/{id}","pathParams":common.common240,"request":{"additionalProperties":false,"properties":{"refreshTimestamp":common.common239},"type":"object"}},{"auth":"bearer","constant":"NOTIFICATION_UPDATE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/notification/update","request":{"additionalProperties":false,"properties":{"action":{"enum":["seen","read"],"type":"string"},"all":common.common87},"required":["action","all"],"type":"object"}},{"auth":"bearer","constant":"REMOVE_ALL_NOTIFICATIONS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/notification/removeall"},{"auth":"bearer","constant":"MARK_NOTIFICATION_AS_READ","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/notification/marknotificationasread","request":common.common128},{"auth":"none","constant":"ACTIVITYPUB_SEARCH","contentType":"application/x-www-form-urlencoded","method":"GET","params":[common.common20],"path":"/api/activitypub/search?address={address}","pathParams":{"additionalProperties":false,"properties":{"address":common.common1},"required":["address"],"type":"object"}},{"auth":"bearer","constant":"ACTIVITYPUB_LINK","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/api/activitypub/link","request":{"additionalProperties":false,"properties":{"action":{"enum":["undo_follow","accept_invitation","reject_invitation","undo_accept","undo_request_follow","follow","remove_follow","accept_follower","reject_follower","remove_follower","remove_invitation"],"type":"string"},"actor":{"additionalProperties":false,"properties":{"id":common.common1,"name":common.common1,"type":{"enum":["person"],"type":"string"}},"required":["id","type","name"],"type":"object"},"payload":common.common4},"required":["action","payload","actor"],"type":"object"}},{"auth":"none","constant":"ACTIVITYPUB_GET_COMMUNITY","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/api/activitypub/getcommunity/userId/${userId}/type/${type}/actor/person","pathParams":{"additionalProperties":false,"properties":{"type":{"enum":["follows","followers"],"type":"string"},"userId":common.common11},"required":["userId","type"],"type":"object"}},{"auth":"none","constant":"GET_BADGE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/app/page/type/badges/id/{id}/json/true","pathParams":common.common128},{"auth":"none","constant":"GET_EMETTEUR_BADGES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/app/badge/json/true"},{"auth":"bearer","constant":"ADD_BADGES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":false,"properties":{"collection":common.common243,"criteria":{"additionalProperties":false,"properties":{"narrative":common.common1},"required":["narrative"],"type":"object"},"description":common.common1,"id":common.common11,"isParcours":common.common129,"issuer":{"additionalProperties":false,"patternProperties":{"^(?:[a-f0-9]{24}|@userId)$":{"additionalProperties":false,"properties":{"name":common.common1,"type":{"enum":["citoyens","organizations","projects"],"type":"string"}},"required":["type"],"type":"object"}},"type":"object"},"key":common.common244,"name":common.common1,"parent":{"additionalProperties":false,"patternProperties":{"^[a-f0-9]{24}$":{"additionalProperties":false,"properties":{"name":common.common1,"type":common.common243},"required":["type"],"type":"object"}},"type":"object"},"preferences":common.common227,"public":common.common110,"scope":common.common143,"tags":common.common33},"required":["id","collection","key","name","public","scope","issuer","criteria"],"type":"object"}},{"auth":"bearer","constant":"ASSIGN_BADGES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/badges/assign","request":{"additionalProperties":false,"properties":{"award":{"patternProperties":{"^[0-9a-f]{24}$":common.common58},"type":"object"},"badgeId":common.common11,"collection":common.common243,"evidences":{"items":{"additionalProperties":false,"properties":{"narative":common.common1,"url":common.common4},"required":["narative"],"type":"object"},"type":"array"},"key":common.common244,"narative":common.common1,"scope":common.common143},"required":["key","collection","badgeId","award"],"type":"object"}},{"auth":"none","constant":"GET_EVENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/agenda","request":{"additionalProperties":true,"properties":{"count":common.common129,"countType":{"const":["events"],"default":["events"],"type":"array"},"endDateUTC":common.common238,"fediverse":common.common129,"filters":{"additionalProperties":false,"default":{"$or":{"links.attendees.@userId":common.common161,"organizer.@userId":common.common161},"links.attendees.@userId":common.common161},"patternProperties":{"^links\\.attendees\\.(?:[a-f0-9]{24}|@\\w+)$":common.common162},"properties":{"$or":{"additionalProperties":false,"maxProperties":2,"minProperties":2,"patternProperties":{"^links\\.attendees\\.(?:[a-f0-9]{24}|@\\w+)$":common.common162,"^organizer\\.(?:[a-f0-9]{24}|@\\w+)$":common.common162},"type":"object"}},"required":["$or"],"type":"object"},"indexMin":common.common111,"indexStep":{"default":100,"type":"integer"},"locality":{"patternProperties":{"^[^\\s]+$":{"type":"object"}},"type":"object"},"name":common.common1,"recurrency":common.common110,"searchType":{"const":["events"],"default":["events"],"items":{"enum":["events"],"type":"string"},"type":"array"},"startDateUTC":common.common238,"type":common.common65},"required":["searchType","indexMin","indexStep","fediverse"],"type":"object"}},{"auth":"bearer","constant":"SHARE_EVENTS","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/news/co/share","request":{"additionalProperties":false,"else":common.common130,"if":common.common132,"properties":{"childId":common.common11,"childType":common.common70,"comment":common.common1,"connectType":common.common134,"parentId":common.common11,"parentType":common.common237},"required":["parentId","childId","childType","connectType","parentType"],"then":common.common135,"type":"object"}},{"auth":"bearer","constant":"INVITE_EVENT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/multiconnect","request":{"additionalProperties":false,"else":common.common104,"if":common.common106,"properties":{"listInvite":{"additionalProperties":false,"minProperties":1,"properties":{"citoyens":common.common245,"invites":{"patternProperties":{"^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$":{"additionalProperties":false,"properties":{"email":common.common2,"isAdmin":common.common249,"msg":common.common1,"name":common.common1,"roles":common.common33},"required":["name","email"],"type":"object"}},"type":"object"},"organizations":common.common245,"projects":common.common245},"type":"object"},"parentId":common.common1,"parentType":common.common70},"required":["parentId","parentType","listInvite"],"then":common.common108,"type":"object"}},{"auth":"bearer","constant":"FOLLOW","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/follow","request":{"additionalProperties":false,"properties":{"childId":common.common217,"childType":common.common218,"parentId":common.common11,"parentType":common.common219},"required":["childId","childType","parentType","parentId"],"type":"object"}},{"auth":"none","constant":"GET_COSTUM_JSON","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/cms/getcostumjson?slug={slug}","pathParams":{"slug":common.common1}},{"auth":"none","constant":"GLOBAL_AUTOCOMPLETE_COSTUM","contentType":"application/x-www-form-urlencoded","functionCocostum":"globalautocomplete","method":"POST","path":"/co2/search/globalautocomplete","request":common.common250},{"auth":"none","constant":"NAVIGATOR_GETTL","contentType":"application/x-www-form-urlencoded","functionCocostum":"gettl","method":"POST","path":"/costum/navigator/gettl","request":common.common250},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_ACTORS","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestActors","method":"POST","path":"/costum/coevent/get_events/request/actors/id/{id}/type/{type}","pathParams":common.common270,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common252,"costumEditMode":common.common129,"costumId":common.common11,"costumSlug":common.common1,"costumType":common.common252,"mode":common.common1,"parent_only":common.common3,"sourceKey":common.common33,"types":{"items":{"enum":["organizer","links.attendees","creator","links.creator","links.organizer","organizerName","animator"],"type":"string"},"type":"array"}},"type":"object"}},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_SUBEVENTS","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestSubevents","method":"POST","path":"/costum/coevent/get_events/request/subevents/id/{id}/type/{type}","pathParams":common.common270,"request":{"additionalProperties":false,"allOf":[{"if":{"properties":{"date":common.common1},"required":["date"]},"then":{"required":["timezone"]}}],"properties":{"contextId":common.common11,"contextType":common.common252,"costumEditMode":common.common129,"costumId":common.common11,"costumSlug":common.common1,"costumType":common.common252,"date":{"oneOf":[common.common1,{"properties":{"between":{"properties":{"end":common.common44,"start":common.common44},"required":["start","end"],"type":"object"}},"required":["between"],"type":"object"}]},"fromToday":common.common3,"mode":common.common1,"regions":common.common273,"sourceKey":common.common33,"tags":common.common33,"timezone":common.common1,"type":common.common1},"type":"object"}},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_ELEMENT_EVENT","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestElementEvent","method":"POST","path":"/costum/coevent/get_events/request/element_event/id/{id}/type/{type}","pathParams":common.common270,"request":common.common276},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_CATEGORIES","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestCategories","method":"POST","path":"/costum/coevent/get_events/request/categories/id/{id}/type/{type}","pathParams":common.common270,"request":common.common276},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_DATES","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestDates","method":"POST","path":"/costum/coevent/get_events/request/dates/id/{id}/type/{type}","pathParams":common.common270,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common252,"costumEditMode":common.common129,"costumId":common.common11,"costumSlug":common.common1,"costumType":common.common252,"mode":common.common1,"regions":common.common273,"sourceKey":common.common33,"tags":common.common33,"type":common.common1},"type":"object"}},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_EVENT","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestEvent","method":"POST","path":"/costum/coevent/get_events/request/event/id/{id}/type/{type}","pathParams":common.common270,"request":common.common276},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_LINK_TL_TO_EVENT","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestLinkTlToEvent","method":"POST","path":"/costum/coevent/get_events/request/link_tl_to_event/id/{id}/type/{type}","pathParams":common.common270,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common252,"costumEditMode":common.common129,"costumId":common.common11,"costumSlug":common.common1,"costumType":common.common252,"event":common.common1,"mode":common.common1,"sourceKey":common.common33,"tl":common.common1},"required":["tl","event"],"type":"object"}},{"auth":"none","constant":"COSTUM_EVENT_REQUEST_LOAD_CONTEXT_TAG","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumEventRequestLoadContextTag","method":"POST","path":"/costum/coevent/get_events/request/load_context_tag/id/{id}/type/{type}","pathParams":common.common270,"request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common252,"costumEditMode":common.common129,"costumId":common.common11,"costumSlug":common.common1,"costumType":common.common252,"event":common.common11,"mode":common.common1,"search":common.common1,"sourceKey":common.common33},"type":"object"}},{"auth":"none","constant":"GET_GALLERY","contentType":"application/x-www-form-urlencoded","functionCocostum":"","method":"POST","path":"/co2/gallery/index/type/{type}/id/{id}/docType/{docType}/tpl/json","pathParams":{"additionalProperties":false,"else":common.common71,"if":common.common93,"properties":{"docType":{"default":"image","enum":["image","file","bookmarks"],"type":"string"},"id":common.common1,"type":common.common198},"required":["id","type","docType"],"then":common.common89,"type":"object"},"request":{"additionalProperties":false,"properties":{"contentKey":common.common1,"folderId":common.common1},"type":"object"}},{"auth":"none","constant":"GET_ATTENDEES_NO_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocomplete","request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common187,"fediverse":common.common142,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.events\\.(?:[a-f0-9]{24}|@\\w+)$)"}}},{"not":{"propertyNames":{"pattern":"^(?!links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$)"}}}],"patternProperties":{"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)$":common.common162,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdmin$":common.common162,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isAdminPending$":common.common162,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.isInviting$":common.common182,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.roles$":common.common184,"^links\\.events\\.(?:[a-f0-9]{24}|@\\w+)\\.toBeValidated$":common.common171},"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common187},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"bearer","constant":"GET_ATTENDEES_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/globalautocompleteadmin/type/events/id/{id}/canSee/true","pathParams":common.common128,"request":{"additionalProperties":false,"properties":{"count":common.common87,"countType":common.common187,"fediverse":common.common142,"filters":{"additionalProperties":false,"allOf":[{"not":{"propertyNames":{"pattern":"^(?!links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$)"}}}],"default":{"links.events.@{pathParams.id}":common.common161,"links.events.@{pathParams.id}.isInviting":common.common170,"links.events.@{pathParams.id}.toBeValidated":common.common170},"patternProperties":{"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))$":common.common162,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdmin$":common.common162,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isAdminPending$":common.common162,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.isInviting$":common.common182,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.roles$":common.common184,"^links\\.events\\.(?:[a-f0-9]{24}|@(?:\\{[^}]+\\}|[A-Za-z0-9_]+(?:\\.[A-Za-z0-9_]+)?))\\.toBeValidated$":common.common182},"type":"object"},"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common143,"name":common.common1,"notSourceKey":common.common87,"ranges":common.common151,"searchBy":common.common155,"searchType":common.common187},"required":["searchType","indexMin","initType","count","countType","indexStep","notSourceKey","filters","locality","fediverse"],"type":"object"}},{"auth":"none","constant":"COFORM_ANSWERS_SEARCH","contentType":"application/x-www-form-urlencoded","functionCocostum":"answerlist","method":"POST","path":"/survey/coform/answerslist","request":{"additionalProperties":false,"properties":{"contextId":common.common11,"contextType":common.common252,"costumEditMode":common.common129,"costumId":common.common11,"costumSlug":common.common1,"costumType":common.common252,"count":common.common87,"countType":common.common278,"fediverse":common.common129,"fields":common.common33,"filters":common.common255,"indexMax":common.common86,"indexMin":common.common144,"indexStep":common.common145,"initType":common.common143,"locality":common.common146,"mapUsed":common.common205,"mode":common.common1,"name":common.common1,"notSourceKey":common.common205,"options":common.common264,"ranges":common.common151,"searchBy":common.common155,"searchTags":common.common33,"searchType":common.common278,"sortBy":common.common268,"sourceKey":common.common33},"required":["searchType","countType","indexMin","indexStep","initType","count","fediverse"],"type":"object"}},{"auth":"none","constant":"COFORM_ANSWERS_BY_ID","contentType":"application/x-www-form-urlencoded","functionCocostum":"findanswered","method":"POST","path":"/survey/coform/findanswered","request":{"additionalProperties":false,"properties":{"answerId":common.common1,"fields":common.common33,"finderPath":common.common10,"formId":common.common1},"required":["answerId"],"type":"object"}},{"auth":"none","constant":"GET_COFORM_BY_ID","contentType":"application/x-www-form-urlencoded","functionCocostum":"getformbyid","method":"POST","path":"/survey/coform/getformbyid","request":{"additionalProperties":false,"properties":{"elementId":common.common11,"elementType":{"enum":["organizations","projects","events","poi","citoyens"],"type":"string"},"parentFormId":common.common11},"required":["parentFormId"],"type":"object"}},{"auth":"bearer","constant":"COFORM_UPLOAD_ANSWER_FILE","contentType":"multipart/form-data","method":"POST","path":"/survey/coform/uploadanswerfile","request":{"additionalProperties":false,"properties":{"answerId":common.common11,"contentKey":{"default":"slider","type":"string"},"docType":{"default":"image","enum":["image","file"],"type":"string"},"formId":common.common11,"qqfile":common.common256,"qqfilename":common.common1,"qqtotalfilesize":common.common86,"qquuid":common.common1,"subKey":common.common1},"required":["formId","qquuid","qqfilename","qqtotalfilesize","qqfile"],"type":"object"}},{"auth":"bearer","constant":"COFORM_GET_ANSWER_FILES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/survey/coform/getanswerfiles","request":{"additionalProperties":false,"properties":{"answerId":common.common11,"contentKey":{"default":"presentation","type":"string"},"docType":{"default":"file","enum":["image","file"],"type":"string"},"subKey":common.common1},"required":["answerId","subKey"],"type":"object"}},{"auth":"none","constant":"GET_COFORM_CATALOGS","contentType":"application/x-www-form-urlencoded","functionCocostum":"getformcatalogs","method":"POST","path":"/survey/coform/getformcatalogs","request":{"additionalProperties":false,"properties":{"formId":common.common11,"inputKeys":common.common1},"required":["formId","inputKeys"],"type":"object"}},{"auth":"bearer","constant":"SAVE_COFORM_ANSWER","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/survey/coform/saveanswer","request":{"additionalProperties":false,"properties":{"addedOptions":common.common1,"answerId":common.common11,"answers":common.common1,"formId":common.common11,"links":common.common1},"required":["formId","answers"],"type":"object"}},{"auth":"bearer","constant":"GET_COFORM_ANSWER_HISTORY","contentType":"application/x-www-form-urlencoded","functionCocostum":"getCoformAnswerHistory","method":"POST","path":"/survey/coform/getanswerhistory","request":{"additionalProperties":false,"properties":{"answerId":common.common11},"required":["answerId"],"type":"object"}},{"auth":"bearer","constant":"GET_COFORM_MULTIEVAL_DATA","contentType":"application/x-www-form-urlencoded","functionCocostum":"getCoformMultiEvalData","method":"POST","path":"/survey/coform/getmultievaldata","request":{"additionalProperties":false,"properties":{"answerId":common.common11,"stepKey":common.common1},"required":["answerId"],"type":"object"}},{"auth":"bearer","constant":"GET_COFORM_COMMONTABLE_CONTRIBUTORS","contentType":"application/x-www-form-urlencoded","functionCocostum":"getCoformCommonTableContributors","method":"POST","path":"/survey/coform/getcommontablecontributors","request":{"additionalProperties":false,"properties":{"criteriaIds":common.common1,"formId":common.common11,"inputKey":common.common1},"required":["formId","inputKey","criteriaIds"],"type":"object"}},{"auth":"bearer","constant":"ADD_VOTE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/action/addaction","request":{"additionalProperties":false,"properties":{"action":{"const":"vote","default":"vote","type":"string"},"collection":common.common280,"details":{"additionalProperties":false,"properties":{"status":common.common1},"required":["status"],"type":"object"},"id":common.common11},"required":["id","collection","action","details"],"type":"object"}},{"auth":"bearer","constant":"ADD_REPORT_ABUSE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/action/addaction","request":{"additionalProperties":false,"properties":{"action":{"const":"reportAbuse","default":"reportAbuse","type":"string"},"collection":common.common280,"details":{"additionalProperties":false,"properties":{"comment":common.common1,"reason":common.common1},"required":["reason"],"type":"object"},"id":common.common11},"required":["id","collection","action","details"],"type":"object"}},{"auth":"bearer","constant":"UPDATE_PATH_VALUE","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/updatepathvalue","request":{"additionalProperties":false,"allOf":[{"if":{"required":["pull"]},"then":{"properties":{"value":common.common1}}}],"properties":{"arrayForm":common.common3,"collection":{"default":"citoyens","enum":["citoyens","organizations","projects","events","poi","answers","forms","actions"],"type":"string"},"edit":common.common3,"formParentId":common.common11,"id":common.common5,"path":common.common1,"pull":common.common1,"setType":{"anyOf":[common.common281,{"items":{"additionalProperties":false,"properties":{"path":common.common1,"type":common.common1},"required":["path","type"],"type":"object"},"type":"array"}]},"updatePartial":common.common3,"value":{"type":["string","number","boolean","object","array","null"]}},"required":["id","collection","path","value"],"type":"object"}},{"auth":"bearer","constant":"DELETE_DOCUMENT_BY_CONTEXT","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/document/delete/dir/co2/contextType/{contextType}/contextId/{contextId}","pathParams":{"additionalProperties":false,"properties":{"contextId":common.common5,"contextType":common.common282},"required":["contextType","contextId"],"type":"object"},"request":{"additionalProperties":false,"properties":{"ids":common.common11,"parentId":common.common5,"parentType":common.common282,"path":{"const":"communecter","default":"communecter","type":"string"}},"required":["id","collection","path","value"],"type":"object"}},{"auth":"bearer","constant":"DELETE_DOCUMENT_BY_ID","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/document/deletedocumentbyid/id/{id}","pathParams":common.common128},{"auth":"bearer","constant":"DEMOTE_ADMIN","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/link/updateadminlink/","request":{"additionalProperties":false,"properties":{"childId":common.common11,"childType":common.common188,"connect":{"enum":["members","contributors"],"type":"string"},"isAdmin":common.common142,"parentId":common.common11,"parentType":{"enum":["organizations","projects"],"type":"string"}},"required":["parentId","parentType","childId","childType","connect","isAdmin"],"type":"object"}},{"constant":"COSTUM_FILTER_COFORM","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/costum/francetierslieux/autoglobalthematicntwrk","request":{"properties":{"costumId":common.common1,"costumSlug":common.common1,"costumType":common.common1,"searchedData":common.common256},"type":"object"}},{"constant":"COSTUM_FILTER_COFORM_BY_PATH","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/costum/francetierslieux/autoglobalthematicntwrk","request":{"additionalProperties":true,"properties":{"contextId":common.common11,"contextType":common.common252,"costumEditMode":common.common129,"costumId":common.common11,"costumSlug":common.common1,"costumType":common.common252,"count":common.common129,"fediverse":common.common129,"fields":common.common33,"filters":{"oneOf":[common.common256,common.common31]},"indexMin":common.common144,"indexStep":{"default":10000,"type":"number"},"initType":common.common10,"locality":{"oneOf":[common.common256,{"items":common.common256,"type":"array"},common.common31]},"notSourceKey":common.common110,"params":{"additionalProperties":false,"properties":{"finderPath":common.common1,"thematicPath":common.common1},"required":["thematicPath"],"type":"object"},"searchType":{"default":["answers"],"items":common.common1,"type":"array"},"sortBy":common.common268,"sourceKey":common.common33},"required":["params"],"type":"object"}},{"auth":"none","constant":"GET_COUNTRIES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/opendata/getcountries","request":{"additionalProperties":false,"properties":{"costumEditMode":{"oneOf":[{"enum":["true","false"],"type":"string"},{"enum":[0,1],"type":"number"},common.common3]},"costumId":common.common11,"costumSlug":common.common1,"costumType":{"enum":["organizations","projects","events","citoyens","poi"],"type":"string"}},"type":"object"}},{"constant":"SEARCH_ZONES","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/search/getzone","request":{"properties":{"costumId":common.common1,"costumSlug":common.common1,"costumType":common.common1,"countryCode":common.common283,"level":common.common283,"sortBy":common.common1,"upperLevelId":common.common1},"required":["countryCode","level"],"type":"object"}},{"auth":"none","constant":"COFORM_ANSWERS_BY_FORMS","contentType":"application/x-www-form-urlencoded","functionCocostum":"findanswers","method":"POST","path":"/costum/francetierslieux/getallanswersbyforms","request":{"properties":{"forms":{"patternProperties":{"^[a-fA-F0-9]{24}$":common.common1},"type":"object"}},"type":"object"}},{"auth":"none","constant":"GENERATE_ANSWER_FROM_FORM","contentType":"application/x-www-form-urlencoded","functionCocostum":"generateanswerfromform","method":"POST","path":"/survey/answer/newanswer/form/{formId}","pathParams":{"additionalProperties":false,"properties":{"formId":common.common11},"required":["formId"],"type":"object"},"request":{"properties":{"action":common.common1},"type":"object"}},{"auth":"none","constant":"FUNDING_ENVELOPE","contentType":"application/x-www-form-urlencoded","functionCocostum":"fundingenvelope","method":"POST","path":"/co2/aap/fundingenvelope","request":{"additionalProperties":true,"properties":{"action":common.common1,"answer":common.common11,"contextId":{"pattern":"^(?:[a-f0-9]{24}|@userId)$","type":"string"},"contextType":common.common1,"financerId":common.common11,"financerType":common.common1,"formId":common.common11,"params":common.common256,"project":common.common11},"required":["contextId","contextType"],"type":"object"}},{"auth":"none","constant":"COREMU_OPERATION","contentType":"application/x-www-form-urlencoded","functionCocostum":"coremuoperation","method":"POST","path":"/co2/aap/coremuoperation/","request":{"additionalProperties":true,"properties":{"action":{"const":"generateproposition","type":"string"},"answer":{"const":"new","type":"string"},"form":common.common11,"project":common.common11},"required":["form","answer","action","project"],"type":"object"}},{"auth":"bearer","constant":"COSTUM_PROJECT_ACTION_REQUEST_NEW","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumProjectActionRequestNew","method":"POST","path":"/costum/project/action/request/new","request":{"additionalProperties":false,"properties":{"assign":common.common11,"credits":{"default":1,"minimum":0,"type":"number"},"endDate":common.common238,"idParentRoom":common.common11,"importance":{"default":"low","type":"string"},"is_contributor":common.common3,"max":common.common157,"mentions":common.common33,"milestone":{"additionalProperties":false,"properties":{"endDate":common.common238,"milestoneId":common.common11,"startDate":common.common238},"required":["milestoneId"],"type":"object"},"min":common.common157,"name":common.common1,"parentId":common.common11,"parentType":common.common232,"startDate":common.common238,"status":{"default":"todo","enum":["todo","done","tracking","discuter","next","totest","disabled","closed"],"type":"string"},"tags":common.common33,"timeSpent":common.common157,"urls":common.common32},"required":["name","status","parentId","parentType"],"type":"object"}},{"auth":"bearer","constant":"COSTUM_PROJECT_ACTION_REQUEST_SET_STATUS","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumProjectActionRequestSetStatus","method":"POST","path":"/costum/project/action/request/set_status","request":{"additionalProperties":false,"properties":{"id":common.common11,"status":{"enum":["todo","done","tracking","discuter","next","totest","disabled","closed"],"type":"string"},"user":common.common11},"required":["id","status"],"type":"object"}},{"auth":"bearer","constant":"COSTUM_PROJECT_ACTION_REQUEST_SET_DATE","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumProjectActionRequestSetDate","method":"POST","path":"/costum/project/action/request/set_date","request":{"additionalProperties":false,"properties":{"endDate":common.common1,"id":common.common11,"startDate":common.common1},"required":["id"],"type":"object"}},{"auth":"bearer","constant":"COSTUM_PROJECT_ACTION_REQUEST_SET_CONTRIBUTORS","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumProjectActionRequestSetContributors","method":"POST","path":"/costum/project/action/request/set_contributors","request":{"additionalProperties":false,"properties":{"action":common.common11,"contributor":common.common11,"contributors":common.common112,"participate":{"enum":[0,1],"type":"integer"}},"required":["action"],"type":"object"}},{"auth":"bearer","constant":"COSTUM_PROJECT_ACTION_REQUEST_CANCEL","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumProjectActionRequestCancel","method":"POST","path":"/costum/project/action/request/cancel","request":common.common128},{"auth":"bearer","constant":"COSTUM_PROJECT_ACTION_REQUEST_ARCHIVE","contentType":"application/x-www-form-urlencoded","functionCocostum":"costumProjectActionRequestArchive","method":"POST","path":"/costum/project/action/request/archive","request":common.common128},{"auth":"bearer","constant":"LINK_DISCOURSE_ACCOUNT","contentType":"application/x-www-form-urlencoded","functionCocostum":"linkDiscourseAccount","method":"POST","path":"/interop/discourse/linkAccount","request":common.common284},{"auth":"bearer","constant":"UNLINK_DISCOURSE_ACCOUNT","contentType":"application/x-www-form-urlencoded","functionCocostum":"unlinkDiscourseAccount","method":"POST","path":"/interop/discourse/unlinkAccount","request":common.common286},{"auth":"none","constant":"DISCOURSE_PROFILE","contentType":"application/x-www-form-urlencoded","functionCocostum":"getDiscourseProfile","method":"POST","path":"/interop/discourse/profile","request":common.common284},{"auth":"bearer","constant":"DISCOURSE_CHECK_EMAIL","contentType":"application/x-www-form-urlencoded","functionCocostum":"checkDiscourseEmailMatch","method":"POST","path":"/interop/discourse/checkEmailMatch","request":common.common286},{"auth":"bearer","constant":"DISCOURSE_DISMISS_LINK","contentType":"application/x-www-form-urlencoded","functionCocostum":"dismissDiscourseLink","method":"POST","path":"/interop/discourse/dismissDiscourseLink","request":common.common286},{"auth":"bearer","constant":"LINK_MEDIAWIKI_ACCOUNT","contentType":"application/x-www-form-urlencoded","functionCocostum":"linkMediaWikiAccount","method":"POST","path":"/interop/mediawiki/linkAccount","request":common.common284},{"auth":"bearer","constant":"UNLINK_MEDIAWIKI_ACCOUNT","contentType":"application/x-www-form-urlencoded","functionCocostum":"unlinkMediaWikiAccount","method":"POST","path":"/interop/mediawiki/unlinkAccount","request":common.common286},{"auth":"none","constant":"GET_MEDIAWIKI_CONTRIBUTIONS","contentType":"application/x-www-form-urlencoded","functionCocostum":"getMediaWikiContributions","method":"POST","path":"/interop/mediawiki/contribs","request":{"additionalProperties":true,"properties":{"costumId":common.common1,"costumSlug":common.common1,"costumType":common.common1,"limit":common.common239,"username":common.common1},"required":["username","costumSlug","costumId","costumType"],"type":"object"}},{"auth":"bearer","constant":"ADD_CLASSIFIED","contentType":"application/x-www-form-urlencoded","method":"POST","path":"/co2/element/save","request":{"additionalProperties":true,"properties":{"address":{"additionalProperties":false,"properties":{"@type":common.common77,"addressCountry":common.common1,"addressLocality":common.common1,"codeInsee":common.common1,"level1":common.common1,"level1Name":common.common1,"level2":common.common1,"level2Name":common.common1,"level3":common.common78,"level3Name":common.common78,"level4":common.common78,"level4Name":common.common78,"localityId":common.common1,"postalCode":common.common1,"streetAddress":common.common1},"required":["@type","addressCountry","codeInsee","addressLocality","localityId","level1","level1Name"],"type":"object"},"category":{"enum":["service","competence","material"],"type":"string"},"collection":{"const":"classifieds","default":"classifieds","type":"string"},"description":common.common1,"geo":common.common79,"geoPosition":common.common83,"id":common.common11,"key":{"const":"classified","default":"classified","type":"string"},"name":common.common222,"parent":common.common233,"preferences":common.common227,"scope":common.common143,"section":{"enum":["need","offer"],"type":"string"},"subtype":common.common281,"tags":common.common33},"required":["id","collection","key","name","section","category","subtype","scope"],"type":"object"}}]};
4092
4123
 
4093
4124
  export default endpoints;