@djangocfg/api 2.1.35 → 2.1.37

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 (367) hide show
  1. package/dist/auth.cjs +3007 -4015
  2. package/dist/auth.cjs.map +1 -1
  3. package/dist/auth.mjs +3007 -4015
  4. package/dist/auth.mjs.map +1 -1
  5. package/dist/clients.cjs +4983 -0
  6. package/dist/clients.cjs.map +1 -0
  7. package/dist/clients.d.cts +4135 -0
  8. package/dist/clients.d.ts +4135 -0
  9. package/dist/clients.mjs +4957 -0
  10. package/dist/clients.mjs.map +1 -0
  11. package/dist/hooks.cjs +1083 -0
  12. package/dist/hooks.cjs.map +1 -1
  13. package/dist/hooks.d.cts +1122 -1
  14. package/dist/hooks.d.ts +1122 -1
  15. package/dist/hooks.mjs +1053 -0
  16. package/dist/hooks.mjs.map +1 -1
  17. package/dist/index.cjs +2888 -7848
  18. package/dist/index.cjs.map +1 -1
  19. package/dist/index.d.cts +1867 -9643
  20. package/dist/index.d.ts +1867 -9643
  21. package/dist/index.mjs +2891 -7851
  22. package/dist/index.mjs.map +1 -1
  23. package/package.json +8 -3
  24. package/src/auth/hooks/useGithubAuth.ts +3 -3
  25. package/src/clients.ts +57 -0
  26. package/src/generated/cfg_accounts/_utils/fetchers/{cfg_accounts__accounts.ts → accounts.ts} +10 -2
  27. package/src/generated/cfg_accounts/_utils/fetchers/{cfg_accounts__accounts__auth.ts → accounts__auth.ts} +9 -1
  28. package/src/generated/cfg_accounts/_utils/fetchers/{cfg_accounts__accounts__oauth.ts → accounts__oauth.ts} +13 -5
  29. package/src/generated/cfg_accounts/_utils/fetchers/{cfg_accounts__accounts__user_profile.ts → accounts__user_profile.ts} +14 -6
  30. package/src/generated/cfg_accounts/_utils/fetchers/index.ts +12 -29
  31. package/src/generated/cfg_accounts/_utils/hooks/{cfg_accounts__accounts.ts → accounts.ts} +9 -1
  32. package/src/generated/cfg_accounts/_utils/hooks/{cfg_accounts__accounts__auth.ts → accounts__auth.ts} +9 -1
  33. package/src/generated/cfg_accounts/_utils/hooks/{cfg_accounts__accounts__oauth.ts → accounts__oauth.ts} +9 -1
  34. package/src/generated/cfg_accounts/_utils/hooks/{cfg_accounts__accounts__user_profile.ts → accounts__user_profile.ts} +9 -1
  35. package/src/generated/cfg_accounts/_utils/hooks/index.ts +12 -29
  36. package/src/generated/cfg_accounts/_utils/schemas/index.ts +8 -134
  37. package/src/generated/cfg_accounts/{cfg_accounts__accounts → accounts}/client.ts +1 -1
  38. package/src/generated/cfg_accounts/accounts/index.ts +10 -0
  39. package/src/generated/cfg_accounts/{cfg_accounts__accounts → accounts}/models.ts +8 -0
  40. package/src/generated/cfg_accounts/{cfg_accounts__accounts__auth → accounts__auth}/client.ts +1 -1
  41. package/src/generated/cfg_accounts/accounts__auth/index.ts +10 -0
  42. package/src/generated/cfg_accounts/accounts__auth/models.ts +25 -0
  43. package/src/generated/cfg_accounts/{cfg_accounts__accounts__oauth → accounts__oauth}/client.ts +1 -1
  44. package/src/generated/cfg_accounts/accounts__oauth/index.ts +10 -0
  45. package/src/generated/cfg_accounts/{cfg_accounts__accounts__oauth → accounts__oauth}/models.ts +8 -0
  46. package/src/generated/cfg_accounts/{cfg_accounts__accounts__user_profile → accounts__user_profile}/client.ts +1 -1
  47. package/src/generated/cfg_accounts/accounts__user_profile/index.ts +10 -0
  48. package/src/generated/cfg_accounts/{cfg_accounts__accounts__user_profile → accounts__user_profile}/models.ts +8 -0
  49. package/src/generated/cfg_accounts/api-instance.ts +8 -0
  50. package/src/generated/cfg_accounts/client.ts +12 -87
  51. package/src/generated/cfg_accounts/enums.ts +8 -96
  52. package/src/generated/cfg_accounts/errors.ts +8 -0
  53. package/src/generated/cfg_accounts/http.ts +8 -0
  54. package/src/generated/cfg_accounts/index.ts +28 -195
  55. package/src/generated/cfg_accounts/logger.ts +8 -0
  56. package/src/generated/cfg_accounts/retry.ts +8 -0
  57. package/src/generated/cfg_accounts/schema.json +246 -10265
  58. package/src/generated/cfg_accounts/storage.ts +8 -0
  59. package/src/generated/cfg_accounts/validation-events.ts +8 -0
  60. package/src/generated/{cfg_accounts/_utils/fetchers/cfg_accounts__centrifugo__centrifugo_admin_api.ts → cfg_centrifugo/_utils/fetchers/centrifugo__centrifugo_admin_api.ts} +14 -6
  61. package/src/generated/{cfg_accounts/_utils/fetchers/cfg_accounts__centrifugo__centrifugo_auth.ts → cfg_centrifugo/_utils/fetchers/centrifugo__centrifugo_auth.ts} +9 -1
  62. package/src/generated/{cfg_accounts/_utils/fetchers/cfg_accounts__centrifugo__centrifugo_monitoring.ts → cfg_centrifugo/_utils/fetchers/centrifugo__centrifugo_monitoring.ts} +13 -5
  63. package/src/generated/{cfg_accounts/_utils/fetchers/cfg_accounts__centrifugo__centrifugo_testing.ts → cfg_centrifugo/_utils/fetchers/centrifugo__centrifugo_testing.ts} +11 -3
  64. package/src/generated/cfg_centrifugo/_utils/fetchers/index.ts +39 -0
  65. package/src/generated/{cfg_accounts/_utils/hooks/cfg_accounts__centrifugo__centrifugo_admin_api.ts → cfg_centrifugo/_utils/hooks/centrifugo__centrifugo_admin_api.ts} +9 -1
  66. package/src/generated/{cfg_accounts/_utils/hooks/cfg_accounts__centrifugo__centrifugo_auth.ts → cfg_centrifugo/_utils/hooks/centrifugo__centrifugo_auth.ts} +9 -1
  67. package/src/generated/{cfg_accounts/_utils/hooks/cfg_accounts__centrifugo__centrifugo_monitoring.ts → cfg_centrifugo/_utils/hooks/centrifugo__centrifugo_monitoring.ts} +9 -1
  68. package/src/generated/{cfg_accounts/_utils/hooks/cfg_accounts__centrifugo__centrifugo_testing.ts → cfg_centrifugo/_utils/hooks/centrifugo__centrifugo_testing.ts} +9 -1
  69. package/src/generated/cfg_centrifugo/_utils/hooks/index.ts +39 -0
  70. package/src/generated/cfg_centrifugo/_utils/schemas/index.ts +61 -0
  71. package/src/generated/cfg_centrifugo/api-instance.ts +139 -0
  72. package/src/generated/{cfg_accounts/cfg_accounts__centrifugo__centrifugo_admin_api → cfg_centrifugo/centrifugo__centrifugo_admin_api}/client.ts +1 -1
  73. package/src/generated/cfg_centrifugo/centrifugo__centrifugo_admin_api/index.ts +10 -0
  74. package/src/generated/{cfg_accounts/cfg_accounts__centrifugo__centrifugo_admin_api → cfg_centrifugo/centrifugo__centrifugo_admin_api}/models.ts +8 -0
  75. package/src/generated/{cfg_accounts/cfg_accounts__centrifugo__centrifugo_auth → cfg_centrifugo/centrifugo__centrifugo_auth}/client.ts +1 -1
  76. package/src/generated/cfg_centrifugo/centrifugo__centrifugo_auth/index.ts +10 -0
  77. package/src/generated/{cfg_accounts/cfg_accounts__centrifugo__centrifugo_auth → cfg_centrifugo/centrifugo__centrifugo_auth}/models.ts +8 -0
  78. package/src/generated/{cfg_accounts/cfg_accounts__centrifugo__centrifugo_monitoring → cfg_centrifugo/centrifugo__centrifugo_monitoring}/client.ts +1 -1
  79. package/src/generated/cfg_centrifugo/centrifugo__centrifugo_monitoring/index.ts +10 -0
  80. package/src/generated/{cfg_accounts/cfg_accounts__centrifugo__centrifugo_monitoring → cfg_centrifugo/centrifugo__centrifugo_monitoring}/models.ts +8 -0
  81. package/src/generated/{cfg_accounts/cfg_accounts__centrifugo__centrifugo_testing → cfg_centrifugo/centrifugo__centrifugo_testing}/client.ts +1 -1
  82. package/src/generated/cfg_centrifugo/centrifugo__centrifugo_testing/index.ts +10 -0
  83. package/src/generated/{cfg_accounts/cfg_accounts__centrifugo__centrifugo_testing → cfg_centrifugo/centrifugo__centrifugo_testing}/models.ts +8 -0
  84. package/src/generated/cfg_centrifugo/client.ts +310 -0
  85. package/src/generated/cfg_centrifugo/errors.ts +124 -0
  86. package/src/generated/cfg_centrifugo/http.ts +111 -0
  87. package/src/generated/cfg_centrifugo/index.ts +301 -0
  88. package/src/generated/cfg_centrifugo/logger.ts +267 -0
  89. package/src/generated/cfg_centrifugo/retry.ts +183 -0
  90. package/src/generated/cfg_centrifugo/schema.json +2123 -0
  91. package/src/generated/cfg_centrifugo/storage.ts +169 -0
  92. package/src/generated/cfg_centrifugo/validation-events.ts +141 -0
  93. package/src/generated/cfg_webpush/_utils/fetchers/index.ts +36 -0
  94. package/src/generated/{cfg_accounts/_utils/fetchers/cfg_accounts__grpc__grpc_api_keys.ts → cfg_webpush/_utils/fetchers/webpush__web_push.ts} +45 -35
  95. package/src/generated/cfg_webpush/_utils/hooks/index.ts +36 -0
  96. package/src/generated/cfg_webpush/_utils/hooks/webpush__web_push.ts +86 -0
  97. package/src/generated/cfg_webpush/_utils/schemas/SendPushRequestRequest.schema.ts +22 -0
  98. package/src/generated/cfg_webpush/_utils/schemas/SendPushResponse.schema.ts +20 -0
  99. package/src/generated/cfg_webpush/_utils/schemas/SubscribeRequestRequest.schema.ts +20 -0
  100. package/src/generated/cfg_webpush/_utils/schemas/SubscribeResponse.schema.ts +21 -0
  101. package/src/generated/cfg_webpush/_utils/schemas/VapidPublicKeyResponse.schema.ts +19 -0
  102. package/src/generated/cfg_webpush/_utils/schemas/index.ts +31 -0
  103. package/src/generated/cfg_webpush/api-instance.ts +139 -0
  104. package/src/generated/cfg_webpush/client.ts +301 -0
  105. package/src/generated/cfg_webpush/errors.ts +124 -0
  106. package/src/generated/cfg_webpush/http.ts +111 -0
  107. package/src/generated/cfg_webpush/index.ts +280 -0
  108. package/src/generated/cfg_webpush/logger.ts +267 -0
  109. package/src/generated/cfg_webpush/retry.ts +183 -0
  110. package/src/generated/cfg_webpush/schema.json +302 -0
  111. package/src/generated/cfg_webpush/storage.ts +169 -0
  112. package/src/generated/cfg_webpush/validation-events.ts +141 -0
  113. package/src/generated/cfg_webpush/webpush__web_push/client.ts +45 -0
  114. package/src/generated/cfg_webpush/webpush__web_push/index.ts +10 -0
  115. package/src/generated/cfg_webpush/webpush__web_push/models.ts +72 -0
  116. package/src/hooks/accounts.ts +8 -0
  117. package/src/hooks/index.ts +10 -0
  118. package/src/hooks/webpush.ts +12 -0
  119. package/src/index.ts +11 -0
  120. package/src/server.ts +5 -8
  121. package/src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__dashboard__dashboard_activity.ts +0 -62
  122. package/src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__dashboard__dashboard_api_zones.ts +0 -106
  123. package/src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__dashboard__dashboard_charts.ts +0 -177
  124. package/src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__dashboard__dashboard_commands.ts +0 -179
  125. package/src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__dashboard__dashboard_config.ts +0 -92
  126. package/src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__dashboard__dashboard_overview.ts +0 -92
  127. package/src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__dashboard__dashboard_statistics.ts +0 -120
  128. package/src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__dashboard__dashboard_system.ts +0 -150
  129. package/src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__endpoints.ts +0 -164
  130. package/src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__grpc__grpc_configuration.ts +0 -150
  131. package/src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__grpc__grpc_monitoring.ts +0 -280
  132. package/src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__grpc__grpc_services.ts +0 -208
  133. package/src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__health.ts +0 -150
  134. package/src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__rq__rq_jobs.ts +0 -323
  135. package/src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__rq__rq_monitoring.ts +0 -164
  136. package/src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__rq__rq_queues.ts +0 -134
  137. package/src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__rq__rq_registries.ts +0 -436
  138. package/src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__rq__rq_schedules.ts +0 -266
  139. package/src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__rq__rq_testing.ts +0 -293
  140. package/src/generated/cfg_accounts/_utils/fetchers/cfg_accounts__rq__rq_workers.ts +0 -106
  141. package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__dashboard__dashboard_activity.ts +0 -50
  142. package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__dashboard__dashboard_api_zones.ts +0 -51
  143. package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__dashboard__dashboard_charts.ts +0 -79
  144. package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__dashboard__dashboard_commands.ts +0 -86
  145. package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__dashboard__dashboard_config.ts +0 -37
  146. package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__dashboard__dashboard_overview.ts +0 -37
  147. package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__dashboard__dashboard_statistics.ts +0 -65
  148. package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__dashboard__dashboard_system.ts +0 -52
  149. package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__endpoints.ts +0 -66
  150. package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__grpc__grpc_api_keys.ts +0 -67
  151. package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__grpc__grpc_configuration.ts +0 -52
  152. package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__grpc__grpc_monitoring.ts +0 -96
  153. package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__grpc__grpc_services.ts +0 -67
  154. package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__health.ts +0 -52
  155. package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__rq__rq_jobs.ts +0 -110
  156. package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__rq__rq_monitoring.ts +0 -66
  157. package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__rq__rq_queues.ts +0 -84
  158. package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__rq__rq_registries.ts +0 -136
  159. package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__rq__rq_schedules.ts +0 -92
  160. package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__rq__rq_testing.ts +0 -126
  161. package/src/generated/cfg_accounts/_utils/hooks/cfg_accounts__rq__rq_workers.ts +0 -51
  162. package/src/generated/cfg_accounts/_utils/schemas/APIZone.schema.ts +0 -29
  163. package/src/generated/cfg_accounts/_utils/schemas/APIZonesSummary.schema.ts +0 -22
  164. package/src/generated/cfg_accounts/_utils/schemas/ActivityEntry.schema.ts +0 -25
  165. package/src/generated/cfg_accounts/_utils/schemas/ActivityTrackerDay.schema.ts +0 -23
  166. package/src/generated/cfg_accounts/_utils/schemas/ApiKey.schema.ts +0 -30
  167. package/src/generated/cfg_accounts/_utils/schemas/ApiKeyStats.schema.ts +0 -22
  168. package/src/generated/cfg_accounts/_utils/schemas/AppStatistics.schema.ts +0 -21
  169. package/src/generated/cfg_accounts/_utils/schemas/AppStatisticsData.schema.ts +0 -23
  170. package/src/generated/cfg_accounts/_utils/schemas/AxesConfig.schema.ts +0 -35
  171. package/src/generated/cfg_accounts/_utils/schemas/CentrifugoConfig.schema.ts +0 -35
  172. package/src/generated/cfg_accounts/_utils/schemas/ChartData.schema.ts +0 -21
  173. package/src/generated/cfg_accounts/_utils/schemas/ChartDataset.schema.ts +0 -24
  174. package/src/generated/cfg_accounts/_utils/schemas/Command.schema.ts +0 -38
  175. package/src/generated/cfg_accounts/_utils/schemas/CommandCategory.schema.ts +0 -21
  176. package/src/generated/cfg_accounts/_utils/schemas/CommandExecuteRequestRequest.schema.ts +0 -21
  177. package/src/generated/cfg_accounts/_utils/schemas/CommandHelpResponse.schema.ts +0 -25
  178. package/src/generated/cfg_accounts/_utils/schemas/CommandsSummary.schema.ts +0 -26
  179. package/src/generated/cfg_accounts/_utils/schemas/ConfigData.schema.ts +0 -27
  180. package/src/generated/cfg_accounts/_utils/schemas/ConfigMeta.schema.ts +0 -20
  181. package/src/generated/cfg_accounts/_utils/schemas/ConfigValidation.schema.ts +0 -24
  182. package/src/generated/cfg_accounts/_utils/schemas/ConstanceConfig.schema.ts +0 -24
  183. package/src/generated/cfg_accounts/_utils/schemas/DRFConfig.schema.ts +0 -20
  184. package/src/generated/cfg_accounts/_utils/schemas/DRFHealthCheck.schema.ts +0 -25
  185. package/src/generated/cfg_accounts/_utils/schemas/DashboardOverview.schema.ts +0 -35
  186. package/src/generated/cfg_accounts/_utils/schemas/DatabaseConfig.schema.ts +0 -31
  187. package/src/generated/cfg_accounts/_utils/schemas/DjangoConfig.schema.ts +0 -93
  188. package/src/generated/cfg_accounts/_utils/schemas/DjangoRQConfig.schema.ts +0 -27
  189. package/src/generated/cfg_accounts/_utils/schemas/EmailConfig.schema.ts +0 -28
  190. package/src/generated/cfg_accounts/_utils/schemas/Endpoint.schema.ts +0 -35
  191. package/src/generated/cfg_accounts/_utils/schemas/EndpointsStatus.schema.ts +0 -28
  192. package/src/generated/cfg_accounts/_utils/schemas/GRPCConfig.schema.ts +0 -26
  193. package/src/generated/cfg_accounts/_utils/schemas/GRPCConfigDashboard.schema.ts +0 -33
  194. package/src/generated/cfg_accounts/_utils/schemas/GRPCFeatures.schema.ts +0 -22
  195. package/src/generated/cfg_accounts/_utils/schemas/GRPCFrameworkConfig.schema.ts +0 -22
  196. package/src/generated/cfg_accounts/_utils/schemas/GRPCHealthCheck.schema.ts +0 -23
  197. package/src/generated/cfg_accounts/_utils/schemas/GRPCInterceptorInfo.schema.ts +0 -20
  198. package/src/generated/cfg_accounts/_utils/schemas/GRPCOverviewStats.schema.ts +0 -29
  199. package/src/generated/cfg_accounts/_utils/schemas/GRPCRegisteredService.schema.ts +0 -24
  200. package/src/generated/cfg_accounts/_utils/schemas/GRPCServerConfig.schema.ts +0 -23
  201. package/src/generated/cfg_accounts/_utils/schemas/GRPCServerInfo.schema.ts +0 -28
  202. package/src/generated/cfg_accounts/_utils/schemas/GRPCServerStatus.schema.ts +0 -30
  203. package/src/generated/cfg_accounts/_utils/schemas/GRPCServiceInfo.schema.ts +0 -22
  204. package/src/generated/cfg_accounts/_utils/schemas/GRPCServiceRegistryMethodStats.schema.ts +0 -26
  205. package/src/generated/cfg_accounts/_utils/schemas/GRPCStats.schema.ts +0 -21
  206. package/src/generated/cfg_accounts/_utils/schemas/GitHubOAuthConfig.schema.ts +0 -30
  207. package/src/generated/cfg_accounts/_utils/schemas/JWTConfig.schema.ts +0 -21
  208. package/src/generated/cfg_accounts/_utils/schemas/JobActionResponse.schema.ts +0 -26
  209. package/src/generated/cfg_accounts/_utils/schemas/JobDetail.schema.ts +0 -40
  210. package/src/generated/cfg_accounts/_utils/schemas/JobList.schema.ts +0 -28
  211. package/src/generated/cfg_accounts/_utils/schemas/JobListRequest.schema.ts +0 -28
  212. package/src/generated/cfg_accounts/_utils/schemas/MethodInfo.schema.ts +0 -24
  213. package/src/generated/cfg_accounts/_utils/schemas/MethodList.schema.ts +0 -21
  214. package/src/generated/cfg_accounts/_utils/schemas/MethodSummary.schema.ts +0 -25
  215. package/src/generated/cfg_accounts/_utils/schemas/ModelStatistics.schema.ts +0 -23
  216. package/src/generated/cfg_accounts/_utils/schemas/NextJSAdminConfig.schema.ts +0 -21
  217. package/src/generated/cfg_accounts/_utils/schemas/NgrokConfig.schema.ts +0 -22
  218. package/src/generated/cfg_accounts/_utils/schemas/OpenAPIClientConfig.schema.ts +0 -26
  219. package/src/generated/cfg_accounts/_utils/schemas/PaginatedApiKeyList.schema.ts +0 -24
  220. package/src/generated/cfg_accounts/_utils/schemas/PaginatedJobListList.schema.ts +0 -24
  221. package/src/generated/cfg_accounts/_utils/schemas/PaginatedRecentRequestList.schema.ts +0 -24
  222. package/src/generated/cfg_accounts/_utils/schemas/PaginatedScheduledJobList.schema.ts +0 -24
  223. package/src/generated/cfg_accounts/_utils/schemas/PaginatedServiceSummaryList.schema.ts +0 -24
  224. package/src/generated/cfg_accounts/_utils/schemas/PaymentsConfig.schema.ts +0 -21
  225. package/src/generated/cfg_accounts/_utils/schemas/PaymentsNowPayments.schema.ts +0 -22
  226. package/src/generated/cfg_accounts/_utils/schemas/QueueDetail.schema.ts +0 -34
  227. package/src/generated/cfg_accounts/_utils/schemas/QueueStats.schema.ts +0 -31
  228. package/src/generated/cfg_accounts/_utils/schemas/QuickAction.schema.ts +0 -29
  229. package/src/generated/cfg_accounts/_utils/schemas/QuickHealth.schema.ts +0 -21
  230. package/src/generated/cfg_accounts/_utils/schemas/RQConfig.schema.ts +0 -30
  231. package/src/generated/cfg_accounts/_utils/schemas/RQHealthCheck.schema.ts +0 -31
  232. package/src/generated/cfg_accounts/_utils/schemas/RQSchedule.schema.ts +0 -26
  233. package/src/generated/cfg_accounts/_utils/schemas/RecentError.schema.ts +0 -22
  234. package/src/generated/cfg_accounts/_utils/schemas/RecentRequest.schema.ts +0 -33
  235. package/src/generated/cfg_accounts/_utils/schemas/RecentUser.schema.ts +0 -26
  236. package/src/generated/cfg_accounts/_utils/schemas/RedisQueueConfig.schema.ts +0 -29
  237. package/src/generated/cfg_accounts/_utils/schemas/RunDemoRequestRequest.schema.ts +0 -24
  238. package/src/generated/cfg_accounts/_utils/schemas/ScheduleActionResponse.schema.ts +0 -22
  239. package/src/generated/cfg_accounts/_utils/schemas/ScheduleCreateRequest.schema.ts +0 -39
  240. package/src/generated/cfg_accounts/_utils/schemas/ScheduleInfo.schema.ts +0 -27
  241. package/src/generated/cfg_accounts/_utils/schemas/ScheduledJob.schema.ts +0 -32
  242. package/src/generated/cfg_accounts/_utils/schemas/ServiceDetail.schema.ts +0 -31
  243. package/src/generated/cfg_accounts/_utils/schemas/ServiceMethods.schema.ts +0 -22
  244. package/src/generated/cfg_accounts/_utils/schemas/ServiceStats.schema.ts +0 -24
  245. package/src/generated/cfg_accounts/_utils/schemas/ServiceSummary.schema.ts +0 -26
  246. package/src/generated/cfg_accounts/_utils/schemas/SpectacularConfig.schema.ts +0 -21
  247. package/src/generated/cfg_accounts/_utils/schemas/StatCard.schema.ts +0 -30
  248. package/src/generated/cfg_accounts/_utils/schemas/StressTestRequestRequest.schema.ts +0 -23
  249. package/src/generated/cfg_accounts/_utils/schemas/SystemHealth.schema.ts +0 -24
  250. package/src/generated/cfg_accounts/_utils/schemas/SystemHealthItem.schema.ts +0 -28
  251. package/src/generated/cfg_accounts/_utils/schemas/SystemMetrics.schema.ts +0 -25
  252. package/src/generated/cfg_accounts/_utils/schemas/TelegramConfig.schema.ts +0 -28
  253. package/src/generated/cfg_accounts/_utils/schemas/TestScenario.schema.ts +0 -25
  254. package/src/generated/cfg_accounts/_utils/schemas/TestingActionResponse.schema.ts +0 -23
  255. package/src/generated/cfg_accounts/_utils/schemas/URLPattern.schema.ts +0 -26
  256. package/src/generated/cfg_accounts/_utils/schemas/URLsList.schema.ts +0 -25
  257. package/src/generated/cfg_accounts/_utils/schemas/UserStatistics.schema.ts +0 -22
  258. package/src/generated/cfg_accounts/_utils/schemas/Worker.schema.ts +0 -31
  259. package/src/generated/cfg_accounts/_utils/schemas/WorkerStats.schema.ts +0 -31
  260. package/src/generated/cfg_accounts/_utils/schemas/ZonesSummaryStats.schema.ts +0 -21
  261. package/src/generated/cfg_accounts/cfg_accounts__accounts/index.ts +0 -2
  262. package/src/generated/cfg_accounts/cfg_accounts__accounts__auth/index.ts +0 -2
  263. package/src/generated/cfg_accounts/cfg_accounts__accounts__auth/models.ts +0 -17
  264. package/src/generated/cfg_accounts/cfg_accounts__accounts__oauth/index.ts +0 -2
  265. package/src/generated/cfg_accounts/cfg_accounts__accounts__user_profile/index.ts +0 -2
  266. package/src/generated/cfg_accounts/cfg_accounts__centrifugo__centrifugo_admin_api/index.ts +0 -2
  267. package/src/generated/cfg_accounts/cfg_accounts__centrifugo__centrifugo_auth/index.ts +0 -2
  268. package/src/generated/cfg_accounts/cfg_accounts__centrifugo__centrifugo_monitoring/index.ts +0 -2
  269. package/src/generated/cfg_accounts/cfg_accounts__centrifugo__centrifugo_testing/index.ts +0 -2
  270. package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_activity/client.ts +0 -45
  271. package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_activity/index.ts +0 -2
  272. package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_activity/models.ts +0 -0
  273. package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_api_zones/client.ts +0 -34
  274. package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_api_zones/index.ts +0 -2
  275. package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_api_zones/models.ts +0 -40
  276. package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_charts/client.ts +0 -98
  277. package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_charts/index.ts +0 -2
  278. package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_charts/models.ts +0 -24
  279. package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_commands/client.ts +0 -55
  280. package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_commands/index.ts +0 -2
  281. package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_commands/models.ts +0 -80
  282. package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_config/client.ts +0 -25
  283. package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_config/index.ts +0 -2
  284. package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_config/models.ts +0 -412
  285. package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_overview/client.ts +0 -25
  286. package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_overview/index.ts +0 -2
  287. package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_overview/models.ts +0 -228
  288. package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_statistics/client.ts +0 -44
  289. package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_statistics/index.ts +0 -2
  290. package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_statistics/models.ts +0 -16
  291. package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_system/client.ts +0 -34
  292. package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_system/index.ts +0 -2
  293. package/src/generated/cfg_accounts/cfg_accounts__dashboard__dashboard_system/models.ts +0 -69
  294. package/src/generated/cfg_accounts/cfg_accounts__endpoints/client.ts +0 -42
  295. package/src/generated/cfg_accounts/cfg_accounts__endpoints/index.ts +0 -2
  296. package/src/generated/cfg_accounts/cfg_accounts__endpoints/models.ts +0 -112
  297. package/src/generated/cfg_accounts/cfg_accounts__grpc__grpc_api_keys/client.ts +0 -56
  298. package/src/generated/cfg_accounts/cfg_accounts__grpc__grpc_api_keys/index.ts +0 -2
  299. package/src/generated/cfg_accounts/cfg_accounts__grpc__grpc_api_keys/models.ts +0 -73
  300. package/src/generated/cfg_accounts/cfg_accounts__grpc__grpc_configuration/client.ts +0 -35
  301. package/src/generated/cfg_accounts/cfg_accounts__grpc__grpc_configuration/index.ts +0 -2
  302. package/src/generated/cfg_accounts/cfg_accounts__grpc__grpc_configuration/models.ts +0 -128
  303. package/src/generated/cfg_accounts/cfg_accounts__grpc__grpc_monitoring/client.ts +0 -109
  304. package/src/generated/cfg_accounts/cfg_accounts__grpc__grpc_monitoring/index.ts +0 -2
  305. package/src/generated/cfg_accounts/cfg_accounts__grpc__grpc_monitoring/models.ts +0 -213
  306. package/src/generated/cfg_accounts/cfg_accounts__grpc__grpc_services/client.ts +0 -56
  307. package/src/generated/cfg_accounts/cfg_accounts__grpc__grpc_services/index.ts +0 -2
  308. package/src/generated/cfg_accounts/cfg_accounts__grpc__grpc_services/models.ts +0 -189
  309. package/src/generated/cfg_accounts/cfg_accounts__health/client.ts +0 -30
  310. package/src/generated/cfg_accounts/cfg_accounts__health/index.ts +0 -2
  311. package/src/generated/cfg_accounts/cfg_accounts__health/models.ts +0 -36
  312. package/src/generated/cfg_accounts/cfg_accounts__rq__rq_jobs/client.ts +0 -76
  313. package/src/generated/cfg_accounts/cfg_accounts__rq__rq_jobs/index.ts +0 -2
  314. package/src/generated/cfg_accounts/cfg_accounts__rq__rq_jobs/models.ts +0 -127
  315. package/src/generated/cfg_accounts/cfg_accounts__rq__rq_monitoring/client.ts +0 -45
  316. package/src/generated/cfg_accounts/cfg_accounts__rq__rq_monitoring/index.ts +0 -2
  317. package/src/generated/cfg_accounts/cfg_accounts__rq__rq_monitoring/models.ts +0 -66
  318. package/src/generated/cfg_accounts/cfg_accounts__rq__rq_queues/client.ts +0 -78
  319. package/src/generated/cfg_accounts/cfg_accounts__rq__rq_queues/index.ts +0 -2
  320. package/src/generated/cfg_accounts/cfg_accounts__rq__rq_queues/models.ts +0 -33
  321. package/src/generated/cfg_accounts/cfg_accounts__rq__rq_registries/client.ts +0 -164
  322. package/src/generated/cfg_accounts/cfg_accounts__rq__rq_registries/index.ts +0 -2
  323. package/src/generated/cfg_accounts/cfg_accounts__rq__rq_registries/models.ts +0 -82
  324. package/src/generated/cfg_accounts/cfg_accounts__rq__rq_schedules/client.ts +0 -91
  325. package/src/generated/cfg_accounts/cfg_accounts__rq__rq_schedules/index.ts +0 -2
  326. package/src/generated/cfg_accounts/cfg_accounts__rq__rq_schedules/models.ts +0 -109
  327. package/src/generated/cfg_accounts/cfg_accounts__rq__rq_testing/client.ts +0 -96
  328. package/src/generated/cfg_accounts/cfg_accounts__rq__rq_testing/index.ts +0 -2
  329. package/src/generated/cfg_accounts/cfg_accounts__rq__rq_testing/models.ts +0 -68
  330. package/src/generated/cfg_accounts/cfg_accounts__rq__rq_workers/client.ts +0 -46
  331. package/src/generated/cfg_accounts/cfg_accounts__rq__rq_workers/index.ts +0 -2
  332. package/src/generated/cfg_accounts/cfg_accounts__rq__rq_workers/models.ts +0 -52
  333. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoChannelInfo.schema.ts +0 -0
  334. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoChannelsRequestRequest.schema.ts +0 -0
  335. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoChannelsResponse.schema.ts +0 -0
  336. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoChannelsResult.schema.ts +0 -0
  337. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoClientInfo.schema.ts +0 -0
  338. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoError.schema.ts +0 -0
  339. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoHealthCheck.schema.ts +0 -0
  340. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoHistoryRequestRequest.schema.ts +0 -0
  341. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoHistoryResponse.schema.ts +0 -0
  342. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoHistoryResult.schema.ts +0 -0
  343. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoInfoResponse.schema.ts +0 -0
  344. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoInfoResult.schema.ts +0 -0
  345. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoMetrics.schema.ts +0 -0
  346. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoNodeInfo.schema.ts +0 -0
  347. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoOverviewStats.schema.ts +0 -0
  348. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoPresenceRequestRequest.schema.ts +0 -0
  349. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoPresenceResponse.schema.ts +0 -0
  350. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoPresenceResult.schema.ts +0 -0
  351. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoPresenceStatsRequestRequest.schema.ts +0 -0
  352. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoPresenceStatsResponse.schema.ts +0 -0
  353. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoPresenceStatsResult.schema.ts +0 -0
  354. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoProcess.schema.ts +0 -0
  355. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoPublication.schema.ts +0 -0
  356. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/CentrifugoStreamPosition.schema.ts +0 -0
  357. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/ChannelList.schema.ts +0 -0
  358. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/ChannelStats.schema.ts +0 -0
  359. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/ConnectionTokenResponse.schema.ts +0 -0
  360. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/ManualAckRequestRequest.schema.ts +0 -0
  361. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/ManualAckResponse.schema.ts +0 -0
  362. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/PaginatedPublishList.schema.ts +0 -0
  363. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/Publish.schema.ts +0 -0
  364. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/PublishTestRequestRequest.schema.ts +0 -0
  365. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/PublishTestResponse.schema.ts +0 -0
  366. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/TimelineItem.schema.ts +0 -0
  367. /package/src/generated/{cfg_accounts → cfg_centrifugo}/_utils/schemas/TimelineResponse.schema.ts +0 -0
@@ -0,0 +1,2123 @@
1
+ {
2
+ "openapi": "3.0.3",
3
+ "info": {
4
+ "title": "Django CFG API",
5
+ "version": "1.0.0",
6
+ "description": "Complete API documentation for Django CFG Demo Project",
7
+ "x-django-metadata": {
8
+ "group": "cfg_centrifugo",
9
+ "apps": [
10
+ "django_cfg_centrifugo"
11
+ ],
12
+ "generator": "django-client",
13
+ "generator_version": "1.0.0"
14
+ }
15
+ },
16
+ "paths": {
17
+ "/cfg/centrifugo/auth/token/": {
18
+ "get": {
19
+ "operationId": "cfg_centrifugo_auth_token_retrieve",
20
+ "description": "Generate JWT token for WebSocket connection to Centrifugo. Token includes user's allowed channels based on their permissions. Requires authentication.",
21
+ "summary": "Get Centrifugo connection token",
22
+ "tags": [
23
+ "Centrifugo Auth"
24
+ ],
25
+ "security": [
26
+ {
27
+ "jwtAuthWithLastLogin": []
28
+ }
29
+ ],
30
+ "responses": {
31
+ "200": {
32
+ "content": {
33
+ "application/json": {
34
+ "schema": {
35
+ "$ref": "#/components/schemas/ConnectionTokenResponse"
36
+ }
37
+ }
38
+ },
39
+ "description": ""
40
+ },
41
+ "401": {
42
+ "content": {
43
+ "application/json": {
44
+ "schema": {
45
+ "description": "Unauthorized - authentication required"
46
+ }
47
+ }
48
+ },
49
+ "description": ""
50
+ },
51
+ "500": {
52
+ "content": {
53
+ "application/json": {
54
+ "schema": {
55
+ "description": "Server error"
56
+ }
57
+ }
58
+ },
59
+ "description": ""
60
+ }
61
+ },
62
+ "x-async-capable": false
63
+ }
64
+ },
65
+ "/cfg/centrifugo/monitor/channels/": {
66
+ "get": {
67
+ "operationId": "cfg_centrifugo_monitor_channels_retrieve",
68
+ "description": "Returns statistics grouped by channel.",
69
+ "summary": "Get channel statistics",
70
+ "parameters": [
71
+ {
72
+ "in": "query",
73
+ "name": "hours",
74
+ "schema": {
75
+ "type": "integer"
76
+ },
77
+ "description": "Statistics period in hours (default: 24)"
78
+ }
79
+ ],
80
+ "tags": [
81
+ "Centrifugo Monitoring"
82
+ ],
83
+ "security": [
84
+ {
85
+ "jwtAuth": []
86
+ },
87
+ {
88
+ "cookieAuth": []
89
+ },
90
+ {
91
+ "basicAuth": []
92
+ }
93
+ ],
94
+ "responses": {
95
+ "200": {
96
+ "content": {
97
+ "application/json": {
98
+ "schema": {
99
+ "$ref": "#/components/schemas/ChannelList"
100
+ }
101
+ }
102
+ },
103
+ "description": ""
104
+ },
105
+ "400": {
106
+ "content": {
107
+ "application/json": {
108
+ "schema": {
109
+ "description": "Invalid parameters"
110
+ }
111
+ }
112
+ },
113
+ "description": ""
114
+ }
115
+ },
116
+ "x-async-capable": false
117
+ }
118
+ },
119
+ "/cfg/centrifugo/monitor/health/": {
120
+ "get": {
121
+ "operationId": "cfg_centrifugo_monitor_health_retrieve",
122
+ "description": "Returns the current health status of the Centrifugo client.",
123
+ "summary": "Get Centrifugo health status",
124
+ "tags": [
125
+ "Centrifugo Monitoring"
126
+ ],
127
+ "security": [
128
+ {
129
+ "jwtAuth": []
130
+ },
131
+ {
132
+ "cookieAuth": []
133
+ },
134
+ {
135
+ "basicAuth": []
136
+ }
137
+ ],
138
+ "responses": {
139
+ "200": {
140
+ "content": {
141
+ "application/json": {
142
+ "schema": {
143
+ "$ref": "#/components/schemas/CentrifugoHealthCheck"
144
+ }
145
+ }
146
+ },
147
+ "description": ""
148
+ },
149
+ "503": {
150
+ "content": {
151
+ "application/json": {
152
+ "schema": {
153
+ "description": "Service unavailable"
154
+ }
155
+ }
156
+ },
157
+ "description": ""
158
+ }
159
+ },
160
+ "x-async-capable": false
161
+ }
162
+ },
163
+ "/cfg/centrifugo/monitor/overview/": {
164
+ "get": {
165
+ "operationId": "cfg_centrifugo_monitor_overview_retrieve",
166
+ "description": "Returns overview statistics for Centrifugo publishes.",
167
+ "summary": "Get overview statistics",
168
+ "parameters": [
169
+ {
170
+ "in": "query",
171
+ "name": "hours",
172
+ "schema": {
173
+ "type": "integer"
174
+ },
175
+ "description": "Statistics period in hours (default: 24)"
176
+ }
177
+ ],
178
+ "tags": [
179
+ "Centrifugo Monitoring"
180
+ ],
181
+ "security": [
182
+ {
183
+ "jwtAuth": []
184
+ },
185
+ {
186
+ "cookieAuth": []
187
+ },
188
+ {
189
+ "basicAuth": []
190
+ }
191
+ ],
192
+ "responses": {
193
+ "200": {
194
+ "content": {
195
+ "application/json": {
196
+ "schema": {
197
+ "$ref": "#/components/schemas/CentrifugoOverviewStats"
198
+ }
199
+ }
200
+ },
201
+ "description": ""
202
+ },
203
+ "400": {
204
+ "content": {
205
+ "application/json": {
206
+ "schema": {
207
+ "description": "Invalid parameters"
208
+ }
209
+ }
210
+ },
211
+ "description": ""
212
+ }
213
+ },
214
+ "x-async-capable": false
215
+ }
216
+ },
217
+ "/cfg/centrifugo/monitor/publishes/": {
218
+ "get": {
219
+ "operationId": "cfg_centrifugo_monitor_publishes_list",
220
+ "description": "Returns a paginated list of recent Centrifugo publishes with their details. Uses standard DRF pagination.",
221
+ "summary": "Get recent publishes",
222
+ "parameters": [
223
+ {
224
+ "in": "query",
225
+ "name": "channel",
226
+ "schema": {
227
+ "type": "string"
228
+ },
229
+ "description": "Filter by channel name"
230
+ },
231
+ {
232
+ "in": "query",
233
+ "name": "page",
234
+ "schema": {
235
+ "type": "integer"
236
+ },
237
+ "description": "Page number"
238
+ },
239
+ {
240
+ "in": "query",
241
+ "name": "page_size",
242
+ "schema": {
243
+ "type": "integer"
244
+ },
245
+ "description": "Items per page (default: 10, max: 100)"
246
+ },
247
+ {
248
+ "in": "query",
249
+ "name": "status",
250
+ "schema": {
251
+ "type": "string"
252
+ },
253
+ "description": "Filter by status (success, failed, timeout, pending, partial)"
254
+ }
255
+ ],
256
+ "tags": [
257
+ "Centrifugo Monitoring"
258
+ ],
259
+ "security": [
260
+ {
261
+ "jwtAuth": []
262
+ },
263
+ {
264
+ "cookieAuth": []
265
+ },
266
+ {
267
+ "basicAuth": []
268
+ }
269
+ ],
270
+ "responses": {
271
+ "200": {
272
+ "content": {
273
+ "application/json": {
274
+ "schema": {
275
+ "$ref": "#/components/schemas/PaginatedPublishList"
276
+ }
277
+ }
278
+ },
279
+ "description": ""
280
+ },
281
+ "400": {
282
+ "content": {
283
+ "application/json": {
284
+ "schema": {
285
+ "description": "Invalid parameters"
286
+ }
287
+ }
288
+ },
289
+ "description": ""
290
+ }
291
+ },
292
+ "x-async-capable": false
293
+ }
294
+ },
295
+ "/cfg/centrifugo/monitor/timeline/": {
296
+ "get": {
297
+ "operationId": "cfg_centrifugo_monitor_timeline_retrieve",
298
+ "description": "Returns hourly or daily breakdown of publish counts for charts.",
299
+ "summary": "Get publish timeline",
300
+ "parameters": [
301
+ {
302
+ "in": "query",
303
+ "name": "hours",
304
+ "schema": {
305
+ "type": "integer"
306
+ },
307
+ "description": "Time period in hours (default: 24)"
308
+ },
309
+ {
310
+ "in": "query",
311
+ "name": "interval",
312
+ "schema": {
313
+ "type": "string"
314
+ },
315
+ "description": "Time interval: 'hour' or 'day' (default: hour)"
316
+ }
317
+ ],
318
+ "tags": [
319
+ "Centrifugo Monitoring"
320
+ ],
321
+ "security": [
322
+ {
323
+ "jwtAuth": []
324
+ },
325
+ {
326
+ "cookieAuth": []
327
+ },
328
+ {
329
+ "basicAuth": []
330
+ }
331
+ ],
332
+ "responses": {
333
+ "200": {
334
+ "content": {
335
+ "application/json": {
336
+ "schema": {
337
+ "$ref": "#/components/schemas/TimelineResponse"
338
+ }
339
+ }
340
+ },
341
+ "description": ""
342
+ },
343
+ "400": {
344
+ "content": {
345
+ "application/json": {
346
+ "schema": {
347
+ "description": "Invalid parameters"
348
+ }
349
+ }
350
+ },
351
+ "description": ""
352
+ }
353
+ },
354
+ "x-async-capable": false
355
+ }
356
+ },
357
+ "/cfg/centrifugo/server/auth/token/": {
358
+ "post": {
359
+ "operationId": "cfg_centrifugo_server_auth_token_create",
360
+ "description": "Returns JWT token and config for WebSocket connection to Centrifugo.",
361
+ "summary": "Get connection token for dashboard",
362
+ "tags": [
363
+ "Centrifugo Admin API"
364
+ ],
365
+ "security": [
366
+ {
367
+ "jwtAuth": []
368
+ },
369
+ {
370
+ "cookieAuth": []
371
+ },
372
+ {
373
+ "basicAuth": []
374
+ }
375
+ ],
376
+ "responses": {
377
+ "200": {
378
+ "content": {
379
+ "application/json": {
380
+ "schema": {
381
+ "type": "object",
382
+ "properties": {
383
+ "token": {
384
+ "type": "string"
385
+ },
386
+ "config": {
387
+ "type": "object",
388
+ "properties": {
389
+ "centrifugo_url": {
390
+ "type": "string"
391
+ },
392
+ "expires_at": {
393
+ "type": "string"
394
+ }
395
+ }
396
+ }
397
+ }
398
+ }
399
+ }
400
+ },
401
+ "description": ""
402
+ },
403
+ "400": {
404
+ "content": {
405
+ "application/json": {
406
+ "schema": {
407
+ "description": "Centrifugo not configured"
408
+ }
409
+ }
410
+ },
411
+ "description": ""
412
+ },
413
+ "500": {
414
+ "content": {
415
+ "application/json": {
416
+ "schema": {
417
+ "description": "Server error"
418
+ }
419
+ }
420
+ },
421
+ "description": ""
422
+ }
423
+ },
424
+ "x-async-capable": false
425
+ }
426
+ },
427
+ "/cfg/centrifugo/server/channels/": {
428
+ "post": {
429
+ "operationId": "cfg_centrifugo_server_channels_create",
430
+ "description": "Returns list of active channels with optional pattern filter.",
431
+ "summary": "List active channels",
432
+ "tags": [
433
+ "Centrifugo Admin API"
434
+ ],
435
+ "requestBody": {
436
+ "content": {
437
+ "application/json": {
438
+ "schema": {
439
+ "$ref": "#/components/schemas/CentrifugoChannelsRequestRequest"
440
+ }
441
+ },
442
+ "application/x-www-form-urlencoded": {
443
+ "schema": {
444
+ "$ref": "#/components/schemas/CentrifugoChannelsRequestRequest"
445
+ }
446
+ },
447
+ "multipart/form-data": {
448
+ "schema": {
449
+ "$ref": "#/components/schemas/CentrifugoChannelsRequestRequest"
450
+ }
451
+ }
452
+ }
453
+ },
454
+ "security": [
455
+ {
456
+ "jwtAuth": []
457
+ },
458
+ {
459
+ "cookieAuth": []
460
+ },
461
+ {
462
+ "basicAuth": []
463
+ }
464
+ ],
465
+ "responses": {
466
+ "200": {
467
+ "content": {
468
+ "application/json": {
469
+ "schema": {
470
+ "$ref": "#/components/schemas/CentrifugoChannelsResponse"
471
+ }
472
+ }
473
+ },
474
+ "description": ""
475
+ },
476
+ "500": {
477
+ "content": {
478
+ "application/json": {
479
+ "schema": {
480
+ "description": "Server error"
481
+ }
482
+ }
483
+ },
484
+ "description": ""
485
+ }
486
+ },
487
+ "x-async-capable": false
488
+ }
489
+ },
490
+ "/cfg/centrifugo/server/history/": {
491
+ "post": {
492
+ "operationId": "cfg_centrifugo_server_history_create",
493
+ "description": "Returns message history for a channel.",
494
+ "summary": "Get channel history",
495
+ "tags": [
496
+ "Centrifugo Admin API"
497
+ ],
498
+ "requestBody": {
499
+ "content": {
500
+ "application/json": {
501
+ "schema": {
502
+ "$ref": "#/components/schemas/CentrifugoHistoryRequestRequest"
503
+ }
504
+ },
505
+ "application/x-www-form-urlencoded": {
506
+ "schema": {
507
+ "$ref": "#/components/schemas/CentrifugoHistoryRequestRequest"
508
+ }
509
+ },
510
+ "multipart/form-data": {
511
+ "schema": {
512
+ "$ref": "#/components/schemas/CentrifugoHistoryRequestRequest"
513
+ }
514
+ }
515
+ },
516
+ "required": true
517
+ },
518
+ "security": [
519
+ {
520
+ "jwtAuth": []
521
+ },
522
+ {
523
+ "cookieAuth": []
524
+ },
525
+ {
526
+ "basicAuth": []
527
+ }
528
+ ],
529
+ "responses": {
530
+ "200": {
531
+ "content": {
532
+ "application/json": {
533
+ "schema": {
534
+ "$ref": "#/components/schemas/CentrifugoHistoryResponse"
535
+ }
536
+ }
537
+ },
538
+ "description": ""
539
+ },
540
+ "500": {
541
+ "content": {
542
+ "application/json": {
543
+ "schema": {
544
+ "description": "Server error"
545
+ }
546
+ }
547
+ },
548
+ "description": ""
549
+ }
550
+ },
551
+ "x-async-capable": false
552
+ }
553
+ },
554
+ "/cfg/centrifugo/server/info/": {
555
+ "post": {
556
+ "operationId": "cfg_centrifugo_server_info_create",
557
+ "description": "Returns server information including node count, version, and uptime.",
558
+ "summary": "Get Centrifugo server info",
559
+ "tags": [
560
+ "Centrifugo Admin API"
561
+ ],
562
+ "security": [
563
+ {
564
+ "jwtAuth": []
565
+ },
566
+ {
567
+ "cookieAuth": []
568
+ },
569
+ {
570
+ "basicAuth": []
571
+ }
572
+ ],
573
+ "responses": {
574
+ "200": {
575
+ "content": {
576
+ "application/json": {
577
+ "schema": {
578
+ "$ref": "#/components/schemas/CentrifugoInfoResponse"
579
+ }
580
+ }
581
+ },
582
+ "description": ""
583
+ },
584
+ "500": {
585
+ "content": {
586
+ "application/json": {
587
+ "schema": {
588
+ "description": "Server error"
589
+ }
590
+ }
591
+ },
592
+ "description": ""
593
+ }
594
+ },
595
+ "x-async-capable": false
596
+ }
597
+ },
598
+ "/cfg/centrifugo/server/presence/": {
599
+ "post": {
600
+ "operationId": "cfg_centrifugo_server_presence_create",
601
+ "description": "Returns list of clients currently subscribed to a channel.",
602
+ "summary": "Get channel presence",
603
+ "tags": [
604
+ "Centrifugo Admin API"
605
+ ],
606
+ "requestBody": {
607
+ "content": {
608
+ "application/json": {
609
+ "schema": {
610
+ "$ref": "#/components/schemas/CentrifugoPresenceRequestRequest"
611
+ }
612
+ },
613
+ "application/x-www-form-urlencoded": {
614
+ "schema": {
615
+ "$ref": "#/components/schemas/CentrifugoPresenceRequestRequest"
616
+ }
617
+ },
618
+ "multipart/form-data": {
619
+ "schema": {
620
+ "$ref": "#/components/schemas/CentrifugoPresenceRequestRequest"
621
+ }
622
+ }
623
+ },
624
+ "required": true
625
+ },
626
+ "security": [
627
+ {
628
+ "jwtAuth": []
629
+ },
630
+ {
631
+ "cookieAuth": []
632
+ },
633
+ {
634
+ "basicAuth": []
635
+ }
636
+ ],
637
+ "responses": {
638
+ "200": {
639
+ "content": {
640
+ "application/json": {
641
+ "schema": {
642
+ "$ref": "#/components/schemas/CentrifugoPresenceResponse"
643
+ }
644
+ }
645
+ },
646
+ "description": ""
647
+ },
648
+ "500": {
649
+ "content": {
650
+ "application/json": {
651
+ "schema": {
652
+ "description": "Server error"
653
+ }
654
+ }
655
+ },
656
+ "description": ""
657
+ }
658
+ },
659
+ "x-async-capable": false
660
+ }
661
+ },
662
+ "/cfg/centrifugo/server/presence-stats/": {
663
+ "post": {
664
+ "operationId": "cfg_centrifugo_server_presence_stats_create",
665
+ "description": "Returns quick statistics about channel presence (num_clients, num_users).",
666
+ "summary": "Get channel presence statistics",
667
+ "tags": [
668
+ "Centrifugo Admin API"
669
+ ],
670
+ "requestBody": {
671
+ "content": {
672
+ "application/json": {
673
+ "schema": {
674
+ "$ref": "#/components/schemas/CentrifugoPresenceStatsRequestRequest"
675
+ }
676
+ },
677
+ "application/x-www-form-urlencoded": {
678
+ "schema": {
679
+ "$ref": "#/components/schemas/CentrifugoPresenceStatsRequestRequest"
680
+ }
681
+ },
682
+ "multipart/form-data": {
683
+ "schema": {
684
+ "$ref": "#/components/schemas/CentrifugoPresenceStatsRequestRequest"
685
+ }
686
+ }
687
+ },
688
+ "required": true
689
+ },
690
+ "security": [
691
+ {
692
+ "jwtAuth": []
693
+ },
694
+ {
695
+ "cookieAuth": []
696
+ },
697
+ {
698
+ "basicAuth": []
699
+ }
700
+ ],
701
+ "responses": {
702
+ "200": {
703
+ "content": {
704
+ "application/json": {
705
+ "schema": {
706
+ "$ref": "#/components/schemas/CentrifugoPresenceStatsResponse"
707
+ }
708
+ }
709
+ },
710
+ "description": ""
711
+ },
712
+ "500": {
713
+ "content": {
714
+ "application/json": {
715
+ "schema": {
716
+ "description": "Server error"
717
+ }
718
+ }
719
+ },
720
+ "description": ""
721
+ }
722
+ },
723
+ "x-async-capable": false
724
+ }
725
+ },
726
+ "/cfg/centrifugo/testing/publish-test/": {
727
+ "post": {
728
+ "operationId": "cfg_centrifugo_testing_publish_test_create",
729
+ "description": "Publish test message to Centrifugo via wrapper with optional ACK tracking.",
730
+ "summary": "Publish test message",
731
+ "tags": [
732
+ "Centrifugo Testing"
733
+ ],
734
+ "requestBody": {
735
+ "content": {
736
+ "application/json": {
737
+ "schema": {
738
+ "$ref": "#/components/schemas/PublishTestRequestRequest"
739
+ }
740
+ },
741
+ "application/x-www-form-urlencoded": {
742
+ "schema": {
743
+ "$ref": "#/components/schemas/PublishTestRequestRequest"
744
+ }
745
+ },
746
+ "multipart/form-data": {
747
+ "schema": {
748
+ "$ref": "#/components/schemas/PublishTestRequestRequest"
749
+ }
750
+ }
751
+ },
752
+ "required": true
753
+ },
754
+ "security": [
755
+ {
756
+ "jwtAuth": []
757
+ },
758
+ {
759
+ "cookieAuth": []
760
+ },
761
+ {
762
+ "basicAuth": []
763
+ }
764
+ ],
765
+ "responses": {
766
+ "200": {
767
+ "content": {
768
+ "application/json": {
769
+ "schema": {
770
+ "$ref": "#/components/schemas/PublishTestResponse"
771
+ }
772
+ }
773
+ },
774
+ "description": ""
775
+ },
776
+ "400": {
777
+ "content": {
778
+ "application/json": {
779
+ "schema": {
780
+ "description": "Invalid request"
781
+ }
782
+ }
783
+ },
784
+ "description": ""
785
+ },
786
+ "500": {
787
+ "content": {
788
+ "application/json": {
789
+ "schema": {
790
+ "description": "Server error"
791
+ }
792
+ }
793
+ },
794
+ "description": ""
795
+ }
796
+ },
797
+ "x-async-capable": false
798
+ }
799
+ },
800
+ "/cfg/centrifugo/testing/publish-with-logging/": {
801
+ "post": {
802
+ "operationId": "cfg_centrifugo_testing_publish_with_logging_create",
803
+ "description": "Publish message using CentrifugoClient with database logging. This will create CentrifugoLog records.",
804
+ "summary": "Publish with database logging",
805
+ "tags": [
806
+ "Centrifugo Testing"
807
+ ],
808
+ "requestBody": {
809
+ "content": {
810
+ "application/json": {
811
+ "schema": {
812
+ "$ref": "#/components/schemas/PublishTestRequestRequest"
813
+ }
814
+ },
815
+ "application/x-www-form-urlencoded": {
816
+ "schema": {
817
+ "$ref": "#/components/schemas/PublishTestRequestRequest"
818
+ }
819
+ },
820
+ "multipart/form-data": {
821
+ "schema": {
822
+ "$ref": "#/components/schemas/PublishTestRequestRequest"
823
+ }
824
+ }
825
+ },
826
+ "required": true
827
+ },
828
+ "security": [
829
+ {
830
+ "jwtAuth": []
831
+ },
832
+ {
833
+ "cookieAuth": []
834
+ },
835
+ {
836
+ "basicAuth": []
837
+ }
838
+ ],
839
+ "responses": {
840
+ "200": {
841
+ "content": {
842
+ "application/json": {
843
+ "schema": {
844
+ "$ref": "#/components/schemas/PublishTestResponse"
845
+ }
846
+ }
847
+ },
848
+ "description": ""
849
+ },
850
+ "400": {
851
+ "content": {
852
+ "application/json": {
853
+ "schema": {
854
+ "description": "Invalid request"
855
+ }
856
+ }
857
+ },
858
+ "description": ""
859
+ },
860
+ "500": {
861
+ "content": {
862
+ "application/json": {
863
+ "schema": {
864
+ "description": "Server error"
865
+ }
866
+ }
867
+ },
868
+ "description": ""
869
+ }
870
+ },
871
+ "x-async-capable": false
872
+ }
873
+ },
874
+ "/cfg/centrifugo/testing/send-ack/": {
875
+ "post": {
876
+ "operationId": "cfg_centrifugo_testing_send_ack_create",
877
+ "description": "Manually send ACK for a message to the wrapper. Pass message_id in request body.",
878
+ "summary": "Send manual ACK",
879
+ "tags": [
880
+ "Centrifugo Testing"
881
+ ],
882
+ "requestBody": {
883
+ "content": {
884
+ "application/json": {
885
+ "schema": {
886
+ "$ref": "#/components/schemas/ManualAckRequestRequest"
887
+ }
888
+ },
889
+ "application/x-www-form-urlencoded": {
890
+ "schema": {
891
+ "$ref": "#/components/schemas/ManualAckRequestRequest"
892
+ }
893
+ },
894
+ "multipart/form-data": {
895
+ "schema": {
896
+ "$ref": "#/components/schemas/ManualAckRequestRequest"
897
+ }
898
+ }
899
+ },
900
+ "required": true
901
+ },
902
+ "security": [
903
+ {
904
+ "jwtAuth": []
905
+ },
906
+ {
907
+ "cookieAuth": []
908
+ },
909
+ {
910
+ "basicAuth": []
911
+ }
912
+ ],
913
+ "responses": {
914
+ "200": {
915
+ "content": {
916
+ "application/json": {
917
+ "schema": {
918
+ "$ref": "#/components/schemas/ManualAckResponse"
919
+ }
920
+ }
921
+ },
922
+ "description": ""
923
+ },
924
+ "400": {
925
+ "content": {
926
+ "application/json": {
927
+ "schema": {
928
+ "description": "Invalid request"
929
+ }
930
+ }
931
+ },
932
+ "description": ""
933
+ },
934
+ "500": {
935
+ "content": {
936
+ "application/json": {
937
+ "schema": {
938
+ "description": "Server error"
939
+ }
940
+ }
941
+ },
942
+ "description": ""
943
+ }
944
+ },
945
+ "x-async-capable": false
946
+ }
947
+ }
948
+ },
949
+ "components": {
950
+ "schemas": {
951
+ "CentrifugoChannelInfo": {
952
+ "description": "Information about a single channel.",
953
+ "properties": {
954
+ "num_clients": {
955
+ "description": "Number of connected clients in channel",
956
+ "title": "Num Clients",
957
+ "type": "integer"
958
+ }
959
+ },
960
+ "required": [
961
+ "num_clients"
962
+ ],
963
+ "title": "CentrifugoChannelInfo",
964
+ "type": "object"
965
+ },
966
+ "CentrifugoChannelsRequestRequest": {
967
+ "description": "Request to list active channels.",
968
+ "properties": {
969
+ "pattern": {
970
+ "anyOf": [
971
+ {
972
+ "type": "string"
973
+ },
974
+ {
975
+ "type": "null"
976
+ }
977
+ ],
978
+ "default": null,
979
+ "description": "Pattern to filter channels (e.g., 'user:*')",
980
+ "title": "Pattern"
981
+ }
982
+ },
983
+ "title": "CentrifugoChannelsRequest",
984
+ "type": "object"
985
+ },
986
+ "CentrifugoChannelsResponse": {
987
+ "description": "List of active channels response.",
988
+ "properties": {
989
+ "error": {
990
+ "anyOf": [
991
+ {
992
+ "$ref": "#/components/schemas/CentrifugoError"
993
+ },
994
+ {
995
+ "type": "null"
996
+ }
997
+ ],
998
+ "default": null,
999
+ "description": "Error if any"
1000
+ },
1001
+ "result": {
1002
+ "anyOf": [
1003
+ {
1004
+ "$ref": "#/components/schemas/CentrifugoChannelsResult"
1005
+ },
1006
+ {
1007
+ "type": "null"
1008
+ }
1009
+ ],
1010
+ "default": null,
1011
+ "description": "Result data"
1012
+ }
1013
+ },
1014
+ "title": "CentrifugoChannelsResponse",
1015
+ "type": "object"
1016
+ },
1017
+ "CentrifugoChannelsResult": {
1018
+ "description": "Channels result wrapper.",
1019
+ "properties": {
1020
+ "channels": {
1021
+ "additionalProperties": {
1022
+ "$ref": "#/components/schemas/CentrifugoChannelInfo"
1023
+ },
1024
+ "description": "Map of channel names to channel info",
1025
+ "title": "Channels",
1026
+ "type": "object"
1027
+ }
1028
+ },
1029
+ "required": [
1030
+ "channels"
1031
+ ],
1032
+ "title": "CentrifugoChannelsResult",
1033
+ "type": "object"
1034
+ },
1035
+ "CentrifugoClientInfo": {
1036
+ "description": "Information about connected client.",
1037
+ "properties": {
1038
+ "user": {
1039
+ "description": "User ID",
1040
+ "title": "User",
1041
+ "type": "string"
1042
+ },
1043
+ "client": {
1044
+ "description": "Client UUID",
1045
+ "title": "Client",
1046
+ "type": "string"
1047
+ },
1048
+ "conn_info": {
1049
+ "anyOf": [
1050
+ {
1051
+ "additionalProperties": true,
1052
+ "type": "object"
1053
+ },
1054
+ {
1055
+ "type": "null"
1056
+ }
1057
+ ],
1058
+ "default": null,
1059
+ "description": "Connection metadata",
1060
+ "title": "Conn Info"
1061
+ },
1062
+ "chan_info": {
1063
+ "anyOf": [
1064
+ {
1065
+ "additionalProperties": true,
1066
+ "type": "object"
1067
+ },
1068
+ {
1069
+ "type": "null"
1070
+ }
1071
+ ],
1072
+ "default": null,
1073
+ "description": "Channel-specific metadata",
1074
+ "title": "Chan Info"
1075
+ }
1076
+ },
1077
+ "required": [
1078
+ "user",
1079
+ "client"
1080
+ ],
1081
+ "title": "CentrifugoClientInfo",
1082
+ "type": "object"
1083
+ },
1084
+ "CentrifugoError": {
1085
+ "description": "Centrifugo API error structure.",
1086
+ "properties": {
1087
+ "code": {
1088
+ "default": 0,
1089
+ "description": "Error code (0 = no error)",
1090
+ "title": "Code",
1091
+ "type": "integer"
1092
+ },
1093
+ "message": {
1094
+ "default": "",
1095
+ "description": "Error message",
1096
+ "title": "Message",
1097
+ "type": "string"
1098
+ }
1099
+ },
1100
+ "title": "CentrifugoError",
1101
+ "type": "object"
1102
+ },
1103
+ "CentrifugoHealthCheck": {
1104
+ "type": "object",
1105
+ "description": "Health check response.",
1106
+ "properties": {
1107
+ "status": {
1108
+ "type": "string",
1109
+ "description": "Health status: healthy or unhealthy"
1110
+ },
1111
+ "wrapper_url": {
1112
+ "type": "string",
1113
+ "description": "Configured wrapper URL"
1114
+ },
1115
+ "has_api_key": {
1116
+ "type": "boolean",
1117
+ "description": "Whether API key is configured"
1118
+ },
1119
+ "timestamp": {
1120
+ "type": "string",
1121
+ "description": "Current timestamp"
1122
+ }
1123
+ },
1124
+ "required": [
1125
+ "has_api_key",
1126
+ "status",
1127
+ "timestamp",
1128
+ "wrapper_url"
1129
+ ]
1130
+ },
1131
+ "CentrifugoHistoryRequestRequest": {
1132
+ "description": "Request to get channel history.",
1133
+ "properties": {
1134
+ "channel": {
1135
+ "description": "Channel name",
1136
+ "title": "Channel",
1137
+ "type": "string"
1138
+ },
1139
+ "limit": {
1140
+ "anyOf": [
1141
+ {
1142
+ "maximum": 1000,
1143
+ "minimum": 1,
1144
+ "type": "integer"
1145
+ },
1146
+ {
1147
+ "type": "null"
1148
+ }
1149
+ ],
1150
+ "default": null,
1151
+ "description": "Maximum number of messages to return",
1152
+ "title": "Limit"
1153
+ },
1154
+ "since": {
1155
+ "anyOf": [
1156
+ {
1157
+ "$ref": "#/components/schemas/CentrifugoStreamPosition"
1158
+ },
1159
+ {
1160
+ "type": "null"
1161
+ }
1162
+ ],
1163
+ "default": null,
1164
+ "description": "Stream position to get messages since"
1165
+ },
1166
+ "reverse": {
1167
+ "anyOf": [
1168
+ {
1169
+ "type": "boolean"
1170
+ },
1171
+ {
1172
+ "type": "null"
1173
+ }
1174
+ ],
1175
+ "default": false,
1176
+ "description": "Reverse message order (newest first)",
1177
+ "title": "Reverse"
1178
+ }
1179
+ },
1180
+ "required": [
1181
+ "channel"
1182
+ ],
1183
+ "title": "CentrifugoHistoryRequest",
1184
+ "type": "object"
1185
+ },
1186
+ "CentrifugoHistoryResponse": {
1187
+ "description": "Channel history response.",
1188
+ "properties": {
1189
+ "error": {
1190
+ "anyOf": [
1191
+ {
1192
+ "$ref": "#/components/schemas/CentrifugoError"
1193
+ },
1194
+ {
1195
+ "type": "null"
1196
+ }
1197
+ ],
1198
+ "default": null,
1199
+ "description": "Error if any"
1200
+ },
1201
+ "result": {
1202
+ "anyOf": [
1203
+ {
1204
+ "$ref": "#/components/schemas/CentrifugoHistoryResult"
1205
+ },
1206
+ {
1207
+ "type": "null"
1208
+ }
1209
+ ],
1210
+ "default": null,
1211
+ "description": "Result data"
1212
+ }
1213
+ },
1214
+ "title": "CentrifugoHistoryResponse",
1215
+ "type": "object"
1216
+ },
1217
+ "CentrifugoHistoryResult": {
1218
+ "description": "History result wrapper.",
1219
+ "properties": {
1220
+ "publications": {
1221
+ "description": "List of publications",
1222
+ "items": {
1223
+ "$ref": "#/components/schemas/CentrifugoPublication"
1224
+ },
1225
+ "title": "Publications",
1226
+ "type": "array"
1227
+ },
1228
+ "epoch": {
1229
+ "description": "Current stream epoch",
1230
+ "title": "Epoch",
1231
+ "type": "string"
1232
+ },
1233
+ "offset": {
1234
+ "description": "Latest stream offset",
1235
+ "title": "Offset",
1236
+ "type": "integer"
1237
+ }
1238
+ },
1239
+ "required": [
1240
+ "publications",
1241
+ "epoch",
1242
+ "offset"
1243
+ ],
1244
+ "title": "CentrifugoHistoryResult",
1245
+ "type": "object"
1246
+ },
1247
+ "CentrifugoInfoResponse": {
1248
+ "description": "Server info response.",
1249
+ "properties": {
1250
+ "error": {
1251
+ "anyOf": [
1252
+ {
1253
+ "$ref": "#/components/schemas/CentrifugoError"
1254
+ },
1255
+ {
1256
+ "type": "null"
1257
+ }
1258
+ ],
1259
+ "default": null,
1260
+ "description": "Error if any"
1261
+ },
1262
+ "result": {
1263
+ "anyOf": [
1264
+ {
1265
+ "$ref": "#/components/schemas/CentrifugoInfoResult"
1266
+ },
1267
+ {
1268
+ "type": "null"
1269
+ }
1270
+ ],
1271
+ "default": null,
1272
+ "description": "Result data"
1273
+ }
1274
+ },
1275
+ "title": "CentrifugoInfoResponse",
1276
+ "type": "object"
1277
+ },
1278
+ "CentrifugoInfoResult": {
1279
+ "description": "Info result wrapper.",
1280
+ "properties": {
1281
+ "nodes": {
1282
+ "description": "List of Centrifugo nodes",
1283
+ "items": {
1284
+ "$ref": "#/components/schemas/CentrifugoNodeInfo"
1285
+ },
1286
+ "title": "Nodes",
1287
+ "type": "array"
1288
+ }
1289
+ },
1290
+ "required": [
1291
+ "nodes"
1292
+ ],
1293
+ "title": "CentrifugoInfoResult",
1294
+ "type": "object"
1295
+ },
1296
+ "CentrifugoMetrics": {
1297
+ "description": "Server metrics.",
1298
+ "properties": {
1299
+ "interval": {
1300
+ "description": "Metrics collection interval",
1301
+ "title": "Interval",
1302
+ "type": "number"
1303
+ },
1304
+ "items": {
1305
+ "additionalProperties": {
1306
+ "type": "number"
1307
+ },
1308
+ "description": "Metric name to value mapping",
1309
+ "title": "Items",
1310
+ "type": "object"
1311
+ }
1312
+ },
1313
+ "required": [
1314
+ "interval",
1315
+ "items"
1316
+ ],
1317
+ "title": "CentrifugoMetrics",
1318
+ "type": "object"
1319
+ },
1320
+ "CentrifugoNodeInfo": {
1321
+ "description": "Information about a single Centrifugo node.",
1322
+ "properties": {
1323
+ "uid": {
1324
+ "description": "Unique node identifier",
1325
+ "title": "Uid",
1326
+ "type": "string"
1327
+ },
1328
+ "name": {
1329
+ "description": "Node name",
1330
+ "title": "Name",
1331
+ "type": "string"
1332
+ },
1333
+ "version": {
1334
+ "description": "Centrifugo version",
1335
+ "title": "Version",
1336
+ "type": "string"
1337
+ },
1338
+ "num_clients": {
1339
+ "description": "Number of connected clients",
1340
+ "title": "Num Clients",
1341
+ "type": "integer"
1342
+ },
1343
+ "num_users": {
1344
+ "description": "Number of unique users",
1345
+ "title": "Num Users",
1346
+ "type": "integer"
1347
+ },
1348
+ "num_channels": {
1349
+ "description": "Number of active channels",
1350
+ "title": "Num Channels",
1351
+ "type": "integer"
1352
+ },
1353
+ "uptime": {
1354
+ "description": "Node uptime in seconds",
1355
+ "title": "Uptime",
1356
+ "type": "integer"
1357
+ },
1358
+ "num_subs": {
1359
+ "description": "Total number of subscriptions",
1360
+ "title": "Num Subs",
1361
+ "type": "integer"
1362
+ },
1363
+ "metrics": {
1364
+ "anyOf": [
1365
+ {
1366
+ "$ref": "#/components/schemas/CentrifugoMetrics"
1367
+ },
1368
+ {
1369
+ "type": "null"
1370
+ }
1371
+ ],
1372
+ "default": null,
1373
+ "description": "Server metrics"
1374
+ },
1375
+ "process": {
1376
+ "anyOf": [
1377
+ {
1378
+ "$ref": "#/components/schemas/CentrifugoProcess"
1379
+ },
1380
+ {
1381
+ "type": "null"
1382
+ }
1383
+ ],
1384
+ "default": null,
1385
+ "description": "Process information"
1386
+ }
1387
+ },
1388
+ "required": [
1389
+ "uid",
1390
+ "name",
1391
+ "version",
1392
+ "num_clients",
1393
+ "num_users",
1394
+ "num_channels",
1395
+ "uptime",
1396
+ "num_subs"
1397
+ ],
1398
+ "title": "CentrifugoNodeInfo",
1399
+ "type": "object"
1400
+ },
1401
+ "CentrifugoOverviewStats": {
1402
+ "type": "object",
1403
+ "description": "Overview statistics for Centrifugo publishes.",
1404
+ "properties": {
1405
+ "total": {
1406
+ "type": "integer",
1407
+ "description": "Total publishes in period"
1408
+ },
1409
+ "successful": {
1410
+ "type": "integer",
1411
+ "description": "Successful publishes"
1412
+ },
1413
+ "failed": {
1414
+ "type": "integer",
1415
+ "description": "Failed publishes"
1416
+ },
1417
+ "timeout": {
1418
+ "type": "integer",
1419
+ "description": "Timeout publishes"
1420
+ },
1421
+ "success_rate": {
1422
+ "type": "number",
1423
+ "format": "double",
1424
+ "description": "Success rate percentage"
1425
+ },
1426
+ "avg_duration_ms": {
1427
+ "type": "number",
1428
+ "format": "double",
1429
+ "description": "Average duration in milliseconds"
1430
+ },
1431
+ "avg_acks_received": {
1432
+ "type": "number",
1433
+ "format": "double",
1434
+ "description": "Average ACKs received"
1435
+ },
1436
+ "period_hours": {
1437
+ "type": "integer",
1438
+ "description": "Statistics period in hours"
1439
+ }
1440
+ },
1441
+ "required": [
1442
+ "avg_acks_received",
1443
+ "avg_duration_ms",
1444
+ "failed",
1445
+ "period_hours",
1446
+ "success_rate",
1447
+ "successful",
1448
+ "timeout",
1449
+ "total"
1450
+ ]
1451
+ },
1452
+ "CentrifugoPresenceRequestRequest": {
1453
+ "description": "Request to get channel presence.",
1454
+ "properties": {
1455
+ "channel": {
1456
+ "description": "Channel name",
1457
+ "title": "Channel",
1458
+ "type": "string"
1459
+ }
1460
+ },
1461
+ "required": [
1462
+ "channel"
1463
+ ],
1464
+ "title": "CentrifugoPresenceRequest",
1465
+ "type": "object"
1466
+ },
1467
+ "CentrifugoPresenceResponse": {
1468
+ "description": "Channel presence response.",
1469
+ "properties": {
1470
+ "error": {
1471
+ "anyOf": [
1472
+ {
1473
+ "$ref": "#/components/schemas/CentrifugoError"
1474
+ },
1475
+ {
1476
+ "type": "null"
1477
+ }
1478
+ ],
1479
+ "default": null,
1480
+ "description": "Error if any"
1481
+ },
1482
+ "result": {
1483
+ "anyOf": [
1484
+ {
1485
+ "$ref": "#/components/schemas/CentrifugoPresenceResult"
1486
+ },
1487
+ {
1488
+ "type": "null"
1489
+ }
1490
+ ],
1491
+ "default": null,
1492
+ "description": "Result data"
1493
+ }
1494
+ },
1495
+ "title": "CentrifugoPresenceResponse",
1496
+ "type": "object"
1497
+ },
1498
+ "CentrifugoPresenceResult": {
1499
+ "description": "Presence result wrapper.",
1500
+ "properties": {
1501
+ "presence": {
1502
+ "additionalProperties": {
1503
+ "$ref": "#/components/schemas/CentrifugoClientInfo"
1504
+ },
1505
+ "description": "Map of client IDs to client info",
1506
+ "title": "Presence",
1507
+ "type": "object"
1508
+ }
1509
+ },
1510
+ "required": [
1511
+ "presence"
1512
+ ],
1513
+ "title": "CentrifugoPresenceResult",
1514
+ "type": "object"
1515
+ },
1516
+ "CentrifugoPresenceStatsRequestRequest": {
1517
+ "description": "Request to get channel presence statistics.",
1518
+ "properties": {
1519
+ "channel": {
1520
+ "description": "Channel name",
1521
+ "title": "Channel",
1522
+ "type": "string"
1523
+ }
1524
+ },
1525
+ "required": [
1526
+ "channel"
1527
+ ],
1528
+ "title": "CentrifugoPresenceStatsRequest",
1529
+ "type": "object"
1530
+ },
1531
+ "CentrifugoPresenceStatsResponse": {
1532
+ "description": "Channel presence stats response.",
1533
+ "properties": {
1534
+ "error": {
1535
+ "anyOf": [
1536
+ {
1537
+ "$ref": "#/components/schemas/CentrifugoError"
1538
+ },
1539
+ {
1540
+ "type": "null"
1541
+ }
1542
+ ],
1543
+ "default": null,
1544
+ "description": "Error if any"
1545
+ },
1546
+ "result": {
1547
+ "anyOf": [
1548
+ {
1549
+ "$ref": "#/components/schemas/CentrifugoPresenceStatsResult"
1550
+ },
1551
+ {
1552
+ "type": "null"
1553
+ }
1554
+ ],
1555
+ "default": null,
1556
+ "description": "Result data"
1557
+ }
1558
+ },
1559
+ "title": "CentrifugoPresenceStatsResponse",
1560
+ "type": "object"
1561
+ },
1562
+ "CentrifugoPresenceStatsResult": {
1563
+ "description": "Presence stats result.",
1564
+ "properties": {
1565
+ "num_clients": {
1566
+ "description": "Number of connected clients",
1567
+ "title": "Num Clients",
1568
+ "type": "integer"
1569
+ },
1570
+ "num_users": {
1571
+ "description": "Number of unique users",
1572
+ "title": "Num Users",
1573
+ "type": "integer"
1574
+ }
1575
+ },
1576
+ "required": [
1577
+ "num_clients",
1578
+ "num_users"
1579
+ ],
1580
+ "title": "CentrifugoPresenceStatsResult",
1581
+ "type": "object"
1582
+ },
1583
+ "CentrifugoProcess": {
1584
+ "description": "Process information.",
1585
+ "properties": {
1586
+ "cpu": {
1587
+ "description": "CPU usage percentage",
1588
+ "title": "Cpu",
1589
+ "type": "number"
1590
+ },
1591
+ "rss": {
1592
+ "description": "Resident set size in bytes",
1593
+ "title": "Rss",
1594
+ "type": "integer"
1595
+ }
1596
+ },
1597
+ "required": [
1598
+ "cpu",
1599
+ "rss"
1600
+ ],
1601
+ "title": "CentrifugoProcess",
1602
+ "type": "object"
1603
+ },
1604
+ "CentrifugoPublication": {
1605
+ "description": "Single publication (message) in channel history.",
1606
+ "properties": {
1607
+ "data": {
1608
+ "additionalProperties": true,
1609
+ "description": "Message payload",
1610
+ "title": "Data",
1611
+ "type": "object"
1612
+ },
1613
+ "info": {
1614
+ "anyOf": [
1615
+ {
1616
+ "$ref": "#/components/schemas/CentrifugoClientInfo"
1617
+ },
1618
+ {
1619
+ "type": "null"
1620
+ }
1621
+ ],
1622
+ "default": null,
1623
+ "description": "Publisher client info"
1624
+ },
1625
+ "offset": {
1626
+ "description": "Message offset in channel stream",
1627
+ "title": "Offset",
1628
+ "type": "integer"
1629
+ },
1630
+ "tags": {
1631
+ "anyOf": [
1632
+ {
1633
+ "additionalProperties": {
1634
+ "type": "string"
1635
+ },
1636
+ "type": "object"
1637
+ },
1638
+ {
1639
+ "type": "null"
1640
+ }
1641
+ ],
1642
+ "default": null,
1643
+ "description": "Optional message tags",
1644
+ "title": "Tags"
1645
+ }
1646
+ },
1647
+ "required": [
1648
+ "data",
1649
+ "offset"
1650
+ ],
1651
+ "title": "CentrifugoPublication",
1652
+ "type": "object"
1653
+ },
1654
+ "CentrifugoStreamPosition": {
1655
+ "description": "Stream position for pagination.",
1656
+ "properties": {
1657
+ "offset": {
1658
+ "description": "Stream offset",
1659
+ "title": "Offset",
1660
+ "type": "integer"
1661
+ },
1662
+ "epoch": {
1663
+ "description": "Stream epoch",
1664
+ "title": "Epoch",
1665
+ "type": "string"
1666
+ }
1667
+ },
1668
+ "required": [
1669
+ "offset",
1670
+ "epoch"
1671
+ ],
1672
+ "title": "CentrifugoStreamPosition",
1673
+ "type": "object"
1674
+ },
1675
+ "ChannelList": {
1676
+ "type": "object",
1677
+ "description": "List of channel statistics.",
1678
+ "properties": {
1679
+ "channels": {
1680
+ "type": "array",
1681
+ "items": {
1682
+ "$ref": "#/components/schemas/ChannelStats"
1683
+ },
1684
+ "description": "Channel statistics"
1685
+ },
1686
+ "total_channels": {
1687
+ "type": "integer",
1688
+ "description": "Total number of channels"
1689
+ }
1690
+ },
1691
+ "required": [
1692
+ "channels",
1693
+ "total_channels"
1694
+ ]
1695
+ },
1696
+ "ChannelStats": {
1697
+ "type": "object",
1698
+ "description": "Statistics per channel.",
1699
+ "properties": {
1700
+ "channel": {
1701
+ "type": "string",
1702
+ "description": "Channel name"
1703
+ },
1704
+ "total": {
1705
+ "type": "integer",
1706
+ "description": "Total publishes to this channel"
1707
+ },
1708
+ "successful": {
1709
+ "type": "integer",
1710
+ "description": "Successful publishes"
1711
+ },
1712
+ "failed": {
1713
+ "type": "integer",
1714
+ "description": "Failed publishes"
1715
+ },
1716
+ "avg_duration_ms": {
1717
+ "type": "number",
1718
+ "format": "double",
1719
+ "description": "Average duration"
1720
+ },
1721
+ "avg_acks": {
1722
+ "type": "number",
1723
+ "format": "double",
1724
+ "description": "Average ACKs received"
1725
+ },
1726
+ "last_activity_at": {
1727
+ "type": "string",
1728
+ "nullable": true,
1729
+ "description": "Last activity timestamp (ISO format)"
1730
+ }
1731
+ },
1732
+ "required": [
1733
+ "avg_acks",
1734
+ "avg_duration_ms",
1735
+ "channel",
1736
+ "failed",
1737
+ "last_activity_at",
1738
+ "successful",
1739
+ "total"
1740
+ ]
1741
+ },
1742
+ "ConnectionTokenResponse": {
1743
+ "description": "Response model for Centrifugo connection token.",
1744
+ "properties": {
1745
+ "token": {
1746
+ "description": "JWT token for Centrifugo connection",
1747
+ "title": "Token",
1748
+ "type": "string"
1749
+ },
1750
+ "centrifugo_url": {
1751
+ "description": "Centrifugo WebSocket URL",
1752
+ "title": "Centrifugo Url",
1753
+ "type": "string"
1754
+ },
1755
+ "expires_at": {
1756
+ "description": "Token expiration time (ISO 8601)",
1757
+ "title": "Expires At",
1758
+ "type": "string"
1759
+ },
1760
+ "channels": {
1761
+ "description": "List of allowed channels",
1762
+ "items": {
1763
+ "type": "string"
1764
+ },
1765
+ "title": "Channels",
1766
+ "type": "array"
1767
+ }
1768
+ },
1769
+ "required": [
1770
+ "token",
1771
+ "centrifugo_url",
1772
+ "expires_at",
1773
+ "channels"
1774
+ ],
1775
+ "title": "ConnectionTokenResponse",
1776
+ "type": "object"
1777
+ },
1778
+ "ManualAckRequestRequest": {
1779
+ "description": "Request model for manual ACK sending.",
1780
+ "properties": {
1781
+ "message_id": {
1782
+ "description": "Message ID to acknowledge",
1783
+ "title": "Message Id",
1784
+ "type": "string"
1785
+ },
1786
+ "client_id": {
1787
+ "description": "Client ID sending the ACK",
1788
+ "title": "Client Id",
1789
+ "type": "string"
1790
+ }
1791
+ },
1792
+ "required": [
1793
+ "message_id",
1794
+ "client_id"
1795
+ ],
1796
+ "title": "ManualAckRequest",
1797
+ "type": "object"
1798
+ },
1799
+ "ManualAckResponse": {
1800
+ "description": "Response model for manual ACK.",
1801
+ "properties": {
1802
+ "success": {
1803
+ "description": "Whether ACK was sent successfully",
1804
+ "title": "Success",
1805
+ "type": "boolean"
1806
+ },
1807
+ "message_id": {
1808
+ "description": "Message ID that was acknowledged",
1809
+ "title": "Message Id",
1810
+ "type": "string"
1811
+ },
1812
+ "error": {
1813
+ "anyOf": [
1814
+ {
1815
+ "type": "string"
1816
+ },
1817
+ {
1818
+ "type": "null"
1819
+ }
1820
+ ],
1821
+ "default": null,
1822
+ "description": "Error message if failed",
1823
+ "title": "Error"
1824
+ }
1825
+ },
1826
+ "required": [
1827
+ "success",
1828
+ "message_id"
1829
+ ],
1830
+ "title": "ManualAckResponse",
1831
+ "type": "object"
1832
+ },
1833
+ "PaginatedPublishList": {
1834
+ "type": "object",
1835
+ "required": [
1836
+ "count",
1837
+ "page",
1838
+ "pages",
1839
+ "page_size",
1840
+ "has_next",
1841
+ "has_previous",
1842
+ "results"
1843
+ ],
1844
+ "properties": {
1845
+ "count": {
1846
+ "type": "integer",
1847
+ "description": "Total number of items across all pages",
1848
+ "example": 150
1849
+ },
1850
+ "page": {
1851
+ "type": "integer",
1852
+ "description": "Current page number (1-based)",
1853
+ "example": 2
1854
+ },
1855
+ "pages": {
1856
+ "type": "integer",
1857
+ "description": "Total number of pages",
1858
+ "example": 15
1859
+ },
1860
+ "page_size": {
1861
+ "type": "integer",
1862
+ "description": "Number of items per page",
1863
+ "example": 10
1864
+ },
1865
+ "has_next": {
1866
+ "type": "boolean",
1867
+ "description": "Whether there is a next page",
1868
+ "example": true
1869
+ },
1870
+ "has_previous": {
1871
+ "type": "boolean",
1872
+ "description": "Whether there is a previous page",
1873
+ "example": true
1874
+ },
1875
+ "next_page": {
1876
+ "type": "integer",
1877
+ "nullable": true,
1878
+ "description": "Next page number (null if no next page)",
1879
+ "example": 3
1880
+ },
1881
+ "previous_page": {
1882
+ "type": "integer",
1883
+ "nullable": true,
1884
+ "description": "Previous page number (null if no previous page)",
1885
+ "example": 1
1886
+ },
1887
+ "results": {
1888
+ "type": "array",
1889
+ "items": {
1890
+ "$ref": "#/components/schemas/Publish"
1891
+ },
1892
+ "description": "Array of items for current page"
1893
+ }
1894
+ }
1895
+ },
1896
+ "Publish": {
1897
+ "type": "object",
1898
+ "description": "Single publish item for DRF pagination.",
1899
+ "properties": {
1900
+ "message_id": {
1901
+ "type": "string"
1902
+ },
1903
+ "channel": {
1904
+ "type": "string"
1905
+ },
1906
+ "status": {
1907
+ "type": "string"
1908
+ },
1909
+ "wait_for_ack": {
1910
+ "type": "boolean"
1911
+ },
1912
+ "acks_received": {
1913
+ "type": "integer"
1914
+ },
1915
+ "acks_expected": {
1916
+ "type": "integer",
1917
+ "nullable": true
1918
+ },
1919
+ "duration_ms": {
1920
+ "type": "number",
1921
+ "format": "double",
1922
+ "nullable": true
1923
+ },
1924
+ "created_at": {
1925
+ "type": "string",
1926
+ "format": "date-time"
1927
+ },
1928
+ "completed_at": {
1929
+ "type": "string",
1930
+ "format": "date-time",
1931
+ "nullable": true
1932
+ },
1933
+ "error_code": {
1934
+ "type": "string",
1935
+ "nullable": true
1936
+ },
1937
+ "error_message": {
1938
+ "type": "string",
1939
+ "nullable": true
1940
+ }
1941
+ },
1942
+ "required": [
1943
+ "acks_expected",
1944
+ "acks_received",
1945
+ "channel",
1946
+ "completed_at",
1947
+ "created_at",
1948
+ "duration_ms",
1949
+ "error_code",
1950
+ "error_message",
1951
+ "message_id",
1952
+ "status",
1953
+ "wait_for_ack"
1954
+ ]
1955
+ },
1956
+ "PublishTestRequestRequest": {
1957
+ "description": "Request model for test message publishing.",
1958
+ "properties": {
1959
+ "channel": {
1960
+ "description": "Target channel name",
1961
+ "title": "Channel",
1962
+ "type": "string"
1963
+ },
1964
+ "data": {
1965
+ "additionalProperties": true,
1966
+ "description": "Message data (any JSON object)",
1967
+ "title": "Data",
1968
+ "type": "object"
1969
+ },
1970
+ "wait_for_ack": {
1971
+ "default": false,
1972
+ "description": "Wait for client acknowledgment",
1973
+ "title": "Wait For Ack",
1974
+ "type": "boolean"
1975
+ },
1976
+ "ack_timeout": {
1977
+ "default": 10,
1978
+ "description": "ACK timeout in seconds",
1979
+ "maximum": 60,
1980
+ "minimum": 1,
1981
+ "title": "Ack Timeout",
1982
+ "type": "integer"
1983
+ }
1984
+ },
1985
+ "required": [
1986
+ "channel",
1987
+ "data"
1988
+ ],
1989
+ "title": "PublishTestRequest",
1990
+ "type": "object"
1991
+ },
1992
+ "PublishTestResponse": {
1993
+ "description": "Response model for test message publishing.",
1994
+ "properties": {
1995
+ "success": {
1996
+ "description": "Whether publish succeeded",
1997
+ "title": "Success",
1998
+ "type": "boolean"
1999
+ },
2000
+ "message_id": {
2001
+ "description": "Unique message ID",
2002
+ "title": "Message Id",
2003
+ "type": "string"
2004
+ },
2005
+ "channel": {
2006
+ "description": "Target channel",
2007
+ "title": "Channel",
2008
+ "type": "string"
2009
+ },
2010
+ "acks_received": {
2011
+ "default": 0,
2012
+ "description": "Number of ACKs received",
2013
+ "title": "Acks Received",
2014
+ "type": "integer"
2015
+ },
2016
+ "delivered": {
2017
+ "default": false,
2018
+ "description": "Whether message was delivered",
2019
+ "title": "Delivered",
2020
+ "type": "boolean"
2021
+ },
2022
+ "error": {
2023
+ "anyOf": [
2024
+ {
2025
+ "type": "string"
2026
+ },
2027
+ {
2028
+ "type": "null"
2029
+ }
2030
+ ],
2031
+ "default": null,
2032
+ "description": "Error message if failed",
2033
+ "title": "Error"
2034
+ }
2035
+ },
2036
+ "required": [
2037
+ "success",
2038
+ "message_id",
2039
+ "channel"
2040
+ ],
2041
+ "title": "PublishTestResponse",
2042
+ "type": "object"
2043
+ },
2044
+ "TimelineItem": {
2045
+ "type": "object",
2046
+ "description": "Single timeline data point for DRF.",
2047
+ "properties": {
2048
+ "timestamp": {
2049
+ "type": "string"
2050
+ },
2051
+ "count": {
2052
+ "type": "integer"
2053
+ },
2054
+ "successful": {
2055
+ "type": "integer"
2056
+ },
2057
+ "failed": {
2058
+ "type": "integer"
2059
+ },
2060
+ "timeout": {
2061
+ "type": "integer"
2062
+ }
2063
+ },
2064
+ "required": [
2065
+ "count",
2066
+ "failed",
2067
+ "successful",
2068
+ "timeout",
2069
+ "timestamp"
2070
+ ]
2071
+ },
2072
+ "TimelineResponse": {
2073
+ "type": "object",
2074
+ "description": "Timeline response with hourly/daily breakdown for DRF.",
2075
+ "properties": {
2076
+ "timeline": {
2077
+ "type": "array",
2078
+ "items": {
2079
+ "$ref": "#/components/schemas/TimelineItem"
2080
+ }
2081
+ },
2082
+ "period_hours": {
2083
+ "type": "integer"
2084
+ },
2085
+ "interval": {
2086
+ "type": "string"
2087
+ }
2088
+ },
2089
+ "required": [
2090
+ "interval",
2091
+ "period_hours",
2092
+ "timeline"
2093
+ ]
2094
+ }
2095
+ },
2096
+ "securitySchemes": {
2097
+ "basicAuth": {
2098
+ "type": "http",
2099
+ "scheme": "basic"
2100
+ },
2101
+ "cookieAuth": {
2102
+ "type": "apiKey",
2103
+ "in": "cookie",
2104
+ "name": "sessionid"
2105
+ },
2106
+ "jwtAuth": {
2107
+ "type": "http",
2108
+ "scheme": "bearer",
2109
+ "bearerFormat": "JWT"
2110
+ },
2111
+ "jwtAuthWithLastLogin": {
2112
+ "type": "http",
2113
+ "scheme": "bearer",
2114
+ "bearerFormat": "JWT"
2115
+ }
2116
+ }
2117
+ },
2118
+ "servers": [
2119
+ {
2120
+ "url": "http://localhost:8000"
2121
+ }
2122
+ ]
2123
+ }