xidl-api-reddit 0.72.0

A IDL codegen.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
#pragma xidlc package Reddit API
#pragma xidlc version 1.0.0
#pragma xidlc service https://oauth.reddit.com reddit

interface RedditApi {
    @get(path = "/api/v1/me")
    any get_me(

    );

    @get(path = "/api/v1/me/karma")
    any get_me_karma(

    );

    @get(path = "/api/v1/me/prefs")
    any get_me_prefs(
        @query in string fields
    );

    @patch(path = "/api/v1/me/prefs")
    any patch_me_prefs(

    );

    @get(path = "/api/v1/me/trophies")
    any get_me_trophies(

    );

    @get(path = "/prefs/{where}")
    any get_prefs_where(
        @path in string where,
        @query in string after,
        @query in string before,
        @query in int64 count,
        @query in string limit,
        @query in string show,
        @query in string sr_detail
    );

    @get(path = "/api/announcements/v1")
    any get_announcements_v1(
        @query in string after,
        @query in string before,
        @query in int64 limit
    );

    @post(path = "/api/announcements/v1/hide")
    any post_announcements_v1_hide(
        @body in any body
    );

    @post(path = "/api/announcements/v1/read")
    any post_announcements_v1_read(
        @body in any body
    );

    @post(path = "/api/announcements/v1/read/all")
    any post_announcements_v1_read_all(

    );

    @get(path = "/api/needs/captcha")
    any get_needs_captcha(

    );

    @post(path = "/api/v1/{subreddit}/emoji.json")
    any post_subreddit_emoji_json(
        @path in string subreddit,
        @body in any body
    );

    @delete(path = "/api/v1/{subreddit}/emoji/{emoji_name}")
    any delete_subreddit_emoji_emoji_name(
        @path in string subreddit,
        @path in string emoji_name
    );

    @post(path = "/api/v1/{subreddit}/emoji/asset/upload/s3.json")
    any post_subreddit_emoji_asset_upload_s3_json(
        @path in string subreddit,
        @body in any body
    );

    @post(path = "/api/v1/{subreddit}/emoji/custom/size")
    any post_subreddit_emoji_custom_size(
        @path in string subreddit,
        @body in any body
    );

    @get(path = "/api/v1/{subreddit}/emojis/all")
    any get_subreddit_emojis_all(
        @path in string subreddit
    );

    @post(path = "/api/clearflairtemplates")
    any post_clearflairtemplates(
        @body in any body
    );

    @post(path = "/api/deleteflair")
    any post_deleteflair(
        @body in any body
    );

    @post(path = "/api/deleteflairtemplate")
    any post_deleteflairtemplate(
        @body in any body
    );

    @post(path = "/api/flair")
    any post_flair(
        @body in any body
    );

    @patch(path = "/api/flair/template/order")
    any patch_flair_template_order(
        @body in any body
    );

    @post(path = "/api/flairconfig")
    any post_flairconfig(
        @body in any body
    );

    @post(path = "/api/flaircsv")
    any post_flaircsv(
        @body in any body
    );

    @get(path = "/api/flairlist")
    any get_flairlist(
        @query in string after,
        @query in string before,
        @query in int64 count,
        @query in string limit,
        @query in string name,
        @query in string show,
        @query in string sr_detail
    );

    @post(path = "/api/flairselector")
    any post_flairselector(
        @body in any body
    );

    @post(path = "/api/flairtemplate")
    any post_flairtemplate(
        @body in any body
    );

    @post(path = "/api/flairtemplate/v2")
    any post_flairtemplate_v2(
        @body in any body
    );

    @get(path = "/api/link/flair")
    any get_link_flair(

    );

    @get(path = "/api/link/flair/v2")
    any get_link_flair_v2(

    );

    @post(path = "/api/selectflair")
    any post_selectflair(
        @body in any body
    );

    @post(path = "/api/setflairenabled")
    any post_setflairenabled(
        @body in any body
    );

    @get(path = "/api/user/flair")
    any get_user_flair(

    );

    @get(path = "/api/user/flair/v2")
    any get_user_flair_v2(

    );

    @post(path = "/api/comment")
    any post_comment(
        @body in any body
    );

    @post(path = "/api/del")
    any post_del(
        @body in any body
    );

    @post(path = "/api/editusertext")
    any post_editusertext(
        @body in any body
    );

    @post(path = "/api/follow/post")
    any post_follow_post(
        @body in any body
    );

    @post(path = "/api/hide")
    any post_hide(
        @body in any body
    );

    @get(path = "/api/info")
    any get_info(
        @query in string id,
        @query in string sr_name,
        @query in string url
    );

    @post(path = "/api/lock")
    any post_lock(
        @body in any body
    );

    @post(path = "/api/marknsfw")
    any post_marknsfw(
        @body in any body
    );

    @get(path = "/api/morechildren")
    any get_morechildren(
        @query in string api_type,
        @query in string children,
        @query in int64 depth,
        @query in string id,
        @query in boolean limit_children,
        @query in string link_id,
        @query in string sort
    );

    @post(path = "/api/report")
    any post_report(
        @body in any body
    );

    @post(path = "/api/save")
    any post_save(
        @body in any body
    );

    @get(path = "/api/saved/categories")
    any get_saved_categories(

    );

    @post(path = "/api/sendreplies")
    any post_sendreplies(
        @body in any body
    );

    @post(path = "/api/set/contest/mode")
    any post_set_contest_mode(
        @body in any body
    );

    @post(path = "/api/set/subreddit/sticky")
    any post_set_subreddit_sticky(
        @body in any body
    );

    @post(path = "/api/set/suggested/sort")
    any post_set_suggested_sort(
        @body in any body
    );

    @post(path = "/api/spoiler")
    any post_spoiler(
        @body in any body
    );

    @post(path = "/api/store/visits")
    any post_store_visits(
        @body in any body
    );

    @post(path = "/api/submit")
    any post_submit(
        @body in any body
    );

    @post(path = "/api/unhide")
    any post_unhide(
        @body in any body
    );

    @post(path = "/api/unlock")
    any post_unlock(
        @body in any body
    );

    @post(path = "/api/unmarknsfw")
    any post_unmarknsfw(
        @body in any body
    );

    @post(path = "/api/unsave")
    any post_unsave(
        @body in any body
    );

    @post(path = "/api/unspoiler")
    any post_unspoiler(
        @body in any body
    );

    @post(path = "/api/vote")
    any post_vote(
        @body in any body
    );

    @get(path = "/best")
    any get_best(

    );

    @get(path = "/by/id/{names}")
    any get_by_id_names(
        @path in string names
    );

    @get(path = "/comments/{article}")
    any get_comments_article(
        @path in string article,
        @query in string comment,
        @query in int64 context,
        @query in int64 depth,
        @query in int64 limit,
        @query in boolean showedits,
        @query in boolean showmedia,
        @query in boolean showmore,
        @query in boolean showtitle,
        @query in string sort,
        @query in string sr_detail,
        @query in string theme,
        @query in boolean threaded,
        @query in int64 truncate
    );

    @get(path = "/duplicates/{article}")
    any get_duplicates_article(
        @path in string article,
        @query in string after,
        @query in string before,
        @query in int64 count,
        @query in boolean crossposts_only,
        @query in string limit,
        @query in string show,
        @query in string sort,
        @query in string sr,
        @query in string sr_detail
    );

    @get(path = "/hot")
    any get_hot(
        @query in string g
    );

    @get(path = "/new")
    any get_new(

    );

    @get(path = "/rising")
    any get_rising(

    );

    @get(path = "/{sort}")
    any get_sort(
        @path in string sort,
        @query in string t
    );

    @get(path = "/api/live/by/id/{names}")
    any get_live_by_id_names(
        @path in string names
    );

    @post(path = "/api/live/create")
    any post_live_create(
        @body in any body
    );

    @get(path = "/api/live/happening/now")
    any get_live_happening_now(
        @query in boolean show_announcements
    );

    @post(path = "/api/live/{thread}/accept/contributor/invite")
    any post_live_thread_accept_contributor_invite(
        @path in string thread,
        @body in any body
    );

    @post(path = "/api/live/{thread}/close/thread")
    any post_live_thread_close_thread(
        @path in string thread,
        @body in any body
    );

    @post(path = "/api/live/{thread}/delete/update")
    any post_live_thread_delete_update(
        @path in string thread,
        @body in any body
    );

    @post(path = "/api/live/{thread}/edit")
    any post_live_thread_edit(
        @path in string thread,
        @body in any body
    );

    @post(path = "/api/live/{thread}/hide/discussion")
    any post_live_thread_hide_discussion(
        @path in string thread,
        @body in any body
    );

    @post(path = "/api/live/{thread}/invite/contributor")
    any post_live_thread_invite_contributor(
        @path in string thread,
        @body in any body
    );

    @post(path = "/api/live/{thread}/leave/contributor")
    any post_live_thread_leave_contributor(
        @path in string thread,
        @body in any body
    );

    @post(path = "/api/live/{thread}/report")
    any post_live_thread_report(
        @path in string thread,
        @body in any body
    );

    @post(path = "/api/live/{thread}/rm/contributor")
    any post_live_thread_rm_contributor(
        @path in string thread,
        @body in any body
    );

    @post(path = "/api/live/{thread}/rm/contributor/invite")
    any post_live_thread_rm_contributor_invite(
        @path in string thread,
        @body in any body
    );

    @post(path = "/api/live/{thread}/set/contributor/permissions")
    any post_live_thread_set_contributor_permissions(
        @path in string thread,
        @body in any body
    );

    @post(path = "/api/live/{thread}/strike/update")
    any post_live_thread_strike_update(
        @path in string thread,
        @body in any body
    );

    @post(path = "/api/live/{thread}/unhide/discussion")
    any post_live_thread_unhide_discussion(
        @path in string thread,
        @body in any body
    );

    @post(path = "/api/live/{thread}/update")
    any post_live_thread_update(
        @path in string thread,
        @body in any body
    );

    @get(path = "/live/{thread}")
    any get_live_thread(
        @path in string thread,
        @query in string after,
        @query in string before,
        @query in int64 count,
        @query in string is_embed,
        @query in string limit,
        @query in string stylesr
    );

    @get(path = "/live/{thread}/about")
    any get_live_thread_about(
        @path in string thread
    );

    @get(path = "/live/{thread}/contributors")
    any get_live_thread_contributors(
        @path in string thread
    );

    @get(path = "/live/{thread}/discussions")
    any get_live_thread_discussions(
        @path in string thread,
        @query in string after,
        @query in string before,
        @query in int64 count,
        @query in string limit,
        @query in string show,
        @query in string sr_detail
    );

    @get(path = "/live/{thread}/updates/{update_id}")
    any get_live_thread_updates_update_id(
        @path in string thread,
        @path in string update_id
    );

    @post(path = "/api/compose")
    any post_compose(
        @body in any body
    );

    @post(path = "/api/del/msg")
    any post_del_msg(
        @body in any body
    );

    @post(path = "/api/read/all/messages")
    any post_read_all_messages(
        @body in any body
    );

    @post(path = "/api/read/message")
    any post_read_message(
        @body in any body
    );

    @get(path = "/message/{where}")
    any get_message_where(
        @path in string where,
        @query in string mark,
        @query in string max_replies,
        @query in string mid
    );

    @get(path = "/api/v1/scopes")
    any get_scopes(
        @query in string scopes
    );

    @get(path = "/about/log")
    any get_about_log(
        @query in string after,
        @query in string before,
        @query in int64 count,
        @query in string limit,
        @query in string mod,
        @query in string show,
        @query in string sr_detail,
        @query in string type
    );

    @get(path = "/about/{location}")
    any get_about_location(
        @path in string location,
        @query in string after,
        @query in string before,
        @query in int64 count,
        @query in string limit,
        @query in string only,
        @query in string show,
        @query in string sr_detail
    );

    @post(path = "/api/accept/moderator/invite")
    any post_accept_moderator_invite(
        @body in any body
    );

    @post(path = "/api/approve")
    any post_approve(
        @body in any body
    );

    @post(path = "/api/distinguish")
    any post_distinguish(
        @body in any body
    );

    @post(path = "/api/ignore/reports")
    any post_ignore_reports(
        @body in any body
    );

    @post(path = "/api/leavecontributor")
    any post_leavecontributor(
        @body in any body
    );

    @post(path = "/api/leavemoderator")
    any post_leavemoderator(
        @body in any body
    );

    @post(path = "/api/remove")
    any post_remove(
        @body in any body
    );

    @post(path = "/api/show/comment")
    any post_show_comment(
        @body in any body
    );

    @post(path = "/api/snooze/reports")
    any post_snooze_reports(
        @body in any body
    );

    @post(path = "/api/unignore/reports")
    any post_unignore_reports(
        @body in any body
    );

    @post(path = "/api/unsnooze/reports")
    any post_unsnooze_reports(
        @body in any body
    );

    @post(path = "/api/update/crowd/control/level")
    any post_update_crowd_control_level(
        @body in any body
    );

    @get(path = "/stylesheet")
    any get_stylesheet(

    );

    @post(path = "/api/mod/bulk/read")
    any post_mod_bulk_read(
        @body in any body
    );

    @get(path = "/api/mod/conversations")
    any get_mod_conversations(
        @query in string after,
        @query in string entity,
        @query in int64 limit,
        @query in string sort,
        @query in string state
    );

    @post(path = "/api/mod/conversations")
    any post_mod_conversations(
        @body in any body
    );

    @get(path = "/api/mod/conversations/:conversation/id")
    any get_mod_conversations_conversation_id(
        @query in string conversation_id,
        @query in boolean markRead
    );

    @post(path = "/api/mod/conversations/:conversation/id")
    any post_mod_conversations_conversation_id(
        @body in any body
    );

    @post(path = "/api/mod/conversations/:conversation/id/approve")
    any post_mod_conversations_conversation_id_approve(
        @body in any body
    );

    @post(path = "/api/mod/conversations/:conversation/id/archive")
    any post_mod_conversations_conversation_id_archive(
        @body in any body
    );

    @post(path = "/api/mod/conversations/:conversation/id/disapprove")
    any post_mod_conversations_conversation_id_disapprove(
        @body in any body
    );

    @delete(path = "/api/mod/conversations/:conversation/id/highlight")
    any delete_mod_conversations_conversation_id_highlight(
        @query in string conversation_id
    );

    @post(path = "/api/mod/conversations/:conversation/id/highlight")
    any post_mod_conversations_conversation_id_highlight(
        @body in any body
    );

    @post(path = "/api/mod/conversations/:conversation/id/mute")
    any post_mod_conversations_conversation_id_mute(
        @body in any body
    );

    @post(path = "/api/mod/conversations/:conversation/id/temp/ban")
    any post_mod_conversations_conversation_id_temp_ban(
        @body in any body
    );

    @post(path = "/api/mod/conversations/:conversation/id/unarchive")
    any post_mod_conversations_conversation_id_unarchive(
        @body in any body
    );

    @post(path = "/api/mod/conversations/:conversation/id/unban")
    any post_mod_conversations_conversation_id_unban(
        @body in any body
    );

    @post(path = "/api/mod/conversations/:conversation/id/unmute")
    any post_mod_conversations_conversation_id_unmute(
        @body in any body
    );

    @post(path = "/api/mod/conversations/read")
    any post_mod_conversations_read(
        @body in any body
    );

    @get(path = "/api/mod/conversations/subreddits")
    any get_mod_conversations_subreddits(

    );

    @post(path = "/api/mod/conversations/unread")
    any post_mod_conversations_unread(
        @body in any body
    );

    @get(path = "/api/mod/conversations/unread/count")
    any get_mod_conversations_unread_count(

    );

    @delete(path = "/api/mod/notes")
    any delete_mod_notes(
        @query in string note_id,
        @query in string subreddit,
        @query in string user
    );

    @get(path = "/api/mod/notes")
    any get_mod_notes(
        @query in string before,
        @query in string filter,
        @query in string limit,
        @query in string subreddit,
        @query in string user
    );

    @post(path = "/api/mod/notes")
    any post_mod_notes(
        @body in any body
    );

    @get(path = "/api/mod/notes/recent")
    any get_mod_notes_recent(
        @query in string subreddits,
        @query in string users
    );

    @post(path = "/api/multi/copy")
    any post_multi_copy(
        @body in any body
    );

    @get(path = "/api/multi/mine")
    any get_multi_mine(
        @query in boolean expand_srs
    );

    @get(path = "/api/multi/user/{username}")
    any get_multi_user_username(
        @path in string username,
        @query in boolean expand_srs
    );

    @delete(path = "/api/multi/{multipath}")
    any delete_multi_multipath(
        @path in string multipath,
        @query in string uh_X_Modhash_header
    );

    @get(path = "/api/multi/{multipath}")
    any get_multi_multipath(
        @path in string multipath,
        @query in boolean expand_srs
    );

    @post(path = "/api/multi/{multipath}")
    any post_multi_multipath(
        @path in string multipath,
        @body in any body
    );

    @put(path = "/api/multi/{multipath}")
    any put_multi_multipath(
        @path in string multipath,
        @body in any body
    );

    @get(path = "/api/multi/{multipath}/description")
    any get_multi_multipath_description(
        @path in string multipath
    );

    @put(path = "/api/multi/{multipath}/description")
    any put_multi_multipath_description(
        @path in string multipath,
        @body in any body
    );

    @delete(path = "/api/multi/{multipath}/r/{srname}")
    any delete_multi_multipath_r_srname(
        @path in string multipath,
        @path in string srname,
        @query in string uh_X_Modhash_header
    );

    @get(path = "/api/multi/{multipath}/r/{srname}")
    any get_multi_multipath_r_srname(
        @path in string multipath,
        @path in string srname
    );

    @put(path = "/api/multi/{multipath}/r/{srname}")
    any put_multi_multipath_r_srname(
        @path in string multipath,
        @path in string srname,
        @body in any body
    );

    @get(path = "/search")
    any get_search(
        @query in string after,
        @query in string before,
        @query in string category,
        @query in int64 count,
        @query in boolean include_facets,
        @query in string limit,
        @query in string q,
        @query in boolean restrict_sr,
        @query in string show,
        @query in string sort,
        @query in string sr_detail,
        @query in string t,
        @query in string type
    );

    @get(path = "/about/{where}")
    any get_about_where(
        @path in string where,
        @query in string after,
        @query in string before,
        @query in int64 count,
        @query in string limit,
        @query in string show,
        @query in string sr_detail,
        @query in string user
    );

    @post(path = "/api/delete/sr/banner")
    any post_delete_sr_banner(
        @body in any body
    );

    @post(path = "/api/delete/sr/header")
    any post_delete_sr_header(
        @body in any body
    );

    @post(path = "/api/delete/sr/icon")
    any post_delete_sr_icon(
        @body in any body
    );

    @post(path = "/api/delete/sr/img")
    any post_delete_sr_img(
        @body in any body
    );

    @get(path = "/api/recommend/sr/{srnames}")
    any get_recommend_sr_srnames(
        @path in string srnames,
        @query in string omit,
        @query in boolean over_18
    );

    @get(path = "/api/search/reddit/names")
    any get_search_reddit_names(
        @query in boolean exact,
        @query in boolean include_over_18,
        @query in boolean include_unadvertisable,
        @query in string query,
        @query in string search_query_id,
        @query in boolean typeahead_active
    );

    @post(path = "/api/search/reddit/names")
    any post_search_reddit_names(
        @body in any body
    );

    @post(path = "/api/search/subreddits")
    any post_search_subreddits(
        @body in any body
    );

    @post(path = "/api/site/admin")
    any post_site_admin(
        @body in any body
    );

    @get(path = "/api/submit/text")
    any get_submit_text(

    );

    @get(path = "/api/subreddit/autocomplete")
    any get_subreddit_autocomplete(
        @query in boolean include_over_18,
        @query in boolean include_profiles,
        @query in string query
    );

    @get(path = "/api/subreddit/autocomplete/v2")
    any get_subreddit_autocomplete_v2(
        @query in boolean include_over_18,
        @query in boolean include_profiles,
        @query in int64 limit,
        @query in string query,
        @query in string search_query_id,
        @query in boolean typeahead_active
    );

    @post(path = "/api/subreddit/stylesheet")
    any post_subreddit_stylesheet(
        @body in any body
    );

    @post(path = "/api/subscribe")
    any post_subscribe(
        @body in any body
    );

    @post(path = "/api/upload/sr/img")
    any post_upload_sr_img(
        @body in any body
    );

    @get(path = "/api/v1/{subreddit}/post/requirements")
    any get_subreddit_post_requirements(
        @path in string subreddit
    );

    @get(path = "/r/{subreddit}/about")
    any get_r_subreddit_about(
        @path in string subreddit
    );

    @get(path = "/r/{subreddit}/about/edit")
    any get_r_subreddit_about_edit(
        @path in string subreddit,
        @query in string created,
        @query in string location
    );

    @get(path = "/r/{subreddit}/about/rules")
    any get_r_subreddit_about_rules(
        @path in string subreddit
    );

    @get(path = "/r/{subreddit}/about/traffic")
    any get_r_subreddit_about_traffic(
        @path in string subreddit
    );

    @get(path = "/sidebar")
    any get_sidebar(

    );

    @get(path = "/sticky")
    any get_sticky(
        @query in int64 num
    );

    @get(path = "/subreddits/mine/{where}")
    any get_subreddits_mine_where(
        @path in string where
    );

    @get(path = "/subreddits/search")
    any get_subreddits_search(
        @query in string after,
        @query in string before,
        @query in int64 count,
        @query in string limit,
        @query in string q,
        @query in string search_query_id,
        @query in string show,
        @query in boolean show_users,
        @query in string sort,
        @query in string sr_detail,
        @query in boolean typeahead_active
    );

    @get(path = "/subreddits/{where}")
    any get_subreddits_where(
        @path in string where
    );

    @get(path = "/users/search")
    any get_users_search(
        @query in string after,
        @query in string before,
        @query in int64 count,
        @query in string limit,
        @query in string q,
        @query in string search_query_id,
        @query in string show,
        @query in string sort,
        @query in string sr_detail,
        @query in boolean typeahead_active
    );

    @get(path = "/users/{where}")
    any get_users_where(
        @path in string where
    );

    @post(path = "/api/block/user")
    any post_block_user(
        @body in any body
    );

    @post(path = "/api/friend")
    any post_friend(
        @body in any body
    );

    @post(path = "/api/report/user")
    any post_report_user(
        @body in any body
    );

    @post(path = "/api/setpermissions")
    any post_setpermissions(
        @body in any body
    );

    @post(path = "/api/unfriend")
    any post_unfriend(
        @body in any body
    );

    @get(path = "/api/user/data/by/account/ids")
    any get_user_data_by_account_ids(
        @query in string ids
    );

    @get(path = "/api/username/available")
    any get_username_available(
        @query in string user
    );

    @delete(path = "/api/v1/me/friends/{username}")
    any delete_me_friends_username(
        @path in string username,
        @query in string id
    );

    @put(path = "/api/v1/me/friends/{username}")
    any put_me_friends_username(
        @path in string username
    );

    @get(path = "/api/v1/user/{username}/trophies")
    any get_user_username_trophies(
        @path in string username,
        @query in string id
    );

    @get(path = "/user/{username}/about")
    any get_user_username_about(
        @path in string username
    );

    @get(path = "/user/{username}/{where}")
    any get_user_username_where(
        @path in string username,
        @path in string where,
        @query in int64 context,
        @query in string show,
        @query in string sort,
        @query in string t,
        @query in string type
    );

    @post(path = "/api/widget")
    any post_widget(
        @body in any body
    );

    @delete(path = "/api/widget/{widget_id}")
    any delete_widget_widget_id(
        @path in string widget_id
    );

    @put(path = "/api/widget/{widget_id}")
    any put_widget_widget_id(
        @path in string widget_id,
        @body in any body
    );

    @post(path = "/api/widget/image/upload/s3")
    any post_widget_image_upload_s3(
        @body in any body
    );

    @patch(path = "/api/widget/order/{section}")
    any patch_widget_order_section(
        @path in string section,
        @body in any body
    );

    @get(path = "/api/widgets")
    any get_widgets(
        @query in boolean progressive_images
    );

    @post(path = "/api/wiki/alloweditor/{act}")
    any post_wiki_alloweditor_act(
        @path in string act,
        @body in any body
    );

    @post(path = "/api/wiki/edit")
    any post_wiki_edit(
        @body in any body
    );

    @post(path = "/api/wiki/hide")
    any post_wiki_hide(
        @body in any body
    );

    @post(path = "/api/wiki/revert")
    any post_wiki_revert(
        @body in any body
    );

    @get(path = "/wiki/discussions/{page}")
    any get_wiki_discussions_page(
        @path in string page,
        @query in string after,
        @query in string before,
        @query in int64 count,
        @query in string limit,
        @query in string show,
        @query in string sr_detail
    );

    @get(path = "/wiki/pages")
    any get_wiki_pages(

    );

    @get(path = "/wiki/revisions")
    any get_wiki_revisions(
        @query in string after,
        @query in string before,
        @query in int64 count,
        @query in string limit,
        @query in string show,
        @query in string sr_detail
    );

    @get(path = "/wiki/revisions/{page}")
    any get_wiki_revisions_page(
        @path in string page,
        @query in string after,
        @query in string before,
        @query in int64 count,
        @query in string limit,
        @query in string show,
        @query in string sr_detail
    );

    @get(path = "/wiki/settings/{page}")
    any get_wiki_settings_page(
        @path in string page
    );

    @post(path = "/wiki/settings/{page}")
    any post_wiki_settings_page(
        @path in string page,
        @body in any body
    );

};