@devvit/protos 0.11.4-next-2024-12-07-be2205f63.0 → 0.11.4

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.
Files changed (244) hide show
  1. package/package.json +4 -4
  2. package/schema/devvit/dev_portal/app/app.proto +0 -3
  3. package/schema/devvit/dev_portal/app/info/app_info.proto +1 -13
  4. package/schema/devvit/ui/block_kit/v1beta/ui.proto +1 -1
  5. package/schema/devvit/ui/effects/web_view/v1alpha/fullscreen.proto +1 -7
  6. package/schema/snootobuf.devenv.lock +292 -459
  7. package/schema/snootobuf.lock +292 -459
  8. package/schema/snootobuf.redditapi.lock +292 -459
  9. package/schema/snootobuf.ts.lock +293 -459
  10. package/types/devvit/dev_portal/app/app.d.ts +0 -2
  11. package/types/devvit/dev_portal/app/app.d.ts.map +1 -1
  12. package/types/devvit/dev_portal/app/app.js +0 -17
  13. package/types/devvit/dev_portal/app/info/app_info.d.ts +0 -13
  14. package/types/devvit/dev_portal/app/info/app_info.d.ts.map +1 -1
  15. package/types/devvit/dev_portal/app/info/app_info.js +0 -17
  16. package/types/devvit/dev_portal/dev_portal.d.ts +0 -42
  17. package/types/devvit/dev_portal/dev_portal.d.ts.map +1 -1
  18. package/types/devvit/reddit/custom_post/v1alpha/custom_post.d.ts +0 -4
  19. package/types/devvit/reddit/custom_post/v1alpha/custom_post.d.ts.map +1 -1
  20. package/types/devvit/ui/effects/web_view/v1alpha/fullscreen.d.ts +1 -8
  21. package/types/devvit/ui/effects/web_view/v1alpha/fullscreen.d.ts.map +1 -1
  22. package/types/devvit/ui/effects/web_view/v1alpha/fullscreen.js +1 -15
  23. package/meta.min.json +0 -7814
  24. package/protos.min.js +0 -2
  25. package/protos.min.js.map +0 -7
  26. package/schema/.snootobuf/deps/buf/validate/expression.proto +0 -92
  27. package/schema/.snootobuf/deps/buf/validate/priv/private.proto +0 -41
  28. package/schema/.snootobuf/deps/buf/validate/validate.proto +0 -4130
  29. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/audit.proto +0 -72
  30. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/auth.proto +0 -49
  31. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/organization.proto +0 -54
  32. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/service.proto +0 -46
  33. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/subscription.proto +0 -72
  34. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/ui.proto +0 -20
  35. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/user.proto +0 -45
  36. package/schema/.snootobuf/deps/devvit/data/api/v1alpha/admin.proto +0 -54
  37. package/schema/.snootobuf/deps/devvit/data/api/v1alpha/delivery.proto +0 -773
  38. package/schema/.snootobuf/deps/devvit/data/api/v1alpha/filter.proto +0 -66
  39. package/schema/.snootobuf/deps/devvit/data/api/v1alpha/firehose.proto +0 -100
  40. package/schema/.snootobuf/deps/devvit/data/api/v1alpha/intake.proto +0 -19
  41. package/schema/.snootobuf/deps/devvit/events/v1alpha/events.proto +0 -446
  42. package/schema/.snootobuf/deps/devvit/gateway/v1alpha/payments.proto +0 -24
  43. package/schema/.snootobuf/deps/devvit/options/options.proto +0 -98
  44. package/schema/.snootobuf/deps/devvit/reddit/v2alpha/commentv2.proto +0 -29
  45. package/schema/.snootobuf/deps/devvit/reddit/v2alpha/flair.proto +0 -25
  46. package/schema/.snootobuf/deps/devvit/reddit/v2alpha/modaction.proto +0 -53
  47. package/schema/.snootobuf/deps/devvit/reddit/v2alpha/modmail.proto +0 -56
  48. package/schema/.snootobuf/deps/devvit/reddit/v2alpha/postv2.proto +0 -107
  49. package/schema/.snootobuf/deps/devvit/reddit/v2alpha/subredditv2.proto +0 -41
  50. package/schema/.snootobuf/deps/devvit/reddit/v2alpha/userv2.proto +0 -23
  51. package/schema/.snootobuf/deps/devvit/triggers/v1alpha/triggers.proto +0 -162
  52. package/schema/.snootobuf/deps/enum/account_gender_category.proto +0 -14
  53. package/schema/.snootobuf/deps/enum/approval_status.proto +0 -15
  54. package/schema/.snootobuf/deps/enum/automated_reporting_level.proto +0 -12
  55. package/schema/.snootobuf/deps/enum/ban_evasion_threshold.proto +0 -13
  56. package/schema/.snootobuf/deps/enum/ban_info_action.proto +0 -12
  57. package/schema/.snootobuf/deps/enum/block_relation_type.proto +0 -11
  58. package/schema/.snootobuf/deps/enum/comment_sort.proto +0 -18
  59. package/schema/.snootobuf/deps/enum/comment_type.proto +0 -11
  60. package/schema/.snootobuf/deps/enum/crowd_control_level.proto +0 -12
  61. package/schema/.snootobuf/deps/enum/discussion_type.proto +0 -10
  62. package/schema/.snootobuf/deps/enum/distinguish_type.proto +0 -14
  63. package/schema/.snootobuf/deps/enum/flair_position.proto +0 -11
  64. package/schema/.snootobuf/deps/enum/hateful_content_threshold.proto +0 -12
  65. package/schema/.snootobuf/deps/enum/link_content_type.proto +0 -11
  66. package/schema/.snootobuf/deps/enum/link_type.proto +0 -11
  67. package/schema/.snootobuf/deps/enum/link_visibility.proto +0 -11
  68. package/schema/.snootobuf/deps/enum/prediction_leaderboard_entry_type.proto +0 -11
  69. package/schema/.snootobuf/deps/enum/promo_layout.proto +0 -11
  70. package/schema/.snootobuf/deps/enum/removed_by_type.proto +0 -18
  71. package/schema/.snootobuf/deps/enum/spam_level.proto +0 -11
  72. package/schema/.snootobuf/deps/enum/subreddit_type.proto +0 -16
  73. package/schema/.snootobuf/deps/enum/verdict.proto +0 -14
  74. package/schema/.snootobuf/deps/enum/vote.proto +0 -12
  75. package/schema/.snootobuf/deps/enum/whitelist_status.proto +0 -17
  76. package/schema/.snootobuf/deps/enum/wiki_edit_mode.proto +0 -12
  77. package/schema/.snootobuf/deps/evaluator/evaluator.proto +0 -203
  78. package/schema/.snootobuf/deps/google/api/annotations.proto +0 -31
  79. package/schema/.snootobuf/deps/google/api/apikeys/v2/apikeys.proto +0 -288
  80. package/schema/.snootobuf/deps/google/api/apikeys/v2/resources.proto +0 -175
  81. package/schema/.snootobuf/deps/google/api/auth.proto +0 -237
  82. package/schema/.snootobuf/deps/google/api/backend.proto +0 -185
  83. package/schema/.snootobuf/deps/google/api/billing.proto +0 -77
  84. package/schema/.snootobuf/deps/google/api/client.proto +0 -431
  85. package/schema/.snootobuf/deps/google/api/cloudquotas/v1/cloudquotas.proto +0 -322
  86. package/schema/.snootobuf/deps/google/api/cloudquotas/v1/resources.proto +0 -315
  87. package/schema/.snootobuf/deps/google/api/config_change.proto +0 -84
  88. package/schema/.snootobuf/deps/google/api/consumer.proto +0 -82
  89. package/schema/.snootobuf/deps/google/api/context.proto +0 -92
  90. package/schema/.snootobuf/deps/google/api/control.proto +0 -41
  91. package/schema/.snootobuf/deps/google/api/distribution.proto +0 -213
  92. package/schema/.snootobuf/deps/google/api/documentation.proto +0 -168
  93. package/schema/.snootobuf/deps/google/api/endpoint.proto +0 -69
  94. package/schema/.snootobuf/deps/google/api/error_reason.proto +0 -589
  95. package/schema/.snootobuf/deps/google/api/expr/conformance/v1alpha1/conformance_service.proto +0 -183
  96. package/schema/.snootobuf/deps/google/api/expr/v1alpha1/checked.proto +0 -343
  97. package/schema/.snootobuf/deps/google/api/expr/v1alpha1/eval.proto +0 -118
  98. package/schema/.snootobuf/deps/google/api/expr/v1alpha1/explain.proto +0 -53
  99. package/schema/.snootobuf/deps/google/api/expr/v1alpha1/syntax.proto +0 -438
  100. package/schema/.snootobuf/deps/google/api/expr/v1alpha1/value.proto +0 -115
  101. package/schema/.snootobuf/deps/google/api/expr/v1beta1/decl.proto +0 -84
  102. package/schema/.snootobuf/deps/google/api/expr/v1beta1/eval.proto +0 -125
  103. package/schema/.snootobuf/deps/google/api/expr/v1beta1/expr.proto +0 -265
  104. package/schema/.snootobuf/deps/google/api/expr/v1beta1/source.proto +0 -62
  105. package/schema/.snootobuf/deps/google/api/expr/v1beta1/value.proto +0 -114
  106. package/schema/.snootobuf/deps/google/api/field_behavior.proto +0 -104
  107. package/schema/.snootobuf/deps/google/api/field_info.proto +0 -106
  108. package/schema/.snootobuf/deps/google/api/http.proto +0 -371
  109. package/schema/.snootobuf/deps/google/api/httpbody.proto +0 -81
  110. package/schema/.snootobuf/deps/google/api/label.proto +0 -48
  111. package/schema/.snootobuf/deps/google/api/launch_stage.proto +0 -72
  112. package/schema/.snootobuf/deps/google/api/log.proto +0 -54
  113. package/schema/.snootobuf/deps/google/api/logging.proto +0 -81
  114. package/schema/.snootobuf/deps/google/api/metric.proto +0 -268
  115. package/schema/.snootobuf/deps/google/api/monitored_resource.proto +0 -130
  116. package/schema/.snootobuf/deps/google/api/monitoring.proto +0 -107
  117. package/schema/.snootobuf/deps/google/api/policy.proto +0 -85
  118. package/schema/.snootobuf/deps/google/api/quota.proto +0 -184
  119. package/schema/.snootobuf/deps/google/api/resource.proto +0 -243
  120. package/schema/.snootobuf/deps/google/api/routing.proto +0 -461
  121. package/schema/.snootobuf/deps/google/api/service.proto +0 -191
  122. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/check_error.proto +0 -124
  123. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/distribution.proto +0 -166
  124. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/http_request.proto +0 -93
  125. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/log_entry.proto +0 -126
  126. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/metric_value.proto +0 -81
  127. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/operation.proto +0 -123
  128. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/quota_controller.proto +0 -245
  129. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/service_controller.proto +0 -260
  130. package/schema/.snootobuf/deps/google/api/servicecontrol/v2/service_controller.proto +0 -196
  131. package/schema/.snootobuf/deps/google/api/servicemanagement/v1/resources.proto +0 -295
  132. package/schema/.snootobuf/deps/google/api/servicemanagement/v1/servicemanager.proto +0 -508
  133. package/schema/.snootobuf/deps/google/api/serviceusage/v1/resources.proto +0 -130
  134. package/schema/.snootobuf/deps/google/api/serviceusage/v1/serviceusage.proto +0 -305
  135. package/schema/.snootobuf/deps/google/api/serviceusage/v1beta1/resources.proto +0 -458
  136. package/schema/.snootobuf/deps/google/api/serviceusage/v1beta1/serviceusage.proto +0 -793
  137. package/schema/.snootobuf/deps/google/api/source_info.proto +0 -31
  138. package/schema/.snootobuf/deps/google/api/system_parameter.proto +0 -96
  139. package/schema/.snootobuf/deps/google/api/usage.proto +0 -96
  140. package/schema/.snootobuf/deps/google/api/visibility.proto +0 -113
  141. package/schema/.snootobuf/deps/google/cloud/extended_operations.proto +0 -150
  142. package/schema/.snootobuf/deps/google/iam/admin/v1/iam.proto +0 -1087
  143. package/schema/.snootobuf/deps/google/iam/v1/iam_policy.proto +0 -145
  144. package/schema/.snootobuf/deps/google/iam/v1/logging/audit_data.proto +0 -34
  145. package/schema/.snootobuf/deps/google/iam/v1/options.proto +0 -41
  146. package/schema/.snootobuf/deps/google/iam/v1/policy.proto +0 -240
  147. package/schema/.snootobuf/deps/google/logging/type/http_request.proto +0 -92
  148. package/schema/.snootobuf/deps/google/logging/type/log_severity.proto +0 -72
  149. package/schema/.snootobuf/deps/google/longrunning/operations.proto +0 -247
  150. package/schema/.snootobuf/deps/google/protobuf/any.proto +0 -158
  151. package/schema/.snootobuf/deps/google/protobuf/api.proto +0 -208
  152. package/schema/.snootobuf/deps/google/protobuf/compiler/plugin.proto +0 -183
  153. package/schema/.snootobuf/deps/google/protobuf/descriptor.proto +0 -921
  154. package/schema/.snootobuf/deps/google/protobuf/duration.proto +0 -116
  155. package/schema/.snootobuf/deps/google/protobuf/empty.proto +0 -51
  156. package/schema/.snootobuf/deps/google/protobuf/field_mask.proto +0 -245
  157. package/schema/.snootobuf/deps/google/protobuf/source_context.proto +0 -48
  158. package/schema/.snootobuf/deps/google/protobuf/struct.proto +0 -95
  159. package/schema/.snootobuf/deps/google/protobuf/timestamp.proto +0 -147
  160. package/schema/.snootobuf/deps/google/protobuf/type.proto +0 -187
  161. package/schema/.snootobuf/deps/google/protobuf/wrappers.proto +0 -123
  162. package/schema/.snootobuf/deps/google/rpc/code.proto +0 -186
  163. package/schema/.snootobuf/deps/google/rpc/context/attribute_context.proto +0 -287
  164. package/schema/.snootobuf/deps/google/rpc/error_details.proto +0 -246
  165. package/schema/.snootobuf/deps/google/rpc/status.proto +0 -47
  166. package/schema/.snootobuf/deps/google/type/calendar_period.proto +0 -57
  167. package/schema/.snootobuf/deps/google/type/color.proto +0 -170
  168. package/schema/.snootobuf/deps/google/type/date.proto +0 -50
  169. package/schema/.snootobuf/deps/google/type/datetime.proto +0 -97
  170. package/schema/.snootobuf/deps/google/type/dayofweek.proto +0 -51
  171. package/schema/.snootobuf/deps/google/type/expr.proto +0 -51
  172. package/schema/.snootobuf/deps/google/type/fraction.proto +0 -34
  173. package/schema/.snootobuf/deps/google/type/latlng.proto +0 -37
  174. package/schema/.snootobuf/deps/google/type/money.proto +0 -43
  175. package/schema/.snootobuf/deps/google/type/month.proto +0 -66
  176. package/schema/.snootobuf/deps/google/type/postal_address.proto +0 -135
  177. package/schema/.snootobuf/deps/google/type/quaternion.proto +0 -95
  178. package/schema/.snootobuf/deps/google/type/timeofday.proto +0 -44
  179. package/schema/.snootobuf/deps/openapi/helper.proto +0 -20
  180. package/schema/.snootobuf/deps/products-api/protos/reddit/xpaymentsplatform/payproducts/v1/currencies.proto +0 -189
  181. package/schema/.snootobuf/deps/products-api/protos/reddit/xpaymentsplatform/payproducts/v1/payproducts.proto +0 -118
  182. package/schema/.snootobuf/deps/reddit/api/metadata/v1/metadata.proto +0 -55
  183. package/schema/.snootobuf/deps/reddit/coreplatform/account/v1/account.proto +0 -579
  184. package/schema/.snootobuf/deps/reddit/coreplatform/account/v1/account_relations.proto +0 -43
  185. package/schema/.snootobuf/deps/reddit/coreplatform/api/metadata/v1/metadata.proto +0 -82
  186. package/schema/.snootobuf/deps/reddit/coreplatform/blocking/v1/user_blocking_service.proto +0 -221
  187. package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comment_tree.proto +0 -78
  188. package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comment_tree_service.proto +0 -189
  189. package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comment_tree_structure.proto +0 -29
  190. package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comments.proto +0 -417
  191. package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comments_service.proto +0 -72
  192. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/auth.proto +0 -25
  193. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/features.proto +0 -52
  194. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/lang.proto +0 -16
  195. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/legal.proto +0 -20
  196. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/media.proto +0 -149
  197. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/moderation.proto +0 -197
  198. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/safety.proto +0 -116
  199. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/time.proto +0 -25
  200. package/schema/.snootobuf/deps/reddit/coreplatform/domains/v1/domains_metadata_service.proto +0 -101
  201. package/schema/.snootobuf/deps/reddit/coreplatform/grpc_thrift/v1/grpc_thrift_options.proto +0 -34
  202. package/schema/.snootobuf/deps/reddit/coreplatform/links/v1/links.proto +0 -798
  203. package/schema/.snootobuf/deps/reddit/coreplatform/links/v1/links_service.proto +0 -186
  204. package/schema/.snootobuf/deps/reddit/coreplatform/messages/v1/messages.proto +0 -110
  205. package/schema/.snootobuf/deps/reddit/coreplatform/sensitive/v1/wrappers.proto +0 -51
  206. package/schema/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit.proto +0 -1202
  207. package/schema/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit_member_relations.proto +0 -85
  208. package/schema/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit_moderator_service.proto +0 -363
  209. package/schema/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit_service.proto +0 -301
  210. package/schema/.snootobuf/deps/reddit/coreplatform/thing/v0/thing.proto +0 -2869
  211. package/schema/.snootobuf/deps/reddit/devvit/custom_post/v1/custom_post.proto +0 -15
  212. package/schema/.snootobuf/deps/reddit/devvit/custom_post/v1/service.proto +0 -11
  213. package/schema/.snootobuf/deps/reddit/devvit/subreddit/v1/context_action.proto +0 -48
  214. package/schema/.snootobuf/deps/reddit/devvit/subreddit/v1/manifest.proto +0 -70
  215. package/schema/.snootobuf/deps/reddit/devvit/subreddit/v1/service.proto +0 -11
  216. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/acknowledge_order_delivery.proto +0 -17
  217. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/checkout.proto +0 -89
  218. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/common.proto +0 -322
  219. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/delete_products.proto +0 -17
  220. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/events.proto +0 -14
  221. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_batch_products.proto +0 -15
  222. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_gold_balances.proto +0 -48
  223. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_order.proto +0 -31
  224. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_orders.proto +0 -26
  225. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_orders_by_user.proto +0 -15
  226. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_payout_info_batch.proto +0 -52
  227. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_products.proto +0 -23
  228. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_user_profiles.proto +0 -28
  229. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/refund_order.proto +0 -17
  230. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/service.proto +0 -49
  231. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/service_data_compliance.proto +0 -20
  232. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/upsert_products.proto +0 -17
  233. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paygatewaypsps/v1/paygatewaypsps.proto +0 -158
  234. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payorders/v1/payments_data_compliance.proto +0 -18
  235. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payorders/v1/payorders.proto +0 -195
  236. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/admin.proto +0 -44
  237. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/ledger.proto +0 -200
  238. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/payments_data_compliance.proto +0 -18
  239. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/paypayments.proto +0 -210
  240. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payproducts/v1/currencies.proto +0 -189
  241. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payproducts/v1/payproducts.proto +0 -135
  242. package/schema/.snootobuf/deps/snooron_sources/text_classification/text_classification.proto +0 -29
  243. package/schema/.snootobuf/deps/snooron_sources/v2_event/v2_event.proto +0 -3292
  244. package/schema/.snootobuf/deps/validate/validate.proto +0 -862
@@ -1,2869 +0,0 @@
1
- syntax = "proto3";
2
-
3
- // buf:lint:ignore PACKAGE_VERSION_SUFFIX
4
- package reddit.coreplatform.thing.v0;
5
-
6
- import "google/protobuf/empty.proto";
7
- import "reddit/coreplatform/grpc_thrift/v1/grpc_thrift_options.proto";
8
-
9
- option go_package = "github.snooguts.net/reddit/thing-api/go/grpc/thing/v0";
10
-
11
- service ThingGrpcThriftService {
12
- rpc AddCommentVisit(google.protobuf.Empty) returns (google.protobuf.Empty) {
13
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
14
- request: {
15
- py: "core_platform_thing.ThingService;add_comment_visit_args"
16
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceAddCommentVisitArgs"
17
- }
18
- response: {
19
- py: "core_platform_thing.ttypes;AddCommentVisitResponse"
20
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;AddCommentVisitResponse"
21
- }
22
- };
23
- }
24
-
25
- rpc CreateComment(google.protobuf.Empty) returns (google.protobuf.Empty) {
26
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
27
- request: {
28
- py: "core_platform_thing.ThingService;create_comment_args"
29
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceCreateCommentArgs"
30
- }
31
- response: {
32
- py: "core_platform_thing.ttypes;CreateCommentResponse"
33
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;CreateCommentResponse"
34
- }
35
- };
36
- }
37
-
38
- rpc CreateIdentity(google.protobuf.Empty) returns (google.protobuf.Empty) {
39
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
40
- request: {
41
- py: "core_platform_thing.ThingService;create_identity_args"
42
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceCreateIdentityArgs"
43
- }
44
- response: {
45
- py: "core_platform_thing.ttypes;CreateIdentityResponse"
46
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;CreateIdentityResponse"
47
- }
48
- };
49
- }
50
-
51
- rpc CreateLink(google.protobuf.Empty) returns (google.protobuf.Empty) {
52
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
53
- request: {
54
- py: "core_platform_thing.ThingService;create_link_args"
55
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceCreateLinkArgs"
56
- }
57
- response: {
58
- py: "core_platform_thing.ttypes;CreateLinkResponse"
59
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;CreateLinkResponse"
60
- }
61
- };
62
- }
63
-
64
- rpc CreateMessage(google.protobuf.Empty) returns (google.protobuf.Empty) {
65
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
66
- request: {
67
- py: "core_platform_thing.ThingService;create_message_args"
68
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceCreateMessageArgs"
69
- }
70
- response: {
71
- py: "core_platform_thing.ttypes;CreateMessageResponse"
72
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;CreateMessageResponse"
73
- }
74
- };
75
- }
76
-
77
- rpc CreateSocialLinks(google.protobuf.Empty) returns (google.protobuf.Empty) {
78
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
79
- request: {
80
- py: "core_platform_thing.ThingService;create_social_links_args"
81
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceCreateSocialLinksArgs"
82
- }
83
- response: {
84
- py: "core_platform_thing.ttypes;CreateProfileSocialLinksResponse"
85
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;CreateProfileSocialLinksResponse"
86
- }
87
- };
88
- }
89
-
90
- rpc CreateSubreddit(google.protobuf.Empty) returns (google.protobuf.Empty) {
91
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
92
- request: {
93
- py: "core_platform_thing.ThingService;create_subreddit_args"
94
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceCreateSubredditArgs"
95
- }
96
- response: {
97
- py: "core_platform_thing.ttypes;CreateSubredditResponse"
98
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;CreateSubredditResponse"
99
- }
100
- };
101
- }
102
-
103
- //This function is used on account deletion, to delete all PII data attached to an account
104
- rpc DeletePiiData(google.protobuf.Empty) returns (google.protobuf.Empty) {
105
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
106
- request: {
107
- py: "core_platform_thing.ThingService;delete_pii_data_args"
108
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceDeletePiiDataArgs"
109
- }
110
- response: {
111
- py: "core_platform_thing.ttypes;DeletePiiDataByAccountIdResponse"
112
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;DeletePiiDataByAccountIdResponse"
113
- }
114
- };
115
- }
116
-
117
- rpc DeleteSocialLinks(google.protobuf.Empty) returns (google.protobuf.Empty) {
118
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
119
- request: {
120
- py: "core_platform_thing.ThingService;delete_social_links_args"
121
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceDeleteSocialLinksArgs"
122
- }
123
- response: {
124
- py: "core_platform_thing.ttypes;DeleteProfileSocialLinksResponse"
125
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;DeleteProfileSocialLinksResponse"
126
- }
127
- };
128
- }
129
-
130
- //Takes account id, returns map of account's 'Seen*' flags values keyed by flag name.
131
- rpc GetAccountHasSeenFlags(google.protobuf.Empty) returns (google.protobuf.Empty) {
132
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
133
- request: {
134
- py: "core_platform_thing.ThingService;get_account_has_seen_flags_args"
135
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetAccountHasSeenFlagsArgs"
136
- }
137
- response: {
138
- py: "core_platform_thing.ttypes;GetAccountHasSeenResponse"
139
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetAccountHasSeenResponse"
140
- }
141
- };
142
- }
143
-
144
- rpc GetAccountIds(google.protobuf.Empty) returns (google.protobuf.Empty) {
145
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
146
- request: {
147
- py: "core_platform_thing.ThingService;get_account_ids_args"
148
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetAccountIdsArgs"
149
- }
150
- response: {
151
- py: "core_platform_thing.ttypes;GetAccountIdsResponse"
152
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetAccountIdsResponse"
153
- }
154
- };
155
- }
156
-
157
- rpc GetAccountIdsBannedStatus(google.protobuf.Empty) returns (google.protobuf.Empty) {
158
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
159
- request: {
160
- py: "core_platform_thing.ThingService;get_account_ids_banned_status_args"
161
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetAccountIdsBannedStatusArgs"
162
- }
163
- response: {
164
- py: "core_platform_thing.ttypes;GetAccountIdsBannedStatusResponse"
165
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetAccountIdsBannedStatusResponse"
166
- }
167
- };
168
- }
169
-
170
- rpc GetAccountIdsByEmail(google.protobuf.Empty) returns (google.protobuf.Empty) {
171
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
172
- request: {
173
- py: "core_platform_thing.ThingService;get_account_ids_by_email_args"
174
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetAccountIdsByEmailArgs"
175
- }
176
- response: {
177
- py: "core_platform_thing.ttypes;GetAccountIdsByEmailResponse"
178
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetAccountIdsByEmailResponse"
179
- }
180
- };
181
- }
182
-
183
- rpc GetAccountIdsDepr(google.protobuf.Empty) returns (google.protobuf.Empty) {
184
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
185
- request: {
186
- py: "core_platform_thing.ThingService;get_account_ids_depr_args"
187
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetAccountIdsDeprArgs"
188
- }
189
- response: {
190
- py: "core_platform_thing.ttypes;GetAccountIdsResponse"
191
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetAccountIdsResponse"
192
- }
193
- };
194
- }
195
-
196
- //Takes list of account ids & a subbreddit id, returns map of accountflair objects by account id.
197
- rpc GetAccountflairs(google.protobuf.Empty) returns (google.protobuf.Empty) {
198
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
199
- request: {
200
- py: "core_platform_thing.ThingService;get_accountflairs_args"
201
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetAccountflairsArgs"
202
- }
203
- response: {
204
- py: "core_platform_thing.ttypes;GetAccountFlairsResponse"
205
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetAccountFlairsResponse"
206
- }
207
- };
208
- }
209
-
210
- rpc GetAccountflairsBatch(google.protobuf.Empty) returns (google.protobuf.Empty) {
211
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
212
- request: {
213
- py: "core_platform_thing.ThingService;get_accountflairs_batch_args"
214
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetAccountflairsBatchArgs"
215
- }
216
- response: {
217
- py: "core_platform_thing.ttypes;GetAccountFlairsBatchResponse"
218
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetAccountFlairsBatchResponse"
219
- }
220
- };
221
- }
222
-
223
- rpc GetAccounts(google.protobuf.Empty) returns (google.protobuf.Empty) {
224
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
225
- request: {
226
- py: "core_platform_thing.ThingService;get_accounts_args"
227
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetAccountsArgs"
228
- }
229
- response: {
230
- py: "core_platform_thing.ttypes;GetAccountsResponse"
231
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetAccountsResponse"
232
- }
233
- };
234
- }
235
-
236
- rpc GetAccountsDepr(google.protobuf.Empty) returns (google.protobuf.Empty) {
237
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
238
- request: {
239
- py: "core_platform_thing.ThingService;get_accounts_depr_args"
240
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetAccountsDeprArgs"
241
- }
242
- response: {
243
- py: "core_platform_thing.ttypes;GetAccountsResponse"
244
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetAccountsResponse"
245
- }
246
- };
247
- }
248
-
249
- //Return subreddits that have been posted to recently that the user is subscribed to.
250
- rpc GetActiveSubscriptions(google.protobuf.Empty) returns (google.protobuf.Empty) {
251
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
252
- request: {
253
- py: "core_platform_thing.ThingService;get_active_subscriptions_args"
254
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetActiveSubscriptionsArgs"
255
- }
256
- response: {
257
- py: "core_platform_thing.ttypes;GetActiveSubscriptionsResponse"
258
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetActiveSubscriptionsResponse"
259
- }
260
- };
261
- }
262
-
263
- //Takes an account id and returns a list of account ids for the accounts that are permitted to chat/interact with them.
264
- rpc GetAllowlistedAccountIds(google.protobuf.Empty) returns (google.protobuf.Empty) {
265
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
266
- request: {
267
- py: "core_platform_thing.ThingService;get_allowlisted_account_ids_args"
268
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetAllowlistedAccountIdsArgs"
269
- }
270
- response: {
271
- py: "core_platform_thing.ttypes;GetAllowlistedAccountIdsResponse"
272
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetAllowlistedAccountIdsResponse"
273
- }
274
- };
275
- }
276
-
277
- rpc GetBannedStatus(google.protobuf.Empty) returns (google.protobuf.Empty) {
278
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
279
- request: {
280
- py: "core_platform_thing.ThingService;get_banned_status_args"
281
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetBannedStatusArgs"
282
- }
283
- response: {
284
- py: "core_platform_thing.ttypes;GetBannedStatusResponse"
285
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetBannedStatusResponse"
286
- }
287
- };
288
- }
289
-
290
- //Takes an account id and returns a list of account ids for the accounts that are blocked by the given account
291
- rpc GetBlockedAccountIds(google.protobuf.Empty) returns (google.protobuf.Empty) {
292
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
293
- request: {
294
- py: "core_platform_thing.ThingService;get_blocked_account_ids_args"
295
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetBlockedAccountIdsArgs"
296
- }
297
- response: {
298
- py: "core_platform_thing.ttypes;GetBlockedAccountIdsResponse"
299
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetBlockedAccountIdsResponse"
300
- }
301
- };
302
- }
303
-
304
- //Takes an account id and returns a list of account ids for the accounts that are blocked by the given account
305
- rpc GetBlockedAccountIdsDepr(google.protobuf.Empty) returns (google.protobuf.Empty) {
306
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
307
- request: {
308
- py: "core_platform_thing.ThingService;get_blocked_account_ids_depr_args"
309
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetBlockedAccountIdsDeprArgs"
310
- }
311
- response: {
312
- py: "core_platform_thing.ttypes;GetBlockedAccountIdsResponse"
313
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetBlockedAccountIdsResponse"
314
- }
315
- };
316
- }
317
-
318
- //This method is deprecated, no index support. Consider using get_blocker_account_ids
319
- rpc GetBlockedByAccountIds(google.protobuf.Empty) returns (google.protobuf.Empty) {
320
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
321
- request: {
322
- py: "core_platform_thing.ThingService;get_blocked_by_account_ids_args"
323
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetBlockedByAccountIdsArgs"
324
- }
325
- response: {
326
- py: "core_platform_thing.ttypes;GetBlockedByAccountIdsResponse"
327
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetBlockedByAccountIdsResponse"
328
- }
329
- };
330
- }
331
-
332
- //Takes a list of account ids and returns a map of account id to list of account ids that the account blocks
333
- rpc GetBlockedIdsForAccountIds(google.protobuf.Empty) returns (google.protobuf.Empty) {
334
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
335
- request: {
336
- py: "core_platform_thing.ThingService;get_blocked_ids_for_account_ids_args"
337
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetBlockedIdsForAccountIdsArgs"
338
- }
339
- response: {
340
- py: "core_platform_thing.ttypes;GetBlockedIdsForAccountIdsResponse"
341
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetBlockedIdsForAccountIdsResponse"
342
- }
343
- };
344
- }
345
-
346
- rpc GetBlockerAccountIds(google.protobuf.Empty) returns (google.protobuf.Empty) {
347
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
348
- request: {
349
- py: "core_platform_thing.ThingService;get_blocker_account_ids_args"
350
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetBlockerAccountIdsArgs"
351
- }
352
- response: {
353
- py: "core_platform_thing.ttypes;GetBlockerAccountIdsResponse"
354
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetBlockerAccountIdsResponse"
355
- }
356
- };
357
- }
358
-
359
- rpc GetCommentIdsByAuthorAndParentAuthor(google.protobuf.Empty) returns (google.protobuf.Empty) {
360
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
361
- request: {
362
- py: "core_platform_thing.ThingService;get_comment_ids_by_author_and_parent_author_args"
363
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetCommentIdsByAuthorAndParentAuthorArgs"
364
- }
365
- response: {
366
- py: "core_platform_thing.ttypes;GetCommentIdsByAuthorAndParentAuthorResponse"
367
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetCommentIdsByAuthorAndParentAuthorResponse"
368
- }
369
- };
370
- }
371
-
372
- //Intended for use by Comment Service only. Endpoint will be very slow and is not fit for user requests. Takes a link id, returns map of a list of comment_ids by link_id.
373
- rpc GetCommentIdsForLink(google.protobuf.Empty) returns (google.protobuf.Empty) {
374
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
375
- request: {
376
- py: "core_platform_thing.ThingService;get_comment_ids_for_link_args"
377
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetCommentIdsForLinkArgs"
378
- }
379
- response: {
380
- py: "core_platform_thing.ttypes;GetCommentIdsForLinksResponse"
381
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetCommentIdsForLinksResponse"
382
- }
383
- };
384
- }
385
-
386
- rpc GetCommentModInfo(google.protobuf.Empty) returns (google.protobuf.Empty) {
387
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
388
- request: {
389
- py: "core_platform_thing.ThingService;get_comment_mod_info_args"
390
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetCommentModInfoArgs"
391
- }
392
- response: {
393
- py: "core_platform_thing.ttypes;GetCommentModerationInfoResponse"
394
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetCommentModerationInfoResponse"
395
- }
396
- };
397
- }
398
-
399
- rpc GetCommentReports(google.protobuf.Empty) returns (google.protobuf.Empty) {
400
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
401
- request: {
402
- py: "core_platform_thing.ThingService;get_comment_reports_args"
403
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetCommentReportsArgs"
404
- }
405
- response: {
406
- py: "core_platform_thing.ttypes;GetCommentReportsResponse"
407
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetCommentReportsResponse"
408
- }
409
- };
410
- }
411
-
412
- rpc GetCommentSaves(google.protobuf.Empty) returns (google.protobuf.Empty) {
413
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
414
- request: {
415
- py: "core_platform_thing.ThingService;get_comment_saves_args"
416
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetCommentSavesArgs"
417
- }
418
- response: {
419
- py: "core_platform_thing.ttypes;GetCommentSavesResponse"
420
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetCommentSavesResponse"
421
- }
422
- };
423
- }
424
-
425
- rpc GetCommentVisits(google.protobuf.Empty) returns (google.protobuf.Empty) {
426
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
427
- request: {
428
- py: "core_platform_thing.ThingService;get_comment_visits_args"
429
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetCommentVisitsArgs"
430
- }
431
- response: {
432
- py: "core_platform_thing.ttypes;GetCommentVisitsResponse"
433
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetCommentVisitsResponse"
434
- }
435
- };
436
- }
437
-
438
- rpc GetCommentVotes(google.protobuf.Empty) returns (google.protobuf.Empty) {
439
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
440
- request: {
441
- py: "core_platform_thing.ThingService;get_comment_votes_args"
442
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetCommentVotesArgs"
443
- }
444
- response: {
445
- py: "core_platform_thing.ttypes;GetCommentVotesResponse"
446
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetCommentVotesResponse"
447
- }
448
- };
449
- }
450
-
451
- rpc GetComments(google.protobuf.Empty) returns (google.protobuf.Empty) {
452
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
453
- request: {
454
- py: "core_platform_thing.ThingService;get_comments_args"
455
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetCommentsArgs"
456
- }
457
- response: {
458
- py: "core_platform_thing.ttypes;GetCommentsResponse"
459
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetCommentsResponse"
460
- }
461
- };
462
- }
463
-
464
- rpc GetCommentsDepr(google.protobuf.Empty) returns (google.protobuf.Empty) {
465
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
466
- request: {
467
- py: "core_platform_thing.ThingService;get_comments_depr_args"
468
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetCommentsDeprArgs"
469
- }
470
- response: {
471
- py: "core_platform_thing.ttypes;GetCommentsResponse"
472
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetCommentsResponse"
473
- }
474
- };
475
- }
476
-
477
- rpc GetContributorStatus(google.protobuf.Empty) returns (google.protobuf.Empty) {
478
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
479
- request: {
480
- py: "core_platform_thing.ThingService;get_contributor_status_args"
481
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetContributorStatusArgs"
482
- }
483
- response: {
484
- py: "core_platform_thing.ttypes;GetContributorStatusResponse"
485
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetContributorStatusResponse"
486
- }
487
- };
488
- }
489
-
490
- rpc GetContributorStatusByAccountId(google.protobuf.Empty) returns (google.protobuf.Empty) {
491
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
492
- request: {
493
- py: "core_platform_thing.ThingService;get_contributor_status_by_account_id_args"
494
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetContributorStatusByAccountIDArgs"
495
- }
496
- response: {
497
- py: "core_platform_thing.ttypes;GetContributorStatusResponse"
498
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetContributorStatusResponse"
499
- }
500
- };
501
- }
502
-
503
- rpc GetCreatedSubredditIds(google.protobuf.Empty) returns (google.protobuf.Empty) {
504
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
505
- request: {
506
- py: "core_platform_thing.ThingService;get_created_subreddit_ids_args"
507
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetCreatedSubredditIdsArgs"
508
- }
509
- response: {
510
- py: "core_platform_thing.ttypes;GetCreatedSubredditIdsResponse"
511
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetCreatedSubredditIdsResponse"
512
- }
513
- };
514
- }
515
-
516
- rpc GetFavoriteSubreddits(google.protobuf.Empty) returns (google.protobuf.Empty) {
517
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
518
- request: {
519
- py: "core_platform_thing.ThingService;get_favorite_subreddits_args"
520
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetFavoriteSubredditsArgs"
521
- }
522
- response: {
523
- py: "core_platform_thing.ttypes;GetFavoriteSubredditsResponse"
524
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetFavoriteSubredditsResponse"
525
- }
526
- };
527
- }
528
-
529
- //Return multi names (e.g. "/user/reddit/m/test") favorited by the account
530
- rpc GetFavoritedMultireddits(google.protobuf.Empty) returns (google.protobuf.Empty) {
531
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
532
- response: {
533
- py: "core_platform_thing.ttypes;GetFavoritedMultisResponse"
534
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetFavoritedMultisResponse"
535
- }
536
- };
537
- }
538
-
539
- rpc GetFeaturedAnnouncements(google.protobuf.Empty) returns (google.protobuf.Empty) {
540
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
541
- response: {
542
- py: "core_platform_thing.ttypes;GetFeaturedAnnouncementsResponse"
543
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetFeaturedAnnouncementsResponse"
544
- }
545
- };
546
- }
547
-
548
- rpc GetFeaturedLiveEvents(google.protobuf.Empty) returns (google.protobuf.Empty) {
549
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
550
- response: {
551
- py: "core_platform_thing.ttypes;GetFeaturedLiveEventsResponse"
552
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetFeaturedLiveEventsResponse"
553
- }
554
- };
555
- }
556
-
557
- //Takes list of template ids, returns map of template objects by template id.
558
- rpc GetFlairTemplates(google.protobuf.Empty) returns (google.protobuf.Empty) {
559
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
560
- request: {
561
- py: "core_platform_thing.ThingService;get_flair_templates_args"
562
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetFlairTemplatesArgs"
563
- }
564
- response: {
565
- py: "core_platform_thing.ttypes;GetFlairTemplatesResponse"
566
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetFlairTemplatesResponse"
567
- }
568
- };
569
- }
570
-
571
- //Takes an account id and returns a list of account ids for the accounts that are friended by the given account
572
- rpc GetFriendAccountIds(google.protobuf.Empty) returns (google.protobuf.Empty) {
573
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
574
- request: {
575
- py: "core_platform_thing.ThingService;get_friend_account_ids_args"
576
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetFriendAccountIdsArgs"
577
- }
578
- response: {
579
- py: "core_platform_thing.ttypes;GetFriendAccountIdsResponse"
580
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetFriendAccountIdsResponse"
581
- }
582
- };
583
- }
584
-
585
- rpc GetGenderByAccountId(google.protobuf.Empty) returns (google.protobuf.Empty) {
586
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
587
- request: {
588
- py: "core_platform_thing.ThingService;get_gender_by_account_id_args"
589
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetGenderByAccountIDArgs"
590
- }
591
- response: {
592
- py: "core_platform_thing.ttypes;GetAccountGenderByAccountIdResponse"
593
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetAccountGenderByAccountIdResponse"
594
- }
595
- };
596
- }
597
-
598
- rpc GetGildedLinks(google.protobuf.Empty) returns (google.protobuf.Empty) {
599
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
600
- request: {
601
- py: "core_platform_thing.ThingService;get_gilded_links_args"
602
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetGildedLinksArgs"
603
- }
604
- response: {
605
- py: "core_platform_thing.ttypes;GetGildedLinksResponse"
606
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetGildedLinksResponse"
607
- }
608
- };
609
- }
610
-
611
- rpc GetIdentities(google.protobuf.Empty) returns (google.protobuf.Empty) {
612
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
613
- request: {
614
- py: "core_platform_thing.ThingService;get_identities_args"
615
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetIdentitiesArgs"
616
- }
617
- response: {
618
- py: "core_platform_thing.ttypes;GetIdentitiesResponse"
619
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetIdentitiesResponse"
620
- }
621
- };
622
- }
623
-
624
- rpc GetIdentitiesDepr(google.protobuf.Empty) returns (google.protobuf.Empty) {
625
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
626
- request: {
627
- py: "core_platform_thing.ThingService;get_identities_depr_args"
628
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetIdentitiesDeprArgs"
629
- }
630
- response: {
631
- py: "core_platform_thing.ttypes;GetIdentitiesResponse"
632
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetIdentitiesResponse"
633
- }
634
- };
635
- }
636
-
637
- rpc GetIdentity(google.protobuf.Empty) returns (google.protobuf.Empty) {
638
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
639
- request: {
640
- py: "core_platform_thing.ThingService;get_identity_args"
641
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetIdentityArgs"
642
- }
643
- response: {
644
- py: "core_platform_thing.ttypes;GetIdentityResponse"
645
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetIdentityResponse"
646
- }
647
- };
648
- }
649
-
650
- rpc GetIdentityDepr(google.protobuf.Empty) returns (google.protobuf.Empty) {
651
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
652
- request: {
653
- py: "core_platform_thing.ThingService;get_identity_depr_args"
654
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetIdentityDeprArgs"
655
- }
656
- response: {
657
- py: "core_platform_thing.ttypes;GetIdentityResponse"
658
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetIdentityResponse"
659
- }
660
- };
661
- }
662
-
663
- rpc GetIdentityLastModified(google.protobuf.Empty) returns (google.protobuf.Empty) {
664
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
665
- request: {
666
- py: "core_platform_thing.ThingService;get_identity_last_modified_args"
667
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetIdentityLastModifiedArgs"
668
- }
669
- response: {
670
- py: "core_platform_thing.ttypes;GetIdentityLastModifiedResponse"
671
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetIdentityLastModifiedResponse"
672
- }
673
- };
674
- }
675
-
676
- //Returns a set of users invited mod permissions for the given subreddit. Unlike active moderators, only moderators with ALL permission may access this information.
677
- rpc GetInvitedModeratorPermissionsByAccountIds(google.protobuf.Empty) returns (google.protobuf.Empty) {
678
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
679
- request: {
680
- py: "core_platform_thing.ThingService;get_invited_moderator_permissions_by_account_ids_args"
681
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetInvitedModeratorPermissionsByAccountIdsArgs"
682
- }
683
- response: {
684
- py: "core_platform_thing.ttypes;GetInvitedModeratorPermissionsByAccountIdsResponse"
685
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetInvitedModeratorPermissionsByAccountIdsResponse"
686
- }
687
- };
688
- }
689
-
690
- rpc GetLinkHides(google.protobuf.Empty) returns (google.protobuf.Empty) {
691
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
692
- request: {
693
- py: "core_platform_thing.ThingService;get_link_hides_args"
694
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetLinkHidesArgs"
695
- }
696
- response: {
697
- py: "core_platform_thing.ttypes;GetLinkHidesResponse"
698
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetLinkHidesResponse"
699
- }
700
- };
701
- }
702
-
703
- rpc GetLinkHidesDepr(google.protobuf.Empty) returns (google.protobuf.Empty) {
704
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
705
- request: {
706
- py: "core_platform_thing.ThingService;get_link_hides_depr_args"
707
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetLinkHidesDeprArgs"
708
- }
709
- response: {
710
- py: "core_platform_thing.ttypes;GetLinkHidesResponse"
711
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetLinkHidesResponse"
712
- }
713
- };
714
- }
715
-
716
- rpc GetLinkIdsForUrlAndSr(google.protobuf.Empty) returns (google.protobuf.Empty) {
717
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
718
- request: {
719
- py: "core_platform_thing.ThingService;get_link_ids_for_url_and_sr_args"
720
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetLinkIdsForURLAndSrArgs"
721
- }
722
- response: {
723
- py: "core_platform_thing.ttypes;GetLinkIdsForUrlAndSubredditResponse"
724
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetLinkIdsForUrlAndSubredditResponse"
725
- }
726
- };
727
- }
728
-
729
- rpc GetLinkModInfo(google.protobuf.Empty) returns (google.protobuf.Empty) {
730
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
731
- request: {
732
- py: "core_platform_thing.ThingService;get_link_mod_info_args"
733
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetLinkModInfoArgs"
734
- }
735
- response: {
736
- py: "core_platform_thing.ttypes;GetLinkModerationInfoResponse"
737
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetLinkModerationInfoResponse"
738
- }
739
- };
740
- }
741
-
742
- rpc GetLinkReports(google.protobuf.Empty) returns (google.protobuf.Empty) {
743
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
744
- request: {
745
- py: "core_platform_thing.ThingService;get_link_reports_args"
746
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetLinkReportsArgs"
747
- }
748
- response: {
749
- py: "core_platform_thing.ttypes;GetLinkReportsResponse"
750
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetLinkReportsResponse"
751
- }
752
- };
753
- }
754
-
755
- rpc GetLinkSaves(google.protobuf.Empty) returns (google.protobuf.Empty) {
756
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
757
- request: {
758
- py: "core_platform_thing.ThingService;get_link_saves_args"
759
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetLinkSavesArgs"
760
- }
761
- response: {
762
- py: "core_platform_thing.ttypes;GetLinkSavesResponse"
763
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetLinkSavesResponse"
764
- }
765
- };
766
- }
767
-
768
- rpc GetLinkVisits(google.protobuf.Empty) returns (google.protobuf.Empty) {
769
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
770
- request: {
771
- py: "core_platform_thing.ThingService;get_link_visits_args"
772
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetLinkVisitsArgs"
773
- }
774
- response: {
775
- py: "core_platform_thing.ttypes;GetLinkVisitsResponse"
776
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetLinkVisitsResponse"
777
- }
778
- };
779
- }
780
-
781
- rpc GetLinkVotes(google.protobuf.Empty) returns (google.protobuf.Empty) {
782
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
783
- request: {
784
- py: "core_platform_thing.ThingService;get_link_votes_args"
785
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetLinkVotesArgs"
786
- }
787
- response: {
788
- py: "core_platform_thing.ttypes;GetLinkVotesResponse"
789
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetLinkVotesResponse"
790
- }
791
- };
792
- }
793
-
794
- rpc GetLinkVotesDepr(google.protobuf.Empty) returns (google.protobuf.Empty) {
795
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
796
- request: {
797
- py: "core_platform_thing.ThingService;get_link_votes_depr_args"
798
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetLinkVotesDeprArgs"
799
- }
800
- response: {
801
- py: "core_platform_thing.ttypes;GetLinkVotesResponse"
802
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetLinkVotesResponse"
803
- }
804
- };
805
- }
806
-
807
- rpc GetLinks(google.protobuf.Empty) returns (google.protobuf.Empty) {
808
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
809
- request: {
810
- py: "core_platform_thing.ThingService;get_links_args"
811
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetLinksArgs"
812
- }
813
- response: {
814
- py: "core_platform_thing.ttypes;GetLinksResponse"
815
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetLinksResponse"
816
- }
817
- };
818
- }
819
-
820
- rpc GetLinksDepr(google.protobuf.Empty) returns (google.protobuf.Empty) {
821
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
822
- request: {
823
- py: "core_platform_thing.ThingService;get_links_depr_args"
824
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetLinksDeprArgs"
825
- }
826
- response: {
827
- py: "core_platform_thing.ttypes;GetLinksResponse"
828
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetLinksResponse"
829
- }
830
- };
831
- }
832
-
833
- rpc GetLiveEvent(google.protobuf.Empty) returns (google.protobuf.Empty) {
834
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
835
- request: {
836
- py: "core_platform_thing.ThingService;get_live_event_args"
837
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetLiveEventArgs"
838
- }
839
- response: {
840
- py: "core_platform_thing.ttypes;GetLiveEventResponse"
841
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetLiveEventResponse"
842
- }
843
- };
844
- }
845
-
846
- rpc GetMessages(google.protobuf.Empty) returns (google.protobuf.Empty) {
847
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
848
- request: {
849
- py: "core_platform_thing.ThingService;get_messages_args"
850
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetMessagesArgs"
851
- }
852
- response: {
853
- py: "core_platform_thing.ttypes;GetMessagesResponse"
854
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetMessagesResponse"
855
- }
856
- };
857
- }
858
-
859
- rpc GetModeratedSubreddits(google.protobuf.Empty) returns (google.protobuf.Empty) {
860
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
861
- request: {
862
- py: "core_platform_thing.ThingService;get_moderated_subreddits_args"
863
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetModeratedSubredditsArgs"
864
- }
865
- response: {
866
- py: "core_platform_thing.ttypes;GetModeratedSubredditsResponse"
867
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetModeratedSubredditsResponse"
868
- }
869
- };
870
- }
871
-
872
- rpc GetModeratedSubredditsWithPermissions(google.protobuf.Empty) returns (google.protobuf.Empty) {
873
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
874
- request: {
875
- py: "core_platform_thing.ThingService;get_moderated_subreddits_with_permissions_args"
876
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetModeratedSubredditsWithPermissionsArgs"
877
- }
878
- response: {
879
- py: "core_platform_thing.ttypes;GetModeratedSubredditsWithPermissionsResponse"
880
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetModeratedSubredditsWithPermissionsResponse"
881
- }
882
- };
883
- }
884
-
885
- rpc GetModeratorPermissions(google.protobuf.Empty) returns (google.protobuf.Empty) {
886
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
887
- request: {
888
- py: "core_platform_thing.ThingService;get_moderator_permissions_args"
889
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetModeratorPermissionsArgs"
890
- }
891
- response: {
892
- py: "core_platform_thing.ttypes;GetModeratorPermissionsResponse"
893
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetModeratorPermissionsResponse"
894
- }
895
- };
896
- }
897
-
898
- //Returns a set of users mod permissions for the given subreddit.
899
- rpc GetModeratorPermissionsByAccountIds(google.protobuf.Empty) returns (google.protobuf.Empty) {
900
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
901
- request: {
902
- py: "core_platform_thing.ThingService;get_moderator_permissions_by_account_ids_args"
903
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetModeratorPermissionsByAccountIdsArgs"
904
- }
905
- response: {
906
- py: "core_platform_thing.ttypes;GetModeratorPermissionsByAccountIdsResponse"
907
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetModeratorPermissionsByAccountIdsResponse"
908
- }
909
- };
910
- }
911
-
912
- rpc GetMonthlyGildings(google.protobuf.Empty) returns (google.protobuf.Empty) {
913
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
914
- request: {
915
- py: "core_platform_thing.ThingService;get_monthly_gildings_args"
916
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetMonthlyGildingsArgs"
917
- }
918
- response: {
919
- py: "core_platform_thing.ttypes;GetMonthlyGildingsResponse"
920
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetMonthlyGildingsResponse"
921
- }
922
- };
923
- }
924
-
925
- //Return multi names (e.g. "/user/reddit/m/test") belong to the accounts.
926
- rpc GetMultiNamesByAccounts(google.protobuf.Empty) returns (google.protobuf.Empty) {
927
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
928
- request: {
929
- py: "core_platform_thing.ThingService;get_multi_names_by_accounts_args"
930
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetMultiNamesByAccountsArgs"
931
- }
932
- response: {
933
- py: "core_platform_thing.ttypes;GetMultiNamesByAccountsResponse"
934
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetMultiNamesByAccountsResponse"
935
- }
936
- };
937
- }
938
-
939
- //Return multi names (e.g. "/user/reddit/m/test") subscribed to by the accounts
940
- rpc GetMultiSubscriptions(google.protobuf.Empty) returns (google.protobuf.Empty) {
941
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
942
- response: {
943
- py: "core_platform_thing.ttypes;GetMultiSubscriptionsResponse"
944
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetMultiSubscriptionsResponse"
945
- }
946
- };
947
- }
948
-
949
- rpc GetMultis(google.protobuf.Empty) returns (google.protobuf.Empty) {
950
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
951
- request: {
952
- py: "core_platform_thing.ThingService;get_multis_args"
953
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetMultisArgs"
954
- }
955
- response: {
956
- py: "core_platform_thing.ttypes;GetMultisResponse"
957
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetMultisResponse"
958
- }
959
- };
960
- }
961
-
962
- //Takes subreddit_id, returns a map of account_ids to the notification level that the user has subscribed to.
963
- rpc GetNotificationLevelsForSubreddit(google.protobuf.Empty) returns (google.protobuf.Empty) {
964
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
965
- request: {
966
- py: "core_platform_thing.ThingService;get_notification_levels_for_subreddit_args"
967
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetNotificationLevelsForSubredditArgs"
968
- }
969
- response: {
970
- py: "core_platform_thing.ttypes;GetNotificationLevelsForSubredditResponse"
971
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetNotificationLevelsForSubredditResponse"
972
- }
973
- };
974
- }
975
-
976
- //Return multi names (e.g. "/user/reddit/m/test") for all public multis belonging to the given accounts
977
- rpc GetPublicMultiNamesByAccount(google.protobuf.Empty) returns (google.protobuf.Empty) {
978
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
979
- request: {
980
- py: "core_platform_thing.ThingService;get_public_multi_names_by_account_args"
981
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetPublicMultiNamesByAccountArgs"
982
- }
983
- response: {
984
- py: "core_platform_thing.ttypes;GetPublicMultiNamesByAccountResponse"
985
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetPublicMultiNamesByAccountResponse"
986
- }
987
- };
988
- }
989
-
990
- //Return a list of quarantined subreddit ids the user has opted to be visible.
991
- rpc GetQuarantineOptins(google.protobuf.Empty) returns (google.protobuf.Empty) {
992
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
993
- request: {
994
- py: "core_platform_thing.ThingService;get_quarantine_optins_args"
995
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetQuarantineOptinsArgs"
996
- }
997
- response: {
998
- py: "core_platform_thing.ttypes;GetQuarantineOptinsResponse"
999
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetQuarantineOptinsResponse"
1000
- }
1001
- };
1002
- }
1003
-
1004
- rpc GetRAllFilteredSubreddits(google.protobuf.Empty) returns (google.protobuf.Empty) {
1005
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
1006
- request: {
1007
- py: "core_platform_thing.ThingService;get_r_all_filtered_subreddits_args"
1008
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetRAllFilteredSubredditsArgs"
1009
- }
1010
- response: {
1011
- py: "core_platform_thing.ttypes;GetRAllFilteredSubredditsResponse"
1012
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetRAllFilteredSubredditsResponse"
1013
- }
1014
- };
1015
- }
1016
-
1017
- rpc GetRAllFilteredSubredditsDepr(google.protobuf.Empty) returns (google.protobuf.Empty) {
1018
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
1019
- request: {
1020
- py: "core_platform_thing.ThingService;get_r_all_filtered_subreddits_depr_args"
1021
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetRAllFilteredSubredditsDeprArgs"
1022
- }
1023
- response: {
1024
- py: "core_platform_thing.ttypes;GetRAllFilteredSubredditsResponse"
1025
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetRAllFilteredSubredditsResponse"
1026
- }
1027
- };
1028
- }
1029
-
1030
- rpc GetSocialLinks(google.protobuf.Empty) returns (google.protobuf.Empty) {
1031
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
1032
- request: {
1033
- py: "core_platform_thing.ThingService;get_social_links_args"
1034
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetSocialLinksArgs"
1035
- }
1036
- response: {
1037
- py: "core_platform_thing.ttypes;GetProfileSocialLinksResponse"
1038
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetProfileSocialLinksResponse"
1039
- }
1040
- };
1041
- }
1042
-
1043
- //Takes account_id, returns a map of subreddit_ids to the notification level that the user has subscribed to. If subreddit_ids is passed, returns a map of subreddit_ids to the notification level for given list. When a subreddit id in the request is absent from the response, it means that the notification level for this subreddit is the default value. The default value varies depending on subreddit type and whether or not the user is a subscriber to the subreddit. It's the caller's responsibility to figure out which is the correct default value. The logic on r2 is at: https://github.com/reddit/reddit-public/blob/a52a8084226ba723d1729a1c9db252f17971e7ee/r2/r2/models/subreddit.py#L1826L1829
1044
- rpc GetSrNotificationLevelsForAccount(google.protobuf.Empty) returns (google.protobuf.Empty) {
1045
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
1046
- request: {
1047
- py: "core_platform_thing.ThingService;get_sr_notification_levels_for_account_args"
1048
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetSrNotificationLevelsForAccountArgs"
1049
- }
1050
- response: {
1051
- py: "core_platform_thing.ttypes;GetSRNotificationLevelsForAccountResponse"
1052
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetSRNotificationLevelsForAccountResponse"
1053
- }
1054
- };
1055
- }
1056
-
1057
- //THIS METHOD IS DEPRECATED: use the struct based method, get_subreddit_contributors_v2 Returns contributors of the given subreddit.
1058
- rpc GetSubredditContributors(google.protobuf.Empty) returns (google.protobuf.Empty) {
1059
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
1060
- request: {
1061
- py: "core_platform_thing.ThingService;get_subreddit_contributors_args"
1062
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetSubredditContributorsArgs"
1063
- }
1064
- response: {
1065
- py: "core_platform_thing.ttypes;GetSubredditContributorsResponse"
1066
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetSubredditContributorsResponse"
1067
- }
1068
- };
1069
- }
1070
-
1071
- //Returns contributors of the given subreddit. If account_id is set, filters only to that single contributors details, if that user exists.
1072
- rpc GetSubredditContributorsV2(google.protobuf.Empty) returns (google.protobuf.Empty) {
1073
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
1074
- request: {
1075
- py: "core_platform_thing.ThingService;get_subreddit_contributors_v2_args"
1076
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetSubredditContributorsV2Args"
1077
- }
1078
- response: {
1079
- py: "core_platform_thing.ttypes;GetSubredditContributorsResponse"
1080
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetSubredditContributorsResponse"
1081
- }
1082
- };
1083
- }
1084
-
1085
- rpc GetSubredditDetails(google.protobuf.Empty) returns (google.protobuf.Empty) {
1086
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
1087
- request: {
1088
- py: "core_platform_thing.ThingService;get_subreddit_details_args"
1089
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetSubredditDetailsArgs"
1090
- }
1091
- response: {
1092
- py: "core_platform_thing.ttypes;GetSubredditDetailsResponse"
1093
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetSubredditDetailsResponse"
1094
- }
1095
- };
1096
- }
1097
-
1098
- rpc GetSubredditFlairedAccounts(google.protobuf.Empty) returns (google.protobuf.Empty) {
1099
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
1100
- request: {
1101
- py: "core_platform_thing.ThingService;get_subreddit_flaired_accounts_args"
1102
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetSubredditFlairedAccountsArgs"
1103
- }
1104
- response: {
1105
- py: "core_platform_thing.ttypes;GetSubredditFlairedAccountsResponse"
1106
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetSubredditFlairedAccountsResponse"
1107
- }
1108
- };
1109
- }
1110
-
1111
- rpc GetSubredditFlairedAccountsByAccounts(google.protobuf.Empty) returns (google.protobuf.Empty) {
1112
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
1113
- request: {
1114
- py: "core_platform_thing.ThingService;get_subreddit_flaired_accounts_by_accounts_args"
1115
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetSubredditFlairedAccountsByAccountsArgs"
1116
- }
1117
- response: {
1118
- py: "core_platform_thing.ttypes;GetSubredditFlairedAccountsByAccountsResponse"
1119
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetSubredditFlairedAccountsByAccountsResponse"
1120
- }
1121
- };
1122
- }
1123
-
1124
- rpc GetSubredditIds(google.protobuf.Empty) returns (google.protobuf.Empty) {
1125
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
1126
- request: {
1127
- py: "core_platform_thing.ThingService;get_subreddit_ids_args"
1128
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetSubredditIdsArgs"
1129
- }
1130
- response: {
1131
- py: "core_platform_thing.ttypes;GetSubredditIdsResponse"
1132
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetSubredditIdsResponse"
1133
- }
1134
- };
1135
- }
1136
-
1137
- rpc GetSubredditIdsDepr(google.protobuf.Empty) returns (google.protobuf.Empty) {
1138
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
1139
- request: {
1140
- py: "core_platform_thing.ThingService;get_subreddit_ids_depr_args"
1141
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetSubredditIdsDeprArgs"
1142
- }
1143
- response: {
1144
- py: "core_platform_thing.ttypes;GetSubredditIdsResponse"
1145
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetSubredditIdsResponse"
1146
- }
1147
- };
1148
- }
1149
-
1150
- rpc GetSubredditModerators(google.protobuf.Empty) returns (google.protobuf.Empty) {
1151
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
1152
- request: {
1153
- py: "core_platform_thing.ThingService;get_subreddit_moderators_args"
1154
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetSubredditModeratorsArgs"
1155
- }
1156
- response: {
1157
- py: "core_platform_thing.ttypes;GetSubredditModeratorsResponse"
1158
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetSubredditModeratorsResponse"
1159
- }
1160
- };
1161
- }
1162
-
1163
- rpc GetSubredditModeratorsInvited(google.protobuf.Empty) returns (google.protobuf.Empty) {
1164
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
1165
- request: {
1166
- py: "core_platform_thing.ThingService;get_subreddit_moderators_invited_args"
1167
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetSubredditModeratorsInvitedArgs"
1168
- }
1169
- response: {
1170
- py: "core_platform_thing.ttypes;GetSubredditModeratorsInvitedResponse"
1171
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetSubredditModeratorsInvitedResponse"
1172
- }
1173
- };
1174
- }
1175
-
1176
- rpc GetSubredditRules(google.protobuf.Empty) returns (google.protobuf.Empty) {
1177
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
1178
- request: {
1179
- py: "core_platform_thing.ThingService;get_subreddit_rules_args"
1180
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetSubredditRulesArgs"
1181
- }
1182
- response: {
1183
- py: "core_platform_thing.ttypes;GetSubredditRulesResponse"
1184
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetSubredditRulesResponse"
1185
- }
1186
- };
1187
- }
1188
-
1189
- rpc GetSubreddits(google.protobuf.Empty) returns (google.protobuf.Empty) {
1190
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
1191
- request: {
1192
- py: "core_platform_thing.ThingService;get_subreddits_args"
1193
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetSubredditsArgs"
1194
- }
1195
- response: {
1196
- py: "core_platform_thing.ttypes;GetSubredditsResponse"
1197
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetSubredditsResponse"
1198
- }
1199
- };
1200
- }
1201
-
1202
- rpc GetSubredditsDepr(google.protobuf.Empty) returns (google.protobuf.Empty) {
1203
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
1204
- request: {
1205
- py: "core_platform_thing.ThingService;get_subreddits_depr_args"
1206
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetSubredditsDeprArgs"
1207
- }
1208
- response: {
1209
- py: "core_platform_thing.ttypes;GetSubredditsResponse"
1210
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetSubredditsResponse"
1211
- }
1212
- };
1213
- }
1214
-
1215
- rpc GetSubredditsNotUserByDate(google.protobuf.Empty) returns (google.protobuf.Empty) {
1216
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
1217
- request: {
1218
- py: "core_platform_thing.ThingService;get_subreddits_not_user_by_date_args"
1219
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetSubredditsNotUserByDateArgs"
1220
- }
1221
- response: {
1222
- py: "core_platform_thing.ttypes;GetSubredditsNotUserByDateResponse"
1223
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetSubredditsNotUserByDateResponse"
1224
- }
1225
- };
1226
- }
1227
-
1228
- rpc GetSubredditsWithNotifications(google.protobuf.Empty) returns (google.protobuf.Empty) {
1229
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
1230
- request: {
1231
- py: "core_platform_thing.ThingService;get_subreddits_with_notifications_args"
1232
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetSubredditsWithNotificationsArgs"
1233
- }
1234
- response: {
1235
- py: "core_platform_thing.ttypes;GetSubredditsWithNotificationsResponse"
1236
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetSubredditsWithNotificationsResponse"
1237
- }
1238
- };
1239
- }
1240
-
1241
- rpc GetSubscribedAccountIds(google.protobuf.Empty) returns (google.protobuf.Empty) {
1242
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
1243
- request: {
1244
- py: "core_platform_thing.ThingService;get_subscribed_account_ids_args"
1245
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetSubscribedAccountIdsArgs"
1246
- }
1247
- response: {
1248
- py: "core_platform_thing.ttypes;GetSubscribedAccountIdsResponse"
1249
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetSubscribedAccountIdsResponse"
1250
- }
1251
- };
1252
- }
1253
-
1254
- rpc GetSubscribedSubreddits(google.protobuf.Empty) returns (google.protobuf.Empty) {
1255
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
1256
- request: {
1257
- py: "core_platform_thing.ThingService;get_subscribed_subreddits_args"
1258
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetSubscribedSubredditsArgs"
1259
- }
1260
- response: {
1261
- py: "core_platform_thing.ttypes;GetSubscribedSubredditsResponse"
1262
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetSubscribedSubredditsResponse"
1263
- }
1264
- };
1265
- }
1266
-
1267
- rpc GetTrendingSubreddits(google.protobuf.Empty) returns (google.protobuf.Empty) {
1268
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
1269
- response: {
1270
- py: "core_platform_thing.ttypes;GetTrendingSubredditsResponse"
1271
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetTrendingSubredditsResponse"
1272
- }
1273
- };
1274
- }
1275
-
1276
- rpc GetTrophies(google.protobuf.Empty) returns (google.protobuf.Empty) {
1277
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
1278
- request: {
1279
- py: "core_platform_thing.ThingService;get_trophies_args"
1280
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetTrophiesArgs"
1281
- }
1282
- response: {
1283
- py: "core_platform_thing.ttypes;GetTrophiesResponse"
1284
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetTrophiesResponse"
1285
- }
1286
- };
1287
- }
1288
-
1289
- rpc GetVideoCounts(google.protobuf.Empty) returns (google.protobuf.Empty) {
1290
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
1291
- request: {
1292
- py: "core_platform_thing.ThingService;get_video_counts_args"
1293
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetVideoCountsArgs"
1294
- }
1295
- response: {
1296
- py: "core_platform_thing.ttypes;GetVideoCountsResponse"
1297
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetVideoCountsResponse"
1298
- }
1299
- };
1300
- }
1301
-
1302
- rpc GetViewableStatus(google.protobuf.Empty) returns (google.protobuf.Empty) {
1303
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
1304
- request: {
1305
- py: "core_platform_thing.ThingService;get_viewable_status_args"
1306
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceGetViewableStatusArgs"
1307
- }
1308
- response: {
1309
- py: "core_platform_thing.ttypes;GetSubredditIdsViewableStatusResponse"
1310
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;GetSubredditIdsViewableStatusResponse"
1311
- }
1312
- };
1313
- }
1314
-
1315
- rpc IncrCommentProps(google.protobuf.Empty) returns (google.protobuf.Empty) {
1316
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
1317
- request: {
1318
- py: "core_platform_thing.ThingService;incr_comment_props_args"
1319
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceIncrCommentPropsArgs"
1320
- }
1321
- response: {
1322
- py: "core_platform_thing.ttypes;IncrCommentPropsResponse"
1323
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;IncrCommentPropsResponse"
1324
- }
1325
- };
1326
- }
1327
-
1328
- rpc IncrIdentityKarma(google.protobuf.Empty) returns (google.protobuf.Empty) {
1329
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
1330
- request: {
1331
- py: "core_platform_thing.ThingService;incr_identity_karma_args"
1332
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceIncrIdentityKarmaArgs"
1333
- }
1334
- response: {
1335
- py: "core_platform_thing.ttypes;IncrIdentityKarmaResponse"
1336
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;IncrIdentityKarmaResponse"
1337
- }
1338
- };
1339
- }
1340
-
1341
- rpc IncrIdentityProps(google.protobuf.Empty) returns (google.protobuf.Empty) {
1342
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
1343
- request: {
1344
- py: "core_platform_thing.ThingService;incr_identity_props_args"
1345
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceIncrIdentityPropsArgs"
1346
- }
1347
- response: {
1348
- py: "core_platform_thing.ttypes;IncrIdentityPropsResponse"
1349
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;IncrIdentityPropsResponse"
1350
- }
1351
- };
1352
- }
1353
-
1354
- rpc IncrLinkProps(google.protobuf.Empty) returns (google.protobuf.Empty) {
1355
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
1356
- request: {
1357
- py: "core_platform_thing.ThingService;incr_link_props_args"
1358
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceIncrLinkPropsArgs"
1359
- }
1360
- response: {
1361
- py: "core_platform_thing.ttypes;IncrLinkPropsResponse"
1362
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;IncrLinkPropsResponse"
1363
- }
1364
- };
1365
- }
1366
-
1367
- //Takes one message_id and each property name is an individual argument, returns map of new count by prop name.
1368
- rpc IncrMessageProps(google.protobuf.Empty) returns (google.protobuf.Empty) {
1369
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
1370
- request: {
1371
- py: "core_platform_thing.ThingService;incr_message_props_args"
1372
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceIncrMessagePropsArgs"
1373
- }
1374
- response: {
1375
- py: "core_platform_thing.ttypes;IncrMessagePropsResponse"
1376
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;IncrMessagePropsResponse"
1377
- }
1378
- };
1379
- }
1380
-
1381
- rpc IncrSubredditProps(google.protobuf.Empty) returns (google.protobuf.Empty) {
1382
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
1383
- request: {
1384
- py: "core_platform_thing.ThingService;incr_subreddit_props_args"
1385
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceIncrSubredditPropsArgs"
1386
- }
1387
- response: {
1388
- py: "core_platform_thing.ttypes;IncrSubredditPropsResponse"
1389
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;IncrSubredditPropsResponse"
1390
- }
1391
- };
1392
- }
1393
-
1394
- rpc IsValidAccountName(google.protobuf.Empty) returns (google.protobuf.Empty) {
1395
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
1396
- request: {
1397
- py: "core_platform_thing.ThingService;is_valid_account_name_args"
1398
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceIsValidAccountNameArgs"
1399
- }
1400
- response: {
1401
- py: "core_platform_thing.ttypes;IsValidAccountNameResponse"
1402
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;IsValidAccountNameResponse"
1403
- }
1404
- };
1405
- }
1406
-
1407
- rpc ReorderSocialLinks(google.protobuf.Empty) returns (google.protobuf.Empty) {
1408
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
1409
- request: {
1410
- py: "core_platform_thing.ThingService;reorder_social_links_args"
1411
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceReorderSocialLinksArgs"
1412
- }
1413
- response: {
1414
- py: "core_platform_thing.ttypes;ReorderProfileSocialLinksResponse"
1415
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ReorderProfileSocialLinksResponse"
1416
- }
1417
- };
1418
- }
1419
-
1420
- rpc UpdateAccountGender(google.protobuf.Empty) returns (google.protobuf.Empty) {
1421
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
1422
- request: {
1423
- py: "core_platform_thing.ThingService;update_account_gender_args"
1424
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceUpdateAccountGenderArgs"
1425
- }
1426
- response: {
1427
- py: "core_platform_thing.ttypes;UpdateAccountGenderByAccountIdResponse"
1428
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;UpdateAccountGenderByAccountIdResponse"
1429
- }
1430
- };
1431
- }
1432
-
1433
- rpc UpdateComment(google.protobuf.Empty) returns (google.protobuf.Empty) {
1434
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
1435
- request: {
1436
- py: "core_platform_thing.ThingService;update_comment_args"
1437
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceUpdateCommentArgs"
1438
- }
1439
- response: {
1440
- py: "core_platform_thing.ttypes;UpdateCommentResponse"
1441
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;UpdateCommentResponse"
1442
- }
1443
- };
1444
- }
1445
-
1446
- rpc UpdateIdentity(google.protobuf.Empty) returns (google.protobuf.Empty) {
1447
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
1448
- request: {
1449
- py: "core_platform_thing.ThingService;update_identity_args"
1450
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceUpdateIdentityArgs"
1451
- }
1452
- response: {
1453
- py: "core_platform_thing.ttypes;UpdateIdentityResponse"
1454
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;UpdateIdentityResponse"
1455
- }
1456
- };
1457
- }
1458
-
1459
- rpc UpdateLink(google.protobuf.Empty) returns (google.protobuf.Empty) {
1460
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
1461
- request: {
1462
- py: "core_platform_thing.ThingService;update_link_args"
1463
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceUpdateLinkArgs"
1464
- }
1465
- response: {
1466
- py: "core_platform_thing.ttypes;UpdateLinkResponse"
1467
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;UpdateLinkResponse"
1468
- }
1469
- };
1470
- }
1471
-
1472
- rpc UpdateMessage(google.protobuf.Empty) returns (google.protobuf.Empty) {
1473
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
1474
- request: {
1475
- py: "core_platform_thing.ThingService;update_message_args"
1476
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceUpdateMessageArgs"
1477
- }
1478
- response: {
1479
- py: "core_platform_thing.ttypes;UpdateMessageResponse"
1480
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;UpdateMessageResponse"
1481
- }
1482
- };
1483
- }
1484
-
1485
- rpc UpdateSocialLinks(google.protobuf.Empty) returns (google.protobuf.Empty) {
1486
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
1487
- request: {
1488
- py: "core_platform_thing.ThingService;update_social_links_args"
1489
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceUpdateSocialLinksArgs"
1490
- }
1491
- response: {
1492
- py: "core_platform_thing.ttypes;UpdateProfileSocialLinksResponse"
1493
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;UpdateProfileSocialLinksResponse"
1494
- }
1495
- };
1496
- }
1497
-
1498
- //Modifies SubredditNotificationLevels per subreddit for an account. Setting the level to null removes the notification level.
1499
- rpc UpdateSrNotificationLevel(google.protobuf.Empty) returns (google.protobuf.Empty) {
1500
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
1501
- request: {
1502
- py: "core_platform_thing.ThingService;update_sr_notification_level_args"
1503
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceUpdateSrNotificationLevelArgs"
1504
- }
1505
- response: {
1506
- py: "core_platform_thing.ttypes;UpdateSubredditNotificationLevelResponse"
1507
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;UpdateSubredditNotificationLevelResponse"
1508
- }
1509
- };
1510
- }
1511
-
1512
- rpc UpdateSubreddit(google.protobuf.Empty) returns (google.protobuf.Empty) {
1513
- option (reddit.coreplatform.grpc_thrift.v1.thrift_aliases) = {
1514
- request: {
1515
- py: "core_platform_thing.ThingService;update_subreddit_args"
1516
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;ThingServiceUpdateSubredditArgs"
1517
- }
1518
- response: {
1519
- py: "core_platform_thing.ttypes;UpdateSubredditResponse"
1520
- go: "github.snooguts.net/reddit/thing-api/go/thrift/core_platform/thing;UpdateSubredditResponse"
1521
- }
1522
- };
1523
- }
1524
- }
1525
-
1526
- message AddCommentVisitErrorDetails {
1527
- ThingErrorType type = 10;
1528
-
1529
- oneof rpc_error {
1530
- NotAuthorizedError not_authorized = 1;
1531
-
1532
- InvalidIdsError invalid_ids = 2;
1533
- }
1534
- }
1535
-
1536
- message CreateCommentErrorDetails {
1537
- ThingErrorType type = 10;
1538
-
1539
- oneof rpc_error {
1540
- NotAuthorizedError not_authorized = 1;
1541
-
1542
- InvalidIdsError invalid_ids = 2;
1543
- }
1544
- }
1545
-
1546
- message CreateIdentityErrorDetails {
1547
- ThingErrorType type = 10;
1548
-
1549
- oneof rpc_error {
1550
- NotAuthorizedError not_authorized = 1;
1551
-
1552
- InvalidIdsError invalid_ids = 2;
1553
-
1554
- IdentityNameExistsError name_exists = 3;
1555
-
1556
- IdentityIDExistsError id_exists = 4;
1557
- }
1558
- }
1559
-
1560
- message CreateLinkErrorDetails {
1561
- ThingErrorType type = 10;
1562
-
1563
- oneof rpc_error {
1564
- NotAuthorizedError not_authorized = 1;
1565
-
1566
- InvalidIdsError invalid_ids = 2;
1567
- }
1568
- }
1569
-
1570
- message CreateMessageErrorDetails {
1571
- ThingErrorType type = 10;
1572
-
1573
- oneof rpc_error {
1574
- NotAuthorizedError not_authorized = 1;
1575
-
1576
- InvalidIdsError invalid_ids = 2;
1577
- }
1578
- }
1579
-
1580
- message CreateSocialLinksErrorDetails {
1581
- ThingErrorType type = 10;
1582
-
1583
- oneof rpc_error {
1584
- NotAuthorizedError not_authorized = 1;
1585
-
1586
- InvalidRequestError invalid_request = 2;
1587
- }
1588
- }
1589
-
1590
- message CreateSubredditErrorDetails {
1591
- ThingErrorType type = 10;
1592
-
1593
- oneof rpc_error {
1594
- NotAuthorizedError not_authorized = 1;
1595
-
1596
- InvalidIdsError invalid_ids = 2;
1597
-
1598
- SubredditExistsError subreddit_exists = 3;
1599
- }
1600
- }
1601
-
1602
- message DeletePiiDataErrorDetails {
1603
- ThingErrorType type = 10;
1604
-
1605
- oneof rpc_error {
1606
- NotAuthorizedError not_authorized = 1;
1607
- }
1608
- }
1609
-
1610
- message DeleteSocialLinksErrorDetails {
1611
- ThingErrorType type = 10;
1612
-
1613
- oneof rpc_error {
1614
- NotAuthorizedError not_authorized = 1;
1615
-
1616
- InvalidRequestError invalid_request = 2;
1617
- }
1618
- }
1619
-
1620
- message GetAccountHasSeenFlagsErrorDetails {
1621
- ThingErrorType type = 10;
1622
-
1623
- oneof rpc_error {
1624
- NotAuthorizedError not_authorized = 1;
1625
-
1626
- InvalidIdsError invalid_ids = 2;
1627
- }
1628
- }
1629
-
1630
- message GetAccountIdsBannedStatusErrorDetails {
1631
- ThingErrorType type = 10;
1632
-
1633
- oneof rpc_error {
1634
- NotAuthorizedError not_authorized = 1;
1635
-
1636
- InvalidIdsError invalid_ids = 2;
1637
-
1638
- InvalidRequestError invalid_request = 3;
1639
- }
1640
- }
1641
-
1642
- message GetAccountIdsByEmailErrorDetails {
1643
- ThingErrorType type = 10;
1644
-
1645
- oneof rpc_error {
1646
- InvalidRequestError invalid_request = 1;
1647
-
1648
- NotAuthorizedError not_authorized = 2;
1649
- }
1650
- }
1651
-
1652
- message GetAccountIdsDeprErrorDetails {
1653
- ThingErrorType type = 10;
1654
-
1655
- oneof rpc_error {
1656
- NotAuthorizedError not_authorized = 1;
1657
- }
1658
- }
1659
-
1660
- message GetAccountIdsErrorDetails {
1661
- ThingErrorType type = 10;
1662
-
1663
- oneof rpc_error {
1664
- NotAuthorizedError not_authorized = 1;
1665
- }
1666
- }
1667
-
1668
- message GetAccountflairsBatchErrorDetails {
1669
- ThingErrorType type = 10;
1670
-
1671
- oneof rpc_error {
1672
- NotAuthorizedError not_authorized = 1;
1673
-
1674
- InvalidIdsError invalid_ids = 2;
1675
-
1676
- InvalidRequestError invalid_request = 3;
1677
- }
1678
- }
1679
-
1680
- message GetAccountflairsErrorDetails {
1681
- ThingErrorType type = 10;
1682
-
1683
- oneof rpc_error {
1684
- NotAuthorizedError not_authorized = 1;
1685
-
1686
- InvalidIdsError invalid_ids = 2;
1687
-
1688
- InvalidRequestError invalid_request = 3;
1689
- }
1690
- }
1691
-
1692
- message GetAccountsDeprErrorDetails {
1693
- ThingErrorType type = 10;
1694
-
1695
- oneof rpc_error {
1696
- NotAuthorizedError not_authorized = 1;
1697
-
1698
- InvalidIdsError invalid_ids = 2;
1699
-
1700
- InvalidRequestError invalid_request = 3;
1701
-
1702
- TypeTransformationError invalid_type = 4;
1703
- }
1704
- }
1705
-
1706
- message GetAccountsErrorDetails {
1707
- ThingErrorType type = 10;
1708
-
1709
- oneof rpc_error {
1710
- NotAuthorizedError not_authorized = 1;
1711
-
1712
- InvalidIdsError invalid_ids = 2;
1713
-
1714
- InvalidRequestError invalid_request = 3;
1715
-
1716
- TypeTransformationError invalid_type = 4;
1717
- }
1718
- }
1719
-
1720
- message GetActiveSubscriptionsErrorDetails {
1721
- ThingErrorType type = 10;
1722
-
1723
- oneof rpc_error {
1724
- NotAuthorizedError not_authorized = 1;
1725
-
1726
- InvalidIdsError invalid_ids = 2;
1727
-
1728
- InvalidRequestError invalid_request = 3;
1729
- }
1730
- }
1731
-
1732
- message GetAllowlistedAccountIdsErrorDetails {
1733
- ThingErrorType type = 10;
1734
-
1735
- oneof rpc_error {
1736
- NotAuthorizedError not_authorized = 1;
1737
-
1738
- InvalidIdsError invalid_ids = 2;
1739
- }
1740
- }
1741
-
1742
- message GetBannedStatusErrorDetails {
1743
- ThingErrorType type = 10;
1744
-
1745
- oneof rpc_error {
1746
- NotAuthorizedError not_authorized = 1;
1747
-
1748
- InvalidIdsError invalid_ids = 2;
1749
-
1750
- InvalidRequestError invalid_request = 3;
1751
- }
1752
- }
1753
-
1754
- message GetBlockedAccountIdsDeprErrorDetails {
1755
- ThingErrorType type = 10;
1756
-
1757
- oneof rpc_error {
1758
- NotAuthorizedError not_authorized = 1;
1759
-
1760
- InvalidIdsError invalid_ids = 2;
1761
- }
1762
- }
1763
-
1764
- message GetBlockedAccountIdsErrorDetails {
1765
- ThingErrorType type = 10;
1766
-
1767
- oneof rpc_error {
1768
- NotAuthorizedError not_authorized = 1;
1769
-
1770
- InvalidIdsError invalid_ids = 2;
1771
- }
1772
- }
1773
-
1774
- message GetBlockedByAccountIdsErrorDetails {
1775
- ThingErrorType type = 10;
1776
-
1777
- oneof rpc_error {
1778
- NotAuthorizedError not_authorized = 1;
1779
-
1780
- InvalidIdsError invalid_ids = 2;
1781
- }
1782
- }
1783
-
1784
- message GetBlockedIdsForAccountIdsErrorDetails {
1785
- ThingErrorType type = 10;
1786
-
1787
- oneof rpc_error {
1788
- NotAuthorizedError not_authorized = 1;
1789
-
1790
- InvalidIdsError invalid_ids = 2;
1791
- }
1792
- }
1793
-
1794
- message GetBlockerAccountIdsErrorDetails {
1795
- ThingErrorType type = 10;
1796
-
1797
- oneof rpc_error {
1798
- NotAuthorizedError not_authorized = 1;
1799
-
1800
- InvalidIdsError invalid_ids = 2;
1801
- }
1802
- }
1803
-
1804
- message GetCommentIdsByAuthorAndParentAuthorErrorDetails {
1805
- ThingErrorType type = 10;
1806
-
1807
- oneof rpc_error {
1808
- NotAuthorizedError not_authorized = 1;
1809
-
1810
- InvalidIdsError invalid_ids = 2;
1811
-
1812
- InvalidRequestError invalid_request = 3;
1813
-
1814
- InvalidPager invalid_pager = 4;
1815
- }
1816
- }
1817
-
1818
- message GetCommentIdsForLinkErrorDetails {
1819
- ThingErrorType type = 10;
1820
-
1821
- oneof rpc_error {
1822
- NotAuthorizedError not_authorized = 1;
1823
-
1824
- InvalidIdsError invalid_ids = 2;
1825
-
1826
- InvalidRequestError invalid_request = 3;
1827
-
1828
- InvalidPager invalid_pager = 4;
1829
- }
1830
- }
1831
-
1832
- message GetCommentModInfoErrorDetails {
1833
- ThingErrorType type = 10;
1834
-
1835
- oneof rpc_error {
1836
- NotAuthorizedError not_authorized = 1;
1837
-
1838
- InvalidIdsError invalid_ids = 2;
1839
-
1840
- InvalidRequestError invalid_request = 3;
1841
- }
1842
- }
1843
-
1844
- message GetCommentReportsErrorDetails {
1845
- ThingErrorType type = 10;
1846
-
1847
- oneof rpc_error {
1848
- NotAuthorizedError not_authorized = 1;
1849
-
1850
- InvalidIdsError invalid_ids = 2;
1851
-
1852
- InvalidRequestError invalid_request = 3;
1853
- }
1854
- }
1855
-
1856
- message GetCommentSavesErrorDetails {
1857
- ThingErrorType type = 10;
1858
-
1859
- oneof rpc_error {
1860
- NotAuthorizedError not_authorized = 1;
1861
-
1862
- InvalidIdsError invalid_ids = 2;
1863
-
1864
- InvalidRequestError invalid_request = 3;
1865
- }
1866
- }
1867
-
1868
- message GetCommentVisitsErrorDetails {
1869
- ThingErrorType type = 10;
1870
-
1871
- oneof rpc_error {
1872
- NotAuthorizedError not_authorized = 1;
1873
-
1874
- InvalidIdsError invalid_ids = 2;
1875
- }
1876
- }
1877
-
1878
- message GetCommentVotesErrorDetails {
1879
- ThingErrorType type = 10;
1880
-
1881
- oneof rpc_error {
1882
- NotAuthorizedError not_authorized = 1;
1883
-
1884
- InvalidIdsError invalid_ids = 2;
1885
-
1886
- InvalidRequestError invalid_request = 3;
1887
- }
1888
- }
1889
-
1890
- message GetCommentsDeprErrorDetails {
1891
- ThingErrorType type = 10;
1892
-
1893
- oneof rpc_error {
1894
- NotAuthorizedError not_authorized = 1;
1895
-
1896
- InvalidIdsError invalid_ids = 2;
1897
-
1898
- InvalidRequestError invalid_request = 3;
1899
-
1900
- TypeTransformationError invalid_type = 4;
1901
- }
1902
- }
1903
-
1904
- message GetCommentsErrorDetails {
1905
- ThingErrorType type = 10;
1906
-
1907
- oneof rpc_error {
1908
- NotAuthorizedError not_authorized = 1;
1909
-
1910
- InvalidIdsError invalid_ids = 2;
1911
-
1912
- InvalidRequestError invalid_request = 3;
1913
-
1914
- TypeTransformationError invalid_type = 4;
1915
- }
1916
- }
1917
-
1918
- message GetContributorStatusByAccountIdErrorDetails {
1919
- ThingErrorType type = 10;
1920
-
1921
- oneof rpc_error {
1922
- NotAuthorizedError not_authorized = 1;
1923
-
1924
- InvalidIdsError invalid_ids = 2;
1925
-
1926
- InvalidRequestError invalid_request = 3;
1927
- }
1928
- }
1929
-
1930
- message GetContributorStatusErrorDetails {
1931
- ThingErrorType type = 10;
1932
-
1933
- oneof rpc_error {
1934
- NotAuthorizedError not_authorized = 1;
1935
-
1936
- InvalidIdsError invalid_ids = 2;
1937
-
1938
- InvalidRequestError invalid_request = 3;
1939
- }
1940
- }
1941
-
1942
- message GetCreatedSubredditIdsErrorDetails {
1943
- ThingErrorType type = 10;
1944
-
1945
- oneof rpc_error {
1946
- NotAuthorizedError not_authorized = 1;
1947
-
1948
- InvalidIdsError invalid_ids = 2;
1949
-
1950
- InvalidRequestError invalid_request = 3;
1951
- }
1952
- }
1953
-
1954
- message GetFavoriteSubredditsErrorDetails {
1955
- ThingErrorType type = 10;
1956
-
1957
- oneof rpc_error {
1958
- NotAuthorizedError not_authorized = 1;
1959
-
1960
- InvalidIdsError invalid_ids = 2;
1961
-
1962
- InvalidRequestError invalid_request = 3;
1963
- }
1964
- }
1965
-
1966
- message GetFavoritedMultiredditsErrorDetails {
1967
- ThingErrorType type = 10;
1968
-
1969
- oneof rpc_error {
1970
- NotAuthorizedError not_authorized = 1;
1971
- }
1972
- }
1973
-
1974
- message GetFeaturedAnnouncementsErrorDetails {
1975
- ThingErrorType type = 10;
1976
-
1977
- oneof rpc_error {
1978
- NotAuthorizedError not_authorized = 1;
1979
- }
1980
- }
1981
-
1982
- message GetFeaturedLiveEventsErrorDetails {
1983
- ThingErrorType type = 10;
1984
-
1985
- oneof rpc_error {
1986
- NotAuthorizedError not_authorized = 1;
1987
- }
1988
- }
1989
-
1990
- message GetFlairTemplatesErrorDetails {
1991
- ThingErrorType type = 10;
1992
-
1993
- oneof rpc_error {
1994
- NotAuthorizedError not_authorized = 1;
1995
-
1996
- InvalidIdsError invalid_ids = 2;
1997
- }
1998
- }
1999
-
2000
- message GetFriendAccountIdsErrorDetails {
2001
- ThingErrorType type = 10;
2002
-
2003
- oneof rpc_error {
2004
- NotAuthorizedError not_authorized = 1;
2005
-
2006
- InvalidIdsError invalid_ids = 2;
2007
- }
2008
- }
2009
-
2010
- message GetGenderByAccountIdErrorDetails {
2011
- ThingErrorType type = 10;
2012
-
2013
- oneof rpc_error {
2014
- InvalidRequestError invalid_request = 1;
2015
-
2016
- NotAuthorizedError not_authorized = 2;
2017
- }
2018
- }
2019
-
2020
- message GetGildedLinksErrorDetails {
2021
- ThingErrorType type = 10;
2022
-
2023
- oneof rpc_error {
2024
- NotAuthorizedError not_authorized = 1;
2025
-
2026
- InvalidIdsError invalid_ids = 2;
2027
-
2028
- InvalidRequestError invalid_request = 3;
2029
- }
2030
- }
2031
-
2032
- message GetIdentitiesDeprErrorDetails {
2033
- ThingErrorType type = 10;
2034
-
2035
- oneof rpc_error {
2036
- NotAuthorizedError not_authorized = 1;
2037
-
2038
- InvalidIdsError invalid_ids = 2;
2039
-
2040
- InvalidRequestError invalid_request = 3;
2041
-
2042
- TypeTransformationError invalid_type = 4;
2043
- }
2044
- }
2045
-
2046
- message GetIdentitiesErrorDetails {
2047
- ThingErrorType type = 10;
2048
-
2049
- oneof rpc_error {
2050
- NotAuthorizedError not_authorized = 1;
2051
-
2052
- InvalidIdsError invalid_ids = 2;
2053
-
2054
- InvalidRequestError invalid_request = 3;
2055
-
2056
- TypeTransformationError invalid_type = 4;
2057
- }
2058
- }
2059
-
2060
- message GetIdentityDeprErrorDetails {
2061
- ThingErrorType type = 10;
2062
-
2063
- oneof rpc_error {
2064
- NotAuthorizedError not_authorized = 1;
2065
-
2066
- InvalidIdsError invalid_ids = 2;
2067
-
2068
- NotFoundError not_found = 3;
2069
-
2070
- TypeTransformationError invalid_type = 4;
2071
- }
2072
- }
2073
-
2074
- message GetIdentityErrorDetails {
2075
- ThingErrorType type = 10;
2076
-
2077
- oneof rpc_error {
2078
- NotAuthorizedError not_authorized = 1;
2079
-
2080
- InvalidIdsError invalid_ids = 2;
2081
-
2082
- NotFoundError not_found = 3;
2083
-
2084
- TypeTransformationError invalid_type = 4;
2085
- }
2086
- }
2087
-
2088
- message GetIdentityLastModifiedErrorDetails {
2089
- ThingErrorType type = 10;
2090
-
2091
- oneof rpc_error {
2092
- NotAuthorizedError not_authorized = 1;
2093
-
2094
- InvalidIdsError invalid_ids = 2;
2095
- }
2096
- }
2097
-
2098
- message GetInvitedModeratorPermissionsByAccountIdsErrorDetails {
2099
- ThingErrorType type = 10;
2100
-
2101
- oneof rpc_error {
2102
- NotAuthorizedError not_authorized = 1;
2103
-
2104
- InvalidIdsError invalid_ids = 2;
2105
-
2106
- InvalidRequestError invalid_request = 3;
2107
- }
2108
- }
2109
-
2110
- message GetLinkHidesDeprErrorDetails {
2111
- ThingErrorType type = 10;
2112
-
2113
- oneof rpc_error {
2114
- NotAuthorizedError not_authorized = 1;
2115
-
2116
- InvalidIdsError invalid_ids = 2;
2117
-
2118
- InvalidRequestError invalid_request = 3;
2119
- }
2120
- }
2121
-
2122
- message GetLinkHidesErrorDetails {
2123
- ThingErrorType type = 10;
2124
-
2125
- oneof rpc_error {
2126
- NotAuthorizedError not_authorized = 1;
2127
-
2128
- InvalidIdsError invalid_ids = 2;
2129
-
2130
- InvalidRequestError invalid_request = 3;
2131
- }
2132
- }
2133
-
2134
- message GetLinkIdsForUrlAndSrErrorDetails {
2135
- ThingErrorType type = 10;
2136
-
2137
- oneof rpc_error {
2138
- NotAuthorizedError not_authorized = 1;
2139
-
2140
- InvalidIdsError invalid_ids = 2;
2141
-
2142
- InvalidRequestError invalid_request = 3;
2143
- }
2144
- }
2145
-
2146
- message GetLinkModInfoErrorDetails {
2147
- ThingErrorType type = 10;
2148
-
2149
- oneof rpc_error {
2150
- NotAuthorizedError not_authorized = 1;
2151
-
2152
- InvalidIdsError invalid_ids = 2;
2153
-
2154
- InvalidRequestError invalid_request = 3;
2155
- }
2156
- }
2157
-
2158
- message GetLinkReportsErrorDetails {
2159
- ThingErrorType type = 10;
2160
-
2161
- oneof rpc_error {
2162
- NotAuthorizedError not_authorized = 1;
2163
-
2164
- InvalidIdsError invalid_ids = 2;
2165
-
2166
- InvalidRequestError invalid_request = 3;
2167
- }
2168
- }
2169
-
2170
- message GetLinkSavesErrorDetails {
2171
- ThingErrorType type = 10;
2172
-
2173
- oneof rpc_error {
2174
- NotAuthorizedError not_authorized = 1;
2175
-
2176
- InvalidIdsError invalid_ids = 2;
2177
-
2178
- InvalidRequestError invalid_request = 3;
2179
- }
2180
- }
2181
-
2182
- message GetLinkVisitsErrorDetails {
2183
- ThingErrorType type = 10;
2184
-
2185
- oneof rpc_error {
2186
- NotAuthorizedError not_authorized = 1;
2187
-
2188
- InvalidIdsError invalid_ids = 2;
2189
-
2190
- InvalidRequestError invalid_request = 3;
2191
- }
2192
- }
2193
-
2194
- message GetLinkVotesDeprErrorDetails {
2195
- ThingErrorType type = 10;
2196
-
2197
- oneof rpc_error {
2198
- NotAuthorizedError not_authorized = 1;
2199
-
2200
- InvalidIdsError invalid_ids = 2;
2201
-
2202
- InvalidRequestError invalid_request = 3;
2203
- }
2204
- }
2205
-
2206
- message GetLinkVotesErrorDetails {
2207
- ThingErrorType type = 10;
2208
-
2209
- oneof rpc_error {
2210
- NotAuthorizedError not_authorized = 1;
2211
-
2212
- InvalidIdsError invalid_ids = 2;
2213
-
2214
- InvalidRequestError invalid_request = 3;
2215
- }
2216
- }
2217
-
2218
- message GetLinksDeprErrorDetails {
2219
- ThingErrorType type = 10;
2220
-
2221
- oneof rpc_error {
2222
- NotAuthorizedError not_authorized = 1;
2223
-
2224
- InvalidIdsError invalid_ids = 2;
2225
-
2226
- InvalidRequestError invalid_request = 3;
2227
-
2228
- TypeTransformationError invalid_type = 4;
2229
- }
2230
- }
2231
-
2232
- message GetLinksErrorDetails {
2233
- ThingErrorType type = 10;
2234
-
2235
- oneof rpc_error {
2236
- NotAuthorizedError not_authorized = 1;
2237
-
2238
- InvalidIdsError invalid_ids = 2;
2239
-
2240
- InvalidRequestError invalid_request = 3;
2241
-
2242
- TypeTransformationError invalid_type = 4;
2243
- }
2244
- }
2245
-
2246
- message GetLiveEventErrorDetails {
2247
- ThingErrorType type = 10;
2248
-
2249
- oneof rpc_error {
2250
- NotAuthorizedError not_authorized = 1;
2251
- }
2252
- }
2253
-
2254
- message GetMessagesErrorDetails {
2255
- ThingErrorType type = 10;
2256
-
2257
- oneof rpc_error {
2258
- NotAuthorizedError not_authorized = 1;
2259
-
2260
- InvalidIdsError invalid_ids = 2;
2261
-
2262
- InvalidRequestError invalid_request = 3;
2263
-
2264
- TypeTransformationError invalid_type = 4;
2265
- }
2266
- }
2267
-
2268
- message GetModeratedSubredditsErrorDetails {
2269
- ThingErrorType type = 10;
2270
-
2271
- oneof rpc_error {
2272
- NotAuthorizedError not_authorized = 1;
2273
-
2274
- InvalidIdsError invalid_ids = 2;
2275
- }
2276
- }
2277
-
2278
- message GetModeratedSubredditsWithPermissionsErrorDetails {
2279
- ThingErrorType type = 10;
2280
-
2281
- oneof rpc_error {
2282
- NotAuthorizedError not_authorized = 1;
2283
-
2284
- InvalidIdsError invalid_ids = 2;
2285
- }
2286
- }
2287
-
2288
- message GetModeratorPermissionsByAccountIdsErrorDetails {
2289
- ThingErrorType type = 10;
2290
-
2291
- oneof rpc_error {
2292
- NotAuthorizedError not_authorized = 1;
2293
-
2294
- InvalidIdsError invalid_ids = 2;
2295
-
2296
- InvalidRequestError invalid_request = 3;
2297
- }
2298
- }
2299
-
2300
- message GetModeratorPermissionsErrorDetails {
2301
- ThingErrorType type = 10;
2302
-
2303
- oneof rpc_error {
2304
- NotAuthorizedError not_authorized = 1;
2305
-
2306
- InvalidIdsError invalid_ids = 2;
2307
-
2308
- InvalidRequestError invalid_request = 3;
2309
- }
2310
- }
2311
-
2312
- message GetMonthlyGildingsErrorDetails {
2313
- ThingErrorType type = 10;
2314
-
2315
- oneof rpc_error {
2316
- NotAuthorizedError not_authorized = 1;
2317
-
2318
- InvalidIdsError invalid_ids = 2;
2319
- }
2320
- }
2321
-
2322
- message GetMultiNamesByAccountsErrorDetails {
2323
- ThingErrorType type = 10;
2324
-
2325
- oneof rpc_error {
2326
- NotAuthorizedError not_authorized = 1;
2327
-
2328
- InvalidIdsError invalid_ids = 2;
2329
-
2330
- InvalidRequestError invalid_request = 3;
2331
- }
2332
- }
2333
-
2334
- message GetMultiSubscriptionsErrorDetails {
2335
- ThingErrorType type = 10;
2336
-
2337
- oneof rpc_error {
2338
- NotAuthorizedError not_authorized = 1;
2339
- }
2340
- }
2341
-
2342
- message GetMultisErrorDetails {
2343
- ThingErrorType type = 10;
2344
-
2345
- oneof rpc_error {
2346
- NotAuthorizedError not_authorized = 1;
2347
-
2348
- InvalidIdsError invalid_ids = 2;
2349
- }
2350
- }
2351
-
2352
- message GetNotificationLevelsForSubredditErrorDetails {
2353
- ThingErrorType type = 10;
2354
-
2355
- oneof rpc_error {
2356
- InvalidIdsError invalid_ids = 1;
2357
- }
2358
- }
2359
-
2360
- message GetPublicMultiNamesByAccountErrorDetails {
2361
- ThingErrorType type = 10;
2362
-
2363
- oneof rpc_error {
2364
- NotAuthorizedError not_authorized = 1;
2365
-
2366
- InvalidIdsError invalid_ids = 2;
2367
-
2368
- InvalidRequestError invalid_request = 3;
2369
- }
2370
- }
2371
-
2372
- message GetQuarantineOptinsErrorDetails {
2373
- ThingErrorType type = 10;
2374
-
2375
- oneof rpc_error {
2376
- NotAuthorizedError not_authorized = 1;
2377
-
2378
- InvalidIdsError invalid_ids = 2;
2379
-
2380
- InvalidRequestError invalid_request = 3;
2381
- }
2382
- }
2383
-
2384
- message GetRAllFilteredSubredditsDeprErrorDetails {
2385
- ThingErrorType type = 10;
2386
-
2387
- oneof rpc_error {
2388
- NotAuthorizedError not_authorized = 1;
2389
-
2390
- InvalidIdsError invalid_ids = 2;
2391
- }
2392
- }
2393
-
2394
- message GetRAllFilteredSubredditsErrorDetails {
2395
- ThingErrorType type = 10;
2396
-
2397
- oneof rpc_error {
2398
- NotAuthorizedError not_authorized = 1;
2399
-
2400
- InvalidIdsError invalid_ids = 2;
2401
- }
2402
- }
2403
-
2404
- message GetSocialLinksErrorDetails {
2405
- ThingErrorType type = 10;
2406
-
2407
- oneof rpc_error {
2408
- InvalidRequestError invalid_request = 1;
2409
- }
2410
- }
2411
-
2412
- message GetSrNotificationLevelsForAccountErrorDetails {
2413
- ThingErrorType type = 10;
2414
-
2415
- oneof rpc_error {
2416
- InvalidIdsError invalid_ids = 1;
2417
-
2418
- InvalidRequestError invalid_request = 2;
2419
- }
2420
- }
2421
-
2422
- message GetSubredditContributorsErrorDetails {
2423
- ThingErrorType type = 10;
2424
-
2425
- oneof rpc_error {
2426
- NotAuthorizedError not_authorized = 1;
2427
-
2428
- InvalidRequestError invalid_request = 2;
2429
- }
2430
- }
2431
-
2432
- message GetSubredditContributorsV2ErrorDetails {
2433
- ThingErrorType type = 10;
2434
-
2435
- oneof rpc_error {
2436
- NotAuthorizedError not_authorized = 1;
2437
-
2438
- InvalidRequestError invalid_request = 2;
2439
- }
2440
- }
2441
-
2442
- message GetSubredditDetailsErrorDetails {
2443
- ThingErrorType type = 10;
2444
-
2445
- oneof rpc_error {
2446
- NotAuthorizedError not_authorized = 1;
2447
-
2448
- InvalidIdsError invalid_ids = 2;
2449
-
2450
- InvalidRequestError invalid_request = 3;
2451
- }
2452
- }
2453
-
2454
- message GetSubredditFlairedAccountsByAccountsErrorDetails {
2455
- ThingErrorType type = 10;
2456
-
2457
- oneof rpc_error {
2458
- NotAuthorizedError not_authorized = 1;
2459
-
2460
- InvalidRequestError invalid_request = 2;
2461
- }
2462
- }
2463
-
2464
- message GetSubredditFlairedAccountsErrorDetails {
2465
- ThingErrorType type = 10;
2466
-
2467
- oneof rpc_error {
2468
- NotAuthorizedError not_authorized = 1;
2469
-
2470
- InvalidRequestError invalid_request = 2;
2471
- }
2472
- }
2473
-
2474
- message GetSubredditIdsDeprErrorDetails {
2475
- ThingErrorType type = 10;
2476
-
2477
- oneof rpc_error {
2478
- NotAuthorizedError not_authorized = 1;
2479
-
2480
- InvalidRequestError invalid_request = 2;
2481
- }
2482
- }
2483
-
2484
- message GetSubredditIdsErrorDetails {
2485
- ThingErrorType type = 10;
2486
-
2487
- oneof rpc_error {
2488
- NotAuthorizedError not_authorized = 1;
2489
- }
2490
- }
2491
-
2492
- message GetSubredditModeratorsErrorDetails {
2493
- ThingErrorType type = 10;
2494
-
2495
- oneof rpc_error {
2496
- NotAuthorizedError not_authorized = 1;
2497
-
2498
- InvalidRequestError invalid_request = 2;
2499
- }
2500
- }
2501
-
2502
- message GetSubredditModeratorsInvitedErrorDetails {
2503
- ThingErrorType type = 10;
2504
-
2505
- oneof rpc_error {
2506
- NotAuthorizedError not_authorized = 1;
2507
-
2508
- InvalidRequestError invalid_request = 2;
2509
-
2510
- InvalidIdsError invalid_ids = 3;
2511
- }
2512
- }
2513
-
2514
- message GetSubredditRulesErrorDetails {
2515
- ThingErrorType type = 10;
2516
-
2517
- oneof rpc_error {
2518
- NotAuthorizedError not_authorized = 1;
2519
-
2520
- InvalidIdsError invalid_ids = 2;
2521
-
2522
- InvalidRequestError invalid_request = 3;
2523
- }
2524
- }
2525
-
2526
- message GetSubredditsDeprErrorDetails {
2527
- ThingErrorType type = 10;
2528
-
2529
- oneof rpc_error {
2530
- NotAuthorizedError not_authorized = 1;
2531
-
2532
- InvalidIdsError invalid_ids = 2;
2533
-
2534
- InvalidRequestError invalid_request = 3;
2535
-
2536
- TypeTransformationError invalid_type = 4;
2537
- }
2538
- }
2539
-
2540
- message GetSubredditsErrorDetails {
2541
- ThingErrorType type = 10;
2542
-
2543
- oneof rpc_error {
2544
- NotAuthorizedError not_authorized = 1;
2545
-
2546
- InvalidIdsError invalid_ids = 2;
2547
-
2548
- InvalidRequestError invalid_request = 3;
2549
-
2550
- TypeTransformationError invalid_type = 4;
2551
- }
2552
- }
2553
-
2554
- message GetSubredditsNotUserByDateErrorDetails {
2555
- ThingErrorType type = 10;
2556
-
2557
- oneof rpc_error {
2558
- NotAuthorizedError not_authorized = 1;
2559
-
2560
- InvalidIdsError invalid_ids = 2;
2561
-
2562
- InvalidRequestError invalid_request = 3;
2563
- }
2564
- }
2565
-
2566
- message GetSubscribedAccountIdsErrorDetails {
2567
- ThingErrorType type = 10;
2568
-
2569
- oneof rpc_error {
2570
- NotAuthorizedError not_authorized = 1;
2571
-
2572
- InvalidIdsError invalid_ids = 2;
2573
- }
2574
- }
2575
-
2576
- message GetSubscribedSubredditsErrorDetails {
2577
- ThingErrorType type = 10;
2578
-
2579
- oneof rpc_error {
2580
- NotAuthorizedError not_authorized = 1;
2581
-
2582
- InvalidIdsError invalid_ids = 2;
2583
-
2584
- InvalidRequestError invalid_request = 3;
2585
- }
2586
- }
2587
-
2588
- message GetTrendingSubredditsErrorDetails {
2589
- ThingErrorType type = 10;
2590
-
2591
- oneof rpc_error {
2592
- NotAuthorizedError not_authorized = 1;
2593
- }
2594
- }
2595
-
2596
- message GetTrophiesErrorDetails {
2597
- ThingErrorType type = 10;
2598
-
2599
- oneof rpc_error {
2600
- NotAuthorizedError not_authorized = 1;
2601
-
2602
- InvalidIdsError invalid_ids = 2;
2603
-
2604
- InvalidRequestError invalid_request = 3;
2605
- }
2606
- }
2607
-
2608
- message GetVideoCountsErrorDetails {
2609
- ThingErrorType type = 10;
2610
-
2611
- oneof rpc_error {
2612
- NotAuthorizedError not_authorized = 1;
2613
-
2614
- InvalidIdsError invalid_ids = 2;
2615
-
2616
- InvalidRequestError invalid_request = 3;
2617
- }
2618
- }
2619
-
2620
- message GetViewableStatusErrorDetails {
2621
- ThingErrorType type = 10;
2622
-
2623
- oneof rpc_error {
2624
- NotAuthorizedError not_authorized = 1;
2625
-
2626
- InvalidIdsError invalid_ids = 2;
2627
-
2628
- InvalidRequestError invalid_request = 3;
2629
- }
2630
- }
2631
-
2632
- message IdentityIDExistsError {
2633
- //reason
2634
- string reason = 1;
2635
- }
2636
-
2637
- message IdentityNameExistsError {
2638
- //reason
2639
- string reason = 1;
2640
- }
2641
-
2642
- message IncrCommentPropsErrorDetails {
2643
- ThingErrorType type = 10;
2644
-
2645
- oneof rpc_error {
2646
- NotAuthorizedError not_authorized = 1;
2647
-
2648
- InvalidIdsError invalid_ids = 2;
2649
- }
2650
- }
2651
-
2652
- message IncrIdentityKarmaErrorDetails {
2653
- ThingErrorType type = 10;
2654
-
2655
- oneof rpc_error {
2656
- NotAuthorizedError not_authorized = 1;
2657
-
2658
- InvalidIdsError invalid_ids = 2;
2659
-
2660
- InvalidRequestError invalid_request = 3;
2661
- }
2662
- }
2663
-
2664
- message IncrIdentityPropsErrorDetails {
2665
- ThingErrorType type = 10;
2666
-
2667
- oneof rpc_error {
2668
- NotAuthorizedError not_authorized = 1;
2669
-
2670
- InvalidIdsError invalid_ids = 2;
2671
-
2672
- InvalidRequestError invalid_request = 3;
2673
- }
2674
- }
2675
-
2676
- message IncrLinkPropsErrorDetails {
2677
- ThingErrorType type = 10;
2678
-
2679
- oneof rpc_error {
2680
- NotAuthorizedError not_authorized = 1;
2681
-
2682
- InvalidIdsError invalid_ids = 2;
2683
- }
2684
- }
2685
-
2686
- message IncrMessagePropsErrorDetails {
2687
- ThingErrorType type = 10;
2688
-
2689
- oneof rpc_error {
2690
- NotAuthorizedError not_authorized = 1;
2691
-
2692
- InvalidIdsError invalid_ids = 2;
2693
- }
2694
- }
2695
-
2696
- message IncrSubredditPropsErrorDetails {
2697
- ThingErrorType type = 10;
2698
-
2699
- oneof rpc_error {
2700
- NotAuthorizedError not_authorized = 1;
2701
-
2702
- InvalidIdsError invalid_ids = 2;
2703
- }
2704
- }
2705
-
2706
- message InvalidIdsError {
2707
- //bad_ids
2708
- repeated string bad_ids = 1;
2709
- }
2710
-
2711
- message InvalidPager {
2712
- //reason
2713
- string reason = 1;
2714
- }
2715
-
2716
- message InvalidRequestError {
2717
- //reason
2718
- string reason = 1;
2719
- }
2720
-
2721
- message IsValidAccountNameErrorDetails {
2722
- ThingErrorType type = 10;
2723
-
2724
- oneof rpc_error {
2725
- NotAuthorizedError not_authorized = 1;
2726
- }
2727
- }
2728
-
2729
- message NotAuthorizedError {
2730
- //DELETED: 1: optional Scope required_scope;
2731
- string reason = 2;
2732
- }
2733
-
2734
- message NotFoundError {}
2735
-
2736
- message ReorderSocialLinksErrorDetails {
2737
- ThingErrorType type = 10;
2738
-
2739
- oneof rpc_error {
2740
- NotAuthorizedError not_authorized = 1;
2741
-
2742
- InvalidRequestError invalid_request = 2;
2743
-
2744
- SocialLinksReorderingError reordering_error = 3;
2745
- }
2746
- }
2747
-
2748
- message SocialLinksReorderingError {}
2749
-
2750
- message SubredditExistsError {
2751
- //reason
2752
- string reason = 1;
2753
- }
2754
-
2755
- message TypeTransformationError {
2756
- //reason
2757
- string reason = 1;
2758
- }
2759
-
2760
- message UpdateAccountGenderErrorDetails {
2761
- ThingErrorType type = 10;
2762
-
2763
- oneof rpc_error {
2764
- NotAuthorizedError not_authorized = 1;
2765
-
2766
- InvalidIdsError invalid_ids = 2;
2767
- }
2768
- }
2769
-
2770
- message UpdateCommentErrorDetails {
2771
- ThingErrorType type = 10;
2772
-
2773
- oneof rpc_error {
2774
- NotAuthorizedError not_authorized = 1;
2775
-
2776
- InvalidIdsError invalid_ids = 2;
2777
- }
2778
- }
2779
-
2780
- message UpdateIdentityErrorDetails {
2781
- ThingErrorType type = 10;
2782
-
2783
- oneof rpc_error {
2784
- NotAuthorizedError not_authorized = 1;
2785
-
2786
- InvalidIdsError invalid_ids = 2;
2787
-
2788
- IdentityNameExistsError name_exists = 3;
2789
- }
2790
- }
2791
-
2792
- message UpdateLinkErrorDetails {
2793
- ThingErrorType type = 10;
2794
-
2795
- oneof rpc_error {
2796
- NotAuthorizedError not_authorized = 1;
2797
-
2798
- InvalidIdsError invalid_ids = 2;
2799
- }
2800
- }
2801
-
2802
- message UpdateMessageErrorDetails {
2803
- ThingErrorType type = 10;
2804
-
2805
- oneof rpc_error {
2806
- NotAuthorizedError not_authorized = 1;
2807
-
2808
- InvalidIdsError invalid_ids = 2;
2809
- }
2810
- }
2811
-
2812
- message UpdateSocialLinksErrorDetails {
2813
- ThingErrorType type = 10;
2814
-
2815
- oneof rpc_error {
2816
- NotAuthorizedError not_authorized = 1;
2817
-
2818
- InvalidRequestError invalid_request = 2;
2819
- }
2820
- }
2821
-
2822
- message UpdateSrNotificationLevelErrorDetails {
2823
- ThingErrorType type = 10;
2824
-
2825
- oneof rpc_error {
2826
- NotAuthorizedError not_authorized = 1;
2827
-
2828
- InvalidIdsError invalid_ids = 2;
2829
- }
2830
- }
2831
-
2832
- message UpdateSubredditErrorDetails {
2833
- ThingErrorType type = 10;
2834
-
2835
- oneof rpc_error {
2836
- NotAuthorizedError not_authorized = 1;
2837
-
2838
- InvalidIdsError invalid_ids = 2;
2839
-
2840
- SubredditExistsError subreddit_exists = 3;
2841
- }
2842
- }
2843
-
2844
- // An enum whose constants each map to a legacy thing error type.
2845
- enum ThingErrorType {
2846
- // Default value. Should not be used directly.
2847
- // buf:lint:ignore ENUM_ZERO_VALUE_SUFFIX
2848
- THING_ERROR_TYPE_UNKNOWN = 0;
2849
- // The const entry for the InvalidIds error message
2850
- THING_ERROR_TYPE_INVALID_IDS = 1;
2851
- // The const entry for the NotAuthorized error message
2852
- THING_ERROR_TYPE_NOT_AUTHORIZED = 2;
2853
- // The const entry for the NotFound error message
2854
- THING_ERROR_TYPE_NOT_FOUND = 3;
2855
- // The const entry for the InvalidRequest error message
2856
- THING_ERROR_TYPE_INVALID_REQUEST = 4;
2857
- // The const entry for the InvalidPager error message
2858
- THING_ERROR_TYPE_INVALID_PAGER = 5;
2859
- // The const entry for the TypeTransformation error message
2860
- THING_ERROR_TYPE_TYPE_TRANSFORMATION = 6;
2861
- // The const entry for the LinksReordering error message
2862
- THING_ERROR_TYPE_SOCIAL_LINKS_REORDERING = 7;
2863
- // The const entry for the IdentityNameExists error message
2864
- THING_ERROR_TYPE_IDENTITY_NAME_EXISTS = 8;
2865
- // The const entry for the IdentityIdExists error message
2866
- THING_ERROR_TYPE_IDENTITY_ID_EXISTS = 9;
2867
- // The const entry for the SubredditExists error message
2868
- THING_ERROR_TYPE_SUBREDDIT_EXISTS = 10;
2869
- }