14 def __init__(self, runtime_data: RuntimeData, success: int = 0, error: int = 84, debug: bool =
False) ->
None:
18 runtime_data (RuntimeData): _description_
19 success (int, optional): _description_. Defaults to 0.
20 error (int, optional): _description_. Defaults to 84.
21 debug (bool, optional): _description_. Defaults to False.
38 logger=self.__class__.__name__
42 runtime_data=runtime_data,
48 runtime_data=runtime_data,
54 runtime_data=runtime_data,
66 runtime_data=runtime_data,
77 "", self.
bonus.get_welcome, [
78 "GET",
"POST",
"PUT",
"PATCH",
"DELETE",
"HEAD",
"OPTIONS"
82 "/", self.
bonus.get_welcome, [
83 "GET",
"POST",
"PUT",
"PATCH",
"DELETE",
"HEAD",
"OPTIONS"
87 "/api/v1/", self.
bonus.get_welcome,
"GET"
90 "/api/v1/bucket_names", self.
bonus.get_s3_bucket_names,
"GET"
93 "/api/v1/get_table", self.
bonus.get_table,
"GET"
96 "/api/v1/stop", self.
bonus.post_stop_server,
"PUT"
99 "/api/v1/trigger_action/{id}", self.
bonus.trigger_endpoint,
"GET"
104 "/about.json", self.
mandatory.get_about,
"GET"
115 "/api/v1/send_email_verification", self.
user_endpoints.post_send_email_verification,
"POST"
118 "/api/v1/reset_password", self.
user_endpoints.put_reset_password,
"PATCH"
129 "/api/v1/oauth/{provider}", self.
runtime_data_initialised.oauth_authentication_initialised.add_oauth_provider,
"POST"
132 "/api/v1/oauth/{provider}", self.
runtime_data_initialised.oauth_authentication_initialised.update_oauth_provider_data,
"PUT"
135 "/api/v1/oauth/{provider}", self.
runtime_data_initialised.oauth_authentication_initialised.patch_oauth_provider_data,
"PATCH"
138 "/api/v1/oauth/{provider}", self.
runtime_data_initialised.oauth_authentication_initialised.delete_oauth_provider,
"DELETE"
155 "/api/v1/user_favicon", self.
user_endpoints.put_user_favicon,
"PUT"
158 "/api/v1/user_favicon", self.
user_endpoints.delete_user_favicon,
"DELETE"
169 "/api/v1/services", self.
services.get_services,
"GET"
172 "/api/v1/service/{service_id}", self.
services.get_service_by_id,
"GET"
175 "/api/v1/services/{tags}", self.
services.get_services_by_tag,
"GET"
178 "/api/v1/recent_services", self.
services.get_recent_services,
"GET"
181 "/api/v1/service/{name}", self.
services.create_service,
"POST"
184 "/api/v1/service/{service_id}", self.
services.update_service,
"PUT"
187 "/api/v1/service/{service_id}", self.
services.patch_service,
"PATCH"
190 "/api/v1/service_id/name/{name}", self.
services.get_service_id_by_name,
"GET"
193 "/api/v1/service/{service_id}", self.
services.delete_service,
"DELETE"
198 "/api/v1/my_applet/{applet_id}", self.
applets.get_applet_by_id,
"GET"
201 "/api/v1/my_applets", self.
applets.get_my_applets,
"GET"
204 "/api/v1/my_applets/{tags}", self.
applets.get_my_applets_by_tags,
"GET"
207 "/api/v1/my_applet", self.
applets.create_applet,
"POST"
210 "/api/v1/my_applet/{applet_id}", self.
applets.put_applet_by_id,
"PUT"
213 "/api/v1/triggers", self.
applets.get_triggers,
"GET"
216 "/api/v1/reactions", self.
applets.get_reactions,
"GET"
219 "/api/v1/my_applet/{applet_id}", self.
applets.patch_applet_by_id,
"PATCH"
222 "/api/v1/triggers_services", self.
applets.get_triggers_services,
"GET"
225 "/api/v1/reactions_services", self.
applets.get_reactions_services,
"GET"
228 "/api/v1/triggers/service/{service_id}", self.
applets.get_triggers_by_service_id,
"GET"
231 "/api/v1/reactions/service/{service_id}", self.
applets.get_reactions_by_service_id,
"GET"
234 "/api/v1/my_applet/{applet_id}", self.
applets.delete_my_applet_by_id,
"DELETE"