notifo-io 1.0.1 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1242 -42
- data/Rakefile +0 -2
- data/docs/AddAllowedTopicDto.md +3 -14
- data/docs/AddContributorDto.md +4 -16
- data/docs/AppContributorDto.md +5 -18
- data/docs/AppDetailsDto.md +12 -44
- data/docs/AppDto.md +10 -24
- data/docs/AppIdMediaBody.md +7 -0
- data/docs/AppsApi.md +161 -343
- data/docs/ChannelCondition.md +6 -0
- data/docs/ChannelSend.md +6 -0
- data/docs/ChannelSendInfoDto.md +9 -0
- data/docs/ChannelSettingDto.md +11 -0
- data/docs/ChannelTemplateDetailsDtoOfEmailTemplateDto.md +12 -0
- data/docs/ChannelTemplateDetailsDtoOfMessagingTemplateDto.md +12 -0
- data/docs/ChannelTemplateDetailsDtoOfSmsTemplateDto.md +12 -0
- data/docs/ChannelTemplateDto.md +11 -0
- data/docs/ConfigsApi.md +21 -61
- data/docs/ConfiguredIntegrationDto.md +13 -0
- data/docs/ConfiguredIntegrationsDto.md +8 -0
- data/docs/ConfirmMode.md +2 -11
- data/docs/CreateChannelTemplateDto.md +7 -0
- data/docs/CreateChannelTemplateLanguageDto.md +7 -0
- data/docs/CreateIntegrationDto.md +11 -0
- data/docs/CreateSystemUserDto.md +9 -0
- data/docs/EmailFormattingError.md +10 -0
- data/docs/EmailPreviewDto.md +8 -0
- data/docs/EmailPreviewRequestDto.md +9 -0
- data/docs/EmailPreviewType.md +6 -0
- data/docs/EmailTemplateDto.md +8 -18
- data/docs/EmailTemplateType.md +6 -0
- data/docs/EmailTemplatesApi.md +488 -0
- data/docs/ErrorDto.md +8 -22
- data/docs/EventDto.md +17 -36
- data/docs/EventsApi.md +74 -65
- data/docs/HandledInfoDto.md +8 -0
- data/docs/IntegrationCreatedDto.md +8 -0
- data/docs/IntegrationDefinitionDto.md +11 -0
- data/docs/IntegrationPropertyDto.md +19 -0
- data/docs/IntegrationPropertyType.md +6 -0
- data/docs/IntegrationStatus.md +6 -0
- data/docs/IsoDayOfWeek.md +2 -11
- data/docs/ListResponseDtoOfChannelTemplateDto.md +8 -0
- data/docs/ListResponseDtoOfEventDto.md +4 -16
- data/docs/ListResponseDtoOfLogEntryDto.md +4 -16
- data/docs/ListResponseDtoOfMediaDto.md +4 -16
- data/docs/ListResponseDtoOfMobilePushTokenDto.md +8 -0
- data/docs/ListResponseDtoOfSubscriptionDto.md +4 -16
- data/docs/ListResponseDtoOfSystemUserDto.md +8 -0
- data/docs/ListResponseDtoOfTemplateDto.md +4 -16
- data/docs/ListResponseDtoOfTopicDto.md +4 -16
- data/docs/ListResponseDtoOfUserDto.md +4 -16
- data/docs/ListResponseDtoOfUserNotificationDetailsDto.md +8 -0
- data/docs/ListResponseDtoOfUserNotificationDto.md +8 -0
- data/docs/LocalizedText.md +6 -0
- data/docs/LogEntryDto.md +6 -20
- data/docs/LogsApi.md +21 -40
- data/docs/MediaApi.md +102 -196
- data/docs/MediaDto.md +11 -26
- data/docs/MediaMetadata.md +6 -0
- data/docs/MediaType.md +2 -11
- data/docs/MessagingTemplateDto.md +7 -0
- data/docs/MessagingTemplatesApi.md +394 -0
- data/docs/MobileDeviceType.md +6 -0
- data/docs/MobilePushApi.md +135 -0
- data/docs/MobilePushTokenDto.md +9 -0
- data/docs/MobilePushTokenDto2.md +8 -0
- data/docs/NotificationFormattingDto.md +10 -28
- data/docs/NotificationProperties.md +6 -0
- data/docs/NotificationsApi.md +199 -0
- data/docs/PingApi.md +48 -0
- data/docs/ProcessStatus.md +6 -0
- data/docs/ProfileDto.md +11 -28
- data/docs/PublishDto.md +14 -32
- data/docs/PublishManyDto.md +3 -14
- data/docs/RegisterMobileTokenDto.md +8 -0
- data/docs/ResizeMode.md +2 -11
- data/docs/SchedulingDto.md +6 -20
- data/docs/SchedulingType.md +2 -11
- data/docs/SmsTemplateDto.md +7 -0
- data/docs/SmsTemplatesApi.md +394 -0
- data/docs/SubscribeDto.md +8 -0
- data/docs/SubscribeManyDto.md +8 -0
- data/docs/SubscriptionDto.md +4 -16
- data/docs/SystemUserDto.md +11 -0
- data/docs/SystemUsersApi.md +327 -0
- data/docs/TemplateDto.md +7 -18
- data/docs/TemplatesApi.md +52 -108
- data/docs/TopicChannel.md +6 -0
- data/docs/TopicDto.md +11 -18
- data/docs/TopicQueryScope.md +6 -0
- data/docs/TopicsApi.md +106 -30
- data/docs/TrackNotificationDto.md +10 -0
- data/docs/UpdateChannelTemplateDtoOfEmailTemplateDto.md +9 -0
- data/docs/UpdateChannelTemplateDtoOfMessagingTemplateDto.md +9 -0
- data/docs/UpdateChannelTemplateDtoOfSmsTemplateDto.md +9 -0
- data/docs/UpdateIntegrationDto.md +11 -0
- data/docs/UpdateProfileDto.md +8 -24
- data/docs/UpdateSystemUserDto.md +9 -0
- data/docs/UpsertAppDto.md +12 -32
- data/docs/UpsertTemplateDto.md +5 -18
- data/docs/UpsertTemplatesDto.md +3 -14
- data/docs/UpsertTopicDto.md +11 -0
- data/docs/UpsertTopicsDto.md +7 -0
- data/docs/UpsertUserDto.md +11 -28
- data/docs/UpsertUsersDto.md +3 -14
- data/docs/UserApi.md +156 -150
- data/docs/UserDto.md +20 -32
- data/docs/UserNotificationBaseDto.md +23 -0
- data/docs/UserNotificationChannelDto.md +11 -0
- data/docs/UserNotificationDetailsDto.md +27 -0
- data/docs/UserNotificationDto.md +25 -0
- data/docs/UserPropertyDto.md +9 -0
- data/docs/UserTopicDto.md +11 -0
- data/docs/UsersApi.md +161 -320
- data/git_push.sh +7 -10
- data/lib/notifo/api/apps_api.rb +164 -236
- data/lib/notifo/api/configs_api.rb +14 -30
- data/lib/notifo/api/email_templates_api.rb +663 -0
- data/lib/notifo/api/events_api.rb +88 -45
- data/lib/notifo/api/logs_api.rb +12 -21
- data/lib/notifo/api/media_api.rb +60 -97
- data/lib/notifo/api/messaging_templates_api.rb +541 -0
- data/lib/notifo/api/mobile_push_api.rb +178 -0
- data/lib/notifo/api/notifications_api.rb +256 -0
- data/lib/notifo/api/ping_api.rb +70 -0
- data/lib/notifo/api/sms_templates_api.rb +541 -0
- data/lib/notifo/api/system_users_api.rb +411 -0
- data/lib/notifo/api/templates_api.rb +43 -66
- data/lib/notifo/api/topics_api.rb +137 -21
- data/lib/notifo/api/user_api.rb +178 -104
- data/lib/notifo/api/users_api.rb +140 -199
- data/lib/notifo/api_client.rb +54 -56
- data/lib/notifo/api_error.rb +5 -5
- data/lib/notifo/configuration.rb +12 -84
- data/lib/notifo/models/add_allowed_topic_dto.rb +13 -44
- data/lib/notifo/models/add_contributor_dto.rb +14 -64
- data/lib/notifo/models/app_contributor_dto.rb +15 -84
- data/lib/notifo/models/app_details_dto.rb +51 -189
- data/lib/notifo/models/app_dto.rb +47 -86
- data/lib/notifo/models/{inline_object.rb → app_id_media_body.rb} +16 -28
- data/lib/notifo/models/channel_condition.rb +30 -0
- data/lib/notifo/models/channel_send.rb +30 -0
- data/lib/notifo/models/channel_send_info_dto.rb +227 -0
- data/lib/notifo/models/channel_setting_dto.rb +256 -0
- data/lib/notifo/models/channel_template_details_dto_of_email_template_dto.rb +285 -0
- data/lib/notifo/models/channel_template_details_dto_of_messaging_template_dto.rb +285 -0
- data/lib/notifo/models/channel_template_details_dto_of_sms_template_dto.rb +285 -0
- data/lib/notifo/models/channel_template_dto.rb +264 -0
- data/lib/notifo/models/configured_integration_dto.rb +285 -0
- data/lib/notifo/models/configured_integrations_dto.rb +231 -0
- data/lib/notifo/models/confirm_mode.rb +6 -16
- data/lib/notifo/models/create_channel_template_dto.rb +208 -0
- data/lib/notifo/models/{create_email_template_dto.rb → create_channel_template_language_dto.rb} +16 -47
- data/lib/notifo/models/create_integration_dto.rb +262 -0
- data/lib/notifo/models/create_system_user_dto.rb +240 -0
- data/lib/notifo/models/email_formatting_error.rb +233 -0
- data/lib/notifo/models/email_preview_dto.rb +221 -0
- data/lib/notifo/models/{notification_setting_dto.rb → email_preview_request_dto.rb} +43 -45
- data/lib/notifo/models/email_preview_type.rb +28 -0
- data/lib/notifo/models/email_template_dto.rb +52 -69
- data/lib/notifo/models/email_template_type.rb +30 -0
- data/lib/notifo/models/error_dto.rb +29 -30
- data/lib/notifo/models/event_dto.rb +60 -115
- data/lib/notifo/models/handled_info_dto.rb +218 -0
- data/lib/notifo/models/integration_created_dto.rb +226 -0
- data/lib/notifo/models/integration_definition_dto.rb +272 -0
- data/lib/notifo/models/integration_property_dto.rb +347 -0
- data/lib/notifo/models/integration_property_type.rb +31 -0
- data/lib/notifo/models/integration_status.rb +29 -0
- data/lib/notifo/models/iso_day_of_week.rb +12 -21
- data/lib/notifo/models/list_response_dto_of_channel_template_dto.rb +229 -0
- data/lib/notifo/models/list_response_dto_of_event_dto.rb +14 -26
- data/lib/notifo/models/list_response_dto_of_log_entry_dto.rb +14 -26
- data/lib/notifo/models/list_response_dto_of_media_dto.rb +14 -26
- data/lib/notifo/models/list_response_dto_of_mobile_push_token_dto.rb +229 -0
- data/lib/notifo/models/list_response_dto_of_subscription_dto.rb +14 -26
- data/lib/notifo/models/list_response_dto_of_system_user_dto.rb +229 -0
- data/lib/notifo/models/list_response_dto_of_template_dto.rb +14 -26
- data/lib/notifo/models/list_response_dto_of_topic_dto.rb +14 -26
- data/lib/notifo/models/list_response_dto_of_user_dto.rb +14 -26
- data/lib/notifo/models/list_response_dto_of_user_notification_details_dto.rb +229 -0
- data/lib/notifo/models/list_response_dto_of_user_notification_dto.rb +229 -0
- data/lib/notifo/models/localized_text.rb +201 -0
- data/lib/notifo/models/log_entry_dto.rb +16 -85
- data/lib/notifo/models/media_dto.rb +56 -116
- data/lib/notifo/models/media_metadata.rb +201 -0
- data/lib/notifo/models/media_type.rb +8 -17
- data/lib/notifo/models/messaging_template_dto.rb +212 -0
- data/lib/notifo/models/mobile_device_type.rb +29 -0
- data/lib/notifo/models/mobile_push_token_dto.rb +237 -0
- data/lib/notifo/models/mobile_push_token_dto2.rb +221 -0
- data/lib/notifo/models/notification_formatting_dto.rb +27 -58
- data/lib/notifo/models/notification_properties.rb +201 -0
- data/lib/notifo/models/process_status.rb +31 -0
- data/lib/notifo/models/profile_dto.rb +33 -71
- data/lib/notifo/models/publish_dto.rb +47 -59
- data/lib/notifo/models/publish_many_dto.rb +13 -25
- data/lib/notifo/models/register_mobile_token_dto.rb +221 -0
- data/lib/notifo/models/resize_mode.rb +11 -20
- data/lib/notifo/models/scheduling_dto.rb +16 -28
- data/lib/notifo/models/scheduling_type.rb +6 -15
- data/lib/notifo/models/sms_template_dto.rb +212 -0
- data/lib/notifo/models/subscribe_dto.rb +225 -0
- data/lib/notifo/models/subscribe_many_dto.rb +223 -0
- data/lib/notifo/models/subscription_dto.rb +17 -44
- data/lib/notifo/models/system_user_dto.rb +269 -0
- data/lib/notifo/models/template_dto.rb +44 -45
- data/lib/notifo/models/topic_channel.rb +28 -0
- data/lib/notifo/models/topic_dto.rb +81 -65
- data/lib/notifo/models/topic_query_scope.rb +29 -0
- data/lib/notifo/models/track_notification_dto.rb +243 -0
- data/lib/notifo/models/update_channel_template_dto_of_email_template_dto.rb +232 -0
- data/lib/notifo/models/update_channel_template_dto_of_messaging_template_dto.rb +232 -0
- data/lib/notifo/models/update_channel_template_dto_of_sms_template_dto.rb +232 -0
- data/lib/notifo/models/update_integration_dto.rb +258 -0
- data/lib/notifo/models/update_profile_dto.rb +18 -30
- data/lib/notifo/models/update_system_user_dto.rb +240 -0
- data/lib/notifo/models/upsert_app_dto.rb +22 -34
- data/lib/notifo/models/upsert_template_dto.rb +15 -46
- data/lib/notifo/models/upsert_templates_dto.rb +13 -25
- data/lib/notifo/models/upsert_topic_dto.rb +249 -0
- data/lib/notifo/models/upsert_topics_dto.rb +214 -0
- data/lib/notifo/models/upsert_user_dto.rb +34 -33
- data/lib/notifo/models/upsert_users_dto.rb +13 -25
- data/lib/notifo/models/user_dto.rb +137 -73
- data/lib/notifo/models/user_notification_base_dto.rb +402 -0
- data/lib/notifo/models/user_notification_channel_dto.rb +261 -0
- data/lib/notifo/models/user_notification_details_dto.rb +450 -0
- data/lib/notifo/models/user_notification_dto.rb +436 -0
- data/lib/notifo/models/user_property_dto.rb +234 -0
- data/lib/notifo/models/user_topic_dto.rb +265 -0
- data/lib/notifo/version.rb +4 -5
- data/lib/notifo.rb +71 -9
- data/notifo.gemspec +8 -8
- data/spec/api/apps_api_spec.rb +31 -32
- data/spec/api/configs_api_spec.rb +7 -8
- data/spec/api/email_templates_api_spec.rb +161 -0
- data/spec/api/events_api_spec.rb +20 -9
- data/spec/api/logs_api_spec.rb +7 -8
- data/spec/api/media_api_spec.rb +32 -11
- data/spec/api/messaging_templates_api_spec.rb +137 -0
- data/spec/api/mobile_push_api_spec.rb +66 -0
- data/spec/api/notifications_api_spec.rb +85 -0
- data/spec/api/ping_api_spec.rb +45 -0
- data/spec/api/sms_templates_api_spec.rb +137 -0
- data/spec/api/system_users_api_spec.rb +114 -0
- data/spec/api/templates_api_spec.rb +9 -10
- data/spec/api/topics_api_spec.rb +32 -8
- data/spec/api/user_api_spec.rb +41 -17
- data/spec/api/users_api_spec.rb +24 -23
- data/spec/api_client_spec.rb +5 -6
- data/spec/base_object_spec.rb +109 -0
- data/spec/configuration_spec.rb +7 -8
- data/spec/models/add_allowed_topic_dto_spec.rb +15 -9
- data/spec/models/add_contributor_dto_spec.rb +15 -9
- data/spec/models/app_contributor_dto_spec.rb +15 -9
- data/spec/models/app_details_dto_spec.rb +18 -48
- data/spec/models/app_dto_spec.rb +27 -9
- data/spec/models/app_id_media_body_spec.rb +40 -0
- data/spec/models/channel_condition_spec.rb +34 -0
- data/spec/models/channel_send_info_dto_spec.rb +52 -0
- data/spec/models/channel_send_spec.rb +34 -0
- data/spec/models/channel_setting_dto_spec.rb +64 -0
- data/spec/models/channel_template_details_dto_of_email_template_dto_spec.rb +70 -0
- data/spec/models/channel_template_details_dto_of_messaging_template_dto_spec.rb +70 -0
- data/spec/models/channel_template_details_dto_of_sms_template_dto_spec.rb +70 -0
- data/spec/models/channel_template_dto_spec.rb +64 -0
- data/spec/models/configured_integration_dto_spec.rb +76 -0
- data/spec/models/configured_integrations_dto_spec.rb +46 -0
- data/spec/models/confirm_mode_spec.rb +15 -9
- data/spec/models/create_channel_template_dto_spec.rb +40 -0
- data/spec/models/create_channel_template_language_dto_spec.rb +40 -0
- data/spec/models/create_integration_dto_spec.rb +64 -0
- data/spec/models/create_system_user_dto_spec.rb +52 -0
- data/spec/models/email_formatting_error_spec.rb +58 -0
- data/spec/models/email_preview_dto_spec.rb +46 -0
- data/spec/models/email_preview_request_dto_spec.rb +52 -0
- data/spec/models/email_preview_type_spec.rb +34 -0
- data/spec/models/email_template_dto_spec.rb +33 -9
- data/spec/models/email_template_type_spec.rb +34 -0
- data/spec/models/error_dto_spec.rb +21 -9
- data/spec/models/event_dto_spec.rb +33 -9
- data/spec/models/handled_info_dto_spec.rb +46 -0
- data/spec/models/integration_created_dto_spec.rb +46 -0
- data/spec/models/integration_definition_dto_spec.rb +64 -0
- data/spec/models/integration_property_dto_spec.rb +112 -0
- data/spec/models/integration_property_type_spec.rb +34 -0
- data/spec/models/integration_status_spec.rb +34 -0
- data/spec/models/iso_day_of_week_spec.rb +15 -9
- data/spec/models/list_response_dto_of_channel_template_dto_spec.rb +46 -0
- data/spec/models/list_response_dto_of_event_dto_spec.rb +15 -9
- data/spec/models/list_response_dto_of_log_entry_dto_spec.rb +15 -9
- data/spec/models/list_response_dto_of_media_dto_spec.rb +15 -9
- data/spec/models/list_response_dto_of_mobile_push_token_dto_spec.rb +46 -0
- data/spec/models/list_response_dto_of_subscription_dto_spec.rb +15 -9
- data/spec/models/list_response_dto_of_system_user_dto_spec.rb +46 -0
- data/spec/models/list_response_dto_of_template_dto_spec.rb +15 -9
- data/spec/models/list_response_dto_of_topic_dto_spec.rb +15 -9
- data/spec/models/list_response_dto_of_user_dto_spec.rb +15 -9
- data/spec/models/list_response_dto_of_user_notification_details_dto_spec.rb +46 -0
- data/spec/models/list_response_dto_of_user_notification_dto_spec.rb +46 -0
- data/spec/models/localized_text_spec.rb +34 -0
- data/spec/models/log_entry_dto_spec.rb +15 -9
- data/spec/models/media_dto_spec.rb +33 -9
- data/spec/models/media_metadata_spec.rb +34 -0
- data/spec/models/media_type_spec.rb +15 -9
- data/spec/models/messaging_template_dto_spec.rb +40 -0
- data/spec/models/mobile_device_type_spec.rb +34 -0
- data/spec/models/mobile_push_token_dto2_spec.rb +46 -0
- data/spec/models/mobile_push_token_dto_spec.rb +52 -0
- data/spec/models/notification_formatting_dto_spec.rb +15 -9
- data/spec/models/notification_properties_spec.rb +34 -0
- data/spec/models/process_status_spec.rb +34 -0
- data/spec/models/profile_dto_spec.rb +21 -9
- data/spec/models/publish_dto_spec.rb +27 -9
- data/spec/models/publish_many_dto_spec.rb +15 -9
- data/spec/models/register_mobile_token_dto_spec.rb +46 -0
- data/spec/models/resize_mode_spec.rb +15 -9
- data/spec/models/scheduling_dto_spec.rb +15 -9
- data/spec/models/scheduling_type_spec.rb +15 -9
- data/spec/models/sms_template_dto_spec.rb +40 -0
- data/spec/models/subscribe_dto_spec.rb +46 -0
- data/spec/models/subscribe_many_dto_spec.rb +46 -0
- data/spec/models/subscription_dto_spec.rb +15 -9
- data/spec/models/system_user_dto_spec.rb +64 -0
- data/spec/models/template_dto_spec.rb +27 -9
- data/spec/models/topic_channel_spec.rb +34 -0
- data/spec/models/topic_dto_spec.rb +51 -9
- data/spec/models/topic_query_scope_spec.rb +34 -0
- data/spec/models/track_notification_dto_spec.rb +58 -0
- data/spec/models/update_channel_template_dto_of_email_template_dto_spec.rb +52 -0
- data/spec/models/update_channel_template_dto_of_messaging_template_dto_spec.rb +52 -0
- data/spec/models/update_channel_template_dto_of_sms_template_dto_spec.rb +52 -0
- data/spec/models/update_integration_dto_spec.rb +64 -0
- data/spec/models/update_profile_dto_spec.rb +15 -9
- data/spec/models/update_system_user_dto_spec.rb +52 -0
- data/spec/models/upsert_app_dto_spec.rb +15 -9
- data/spec/models/upsert_template_dto_spec.rb +15 -9
- data/spec/models/upsert_templates_dto_spec.rb +15 -9
- data/spec/models/upsert_topic_dto_spec.rb +64 -0
- data/spec/models/upsert_topics_dto_spec.rb +40 -0
- data/spec/models/upsert_user_dto_spec.rb +21 -9
- data/spec/models/upsert_users_dto_spec.rb +15 -9
- data/spec/models/user_dto_spec.rb +63 -9
- data/spec/models/user_notification_base_dto_spec.rb +136 -0
- data/spec/models/user_notification_channel_dto_spec.rb +64 -0
- data/spec/models/user_notification_details_dto_spec.rb +160 -0
- data/spec/models/user_notification_dto_spec.rb +148 -0
- data/spec/models/user_property_dto_spec.rb +52 -0
- data/spec/models/user_topic_dto_spec.rb +64 -0
- data/spec/spec_helper.rb +4 -5
- metadata +299 -32
- data/docs/CreateEmailTemplateDto.md +0 -18
- data/docs/EmailVerificationStatus.md +0 -15
- data/docs/InlineObject.md +0 -18
- data/docs/NotificationSend.md +0 -15
- data/docs/NotificationSettingDto.md +0 -20
- data/lib/notifo/models/email_verification_status.rb +0 -39
- data/lib/notifo/models/notification_send.rb +0 -39
- data/notifo-1.0.0.gem +0 -0
- data/notifo-io-1.0.0.2.gem +0 -0
- data/notifo-io-1.0.0.gem +0 -0
- data/spec/models/create_email_template_dto_spec.rb +0 -34
- data/spec/models/email_verification_status_spec.rb +0 -28
- data/spec/models/inline_object_spec.rb +0 -34
- data/spec/models/notification_send_spec.rb +0 -28
- data/spec/models/notification_setting_dto_spec.rb +0 -40
data/docs/AppsApi.md
CHANGED
@@ -1,70 +1,50 @@
|
|
1
1
|
# Notifo::AppsApi
|
2
2
|
|
3
|
-
All URIs are relative to *
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
> <AppDetailsDto> apps_delete_contributor(app_id, contributor_id)
|
3
|
+
All URIs are relative to *https://notifo.easierlife.com*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**apps_delete_contributor**](AppsApi.md#apps_delete_contributor) | **POST** /api/apps/{appId}/contributors/{contributorId} | Delete an app contributor.
|
8
|
+
[**apps_delete_integration**](AppsApi.md#apps_delete_integration) | **DELETE** /api/apps/{appId}/integrations/{id} | Delete an app integration.
|
9
|
+
[**apps_get_app**](AppsApi.md#apps_get_app) | **GET** /api/apps/{appId} | Get app by id.
|
10
|
+
[**apps_get_apps**](AppsApi.md#apps_get_apps) | **GET** /api/apps | Get the user apps.
|
11
|
+
[**apps_get_integrations**](AppsApi.md#apps_get_integrations) | **GET** /api/apps/{appId}/integrations | Get the app integrations.
|
12
|
+
[**apps_post_app**](AppsApi.md#apps_post_app) | **POST** /api/apps | Create an app.
|
13
|
+
[**apps_post_contributor**](AppsApi.md#apps_post_contributor) | **POST** /api/apps/{appId}/contributors | Add an app contributor.
|
14
|
+
[**apps_post_integration**](AppsApi.md#apps_post_integration) | **POST** /api/apps/{appId}/integration | Create an app integrations.
|
15
|
+
[**apps_put_app**](AppsApi.md#apps_put_app) | **POST** /api/apps/{appId} | Update an app.
|
16
|
+
[**apps_put_integration**](AppsApi.md#apps_put_integration) | **PUT** /api/apps/{appId}/integrations/{id} | Update an app integration.
|
17
|
+
|
18
|
+
# **apps_delete_contributor**
|
19
|
+
> AppDetailsDto apps_delete_contributor(app_id, contributor_id)
|
22
20
|
|
23
21
|
Delete an app contributor.
|
24
22
|
|
25
|
-
###
|
26
|
-
|
23
|
+
### Example
|
27
24
|
```ruby
|
28
|
-
|
25
|
+
# load the gem
|
29
26
|
require 'notifo'
|
30
27
|
|
31
28
|
api_instance = Notifo::AppsApi.new
|
32
29
|
app_id = 'app_id_example' # String | The id of the app.
|
33
30
|
contributor_id = 'contributor_id_example' # String | The contributor to remove.
|
34
31
|
|
32
|
+
|
35
33
|
begin
|
36
|
-
#
|
34
|
+
#Delete an app contributor.
|
37
35
|
result = api_instance.apps_delete_contributor(app_id, contributor_id)
|
38
36
|
p result
|
39
37
|
rescue Notifo::ApiError => e
|
40
|
-
puts "
|
41
|
-
end
|
42
|
-
```
|
43
|
-
|
44
|
-
#### Using the apps_delete_contributor_with_http_info variant
|
45
|
-
|
46
|
-
This returns an Array which contains the response data, status code and headers.
|
47
|
-
|
48
|
-
> <Array(<AppDetailsDto>, Integer, Hash)> apps_delete_contributor_with_http_info(app_id, contributor_id)
|
49
|
-
|
50
|
-
```ruby
|
51
|
-
begin
|
52
|
-
# Delete an app contributor.
|
53
|
-
data, status_code, headers = api_instance.apps_delete_contributor_with_http_info(app_id, contributor_id)
|
54
|
-
p status_code # => 2xx
|
55
|
-
p headers # => { ... }
|
56
|
-
p data # => <AppDetailsDto>
|
57
|
-
rescue Notifo::ApiError => e
|
58
|
-
puts "Error when calling AppsApi->apps_delete_contributor_with_http_info: #{e}"
|
38
|
+
puts "Exception when calling AppsApi->apps_delete_contributor: #{e}"
|
59
39
|
end
|
60
40
|
```
|
61
41
|
|
62
42
|
### Parameters
|
63
43
|
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
44
|
+
Name | Type | Description | Notes
|
45
|
+
------------- | ------------- | ------------- | -------------
|
46
|
+
**app_id** | **String**| The id of the app. |
|
47
|
+
**contributor_id** | **String**| The contributor to remove. |
|
68
48
|
|
69
49
|
### Return type
|
70
50
|
|
@@ -76,58 +56,40 @@ No authorization required
|
|
76
56
|
|
77
57
|
### HTTP request headers
|
78
58
|
|
79
|
-
- **Content-Type**: Not defined
|
80
|
-
- **Accept**: application/json
|
59
|
+
- **Content-Type**: Not defined
|
60
|
+
- **Accept**: application/json
|
81
61
|
|
82
62
|
|
83
|
-
## apps_delete_email_template
|
84
63
|
|
85
|
-
|
64
|
+
# **apps_delete_integration**
|
65
|
+
> apps_delete_integration(app_id, id)
|
86
66
|
|
87
|
-
Delete an app
|
88
|
-
|
89
|
-
### Examples
|
67
|
+
Delete an app integration.
|
90
68
|
|
69
|
+
### Example
|
91
70
|
```ruby
|
92
|
-
|
71
|
+
# load the gem
|
93
72
|
require 'notifo'
|
94
73
|
|
95
74
|
api_instance = Notifo::AppsApi.new
|
96
75
|
app_id = 'app_id_example' # String | The id of the app where the email templates belong to.
|
97
|
-
|
98
|
-
|
99
|
-
begin
|
100
|
-
# Delete an app email template.
|
101
|
-
api_instance.apps_delete_email_template(app_id, language)
|
102
|
-
rescue Notifo::ApiError => e
|
103
|
-
puts "Error when calling AppsApi->apps_delete_email_template: #{e}"
|
104
|
-
end
|
105
|
-
```
|
106
|
-
|
107
|
-
#### Using the apps_delete_email_template_with_http_info variant
|
76
|
+
id = 'id_example' # String | The id of the integration.
|
108
77
|
|
109
|
-
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
110
78
|
|
111
|
-
> <Array(nil, Integer, Hash)> apps_delete_email_template_with_http_info(app_id, language)
|
112
|
-
|
113
|
-
```ruby
|
114
79
|
begin
|
115
|
-
#
|
116
|
-
|
117
|
-
p status_code # => 2xx
|
118
|
-
p headers # => { ... }
|
119
|
-
p data # => nil
|
80
|
+
#Delete an app integration.
|
81
|
+
api_instance.apps_delete_integration(app_id, id)
|
120
82
|
rescue Notifo::ApiError => e
|
121
|
-
puts "
|
83
|
+
puts "Exception when calling AppsApi->apps_delete_integration: #{e}"
|
122
84
|
end
|
123
85
|
```
|
124
86
|
|
125
87
|
### Parameters
|
126
88
|
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
89
|
+
Name | Type | Description | Notes
|
90
|
+
------------- | ------------- | ------------- | -------------
|
91
|
+
**app_id** | **String**| The id of the app where the email templates belong to. |
|
92
|
+
**id** | **String**| The id of the integration. |
|
131
93
|
|
132
94
|
### Return type
|
133
95
|
|
@@ -139,57 +101,39 @@ No authorization required
|
|
139
101
|
|
140
102
|
### HTTP request headers
|
141
103
|
|
142
|
-
- **Content-Type**: Not defined
|
143
|
-
- **Accept**: application/json
|
104
|
+
- **Content-Type**: Not defined
|
105
|
+
- **Accept**: application/json
|
144
106
|
|
145
107
|
|
146
|
-
## apps_get_app
|
147
108
|
|
148
|
-
|
109
|
+
# **apps_get_app**
|
110
|
+
> AppDetailsDto apps_get_app(app_id)
|
149
111
|
|
150
112
|
Get app by id.
|
151
113
|
|
152
|
-
###
|
153
|
-
|
114
|
+
### Example
|
154
115
|
```ruby
|
155
|
-
|
116
|
+
# load the gem
|
156
117
|
require 'notifo'
|
157
118
|
|
158
119
|
api_instance = Notifo::AppsApi.new
|
159
120
|
app_id = 'app_id_example' # String | The id of the app.
|
160
121
|
|
122
|
+
|
161
123
|
begin
|
162
|
-
#
|
124
|
+
#Get app by id.
|
163
125
|
result = api_instance.apps_get_app(app_id)
|
164
126
|
p result
|
165
127
|
rescue Notifo::ApiError => e
|
166
|
-
puts "
|
167
|
-
end
|
168
|
-
```
|
169
|
-
|
170
|
-
#### Using the apps_get_app_with_http_info variant
|
171
|
-
|
172
|
-
This returns an Array which contains the response data, status code and headers.
|
173
|
-
|
174
|
-
> <Array(<AppDetailsDto>, Integer, Hash)> apps_get_app_with_http_info(app_id)
|
175
|
-
|
176
|
-
```ruby
|
177
|
-
begin
|
178
|
-
# Get app by id.
|
179
|
-
data, status_code, headers = api_instance.apps_get_app_with_http_info(app_id)
|
180
|
-
p status_code # => 2xx
|
181
|
-
p headers # => { ... }
|
182
|
-
p data # => <AppDetailsDto>
|
183
|
-
rescue Notifo::ApiError => e
|
184
|
-
puts "Error when calling AppsApi->apps_get_app_with_http_info: #{e}"
|
128
|
+
puts "Exception when calling AppsApi->apps_get_app: #{e}"
|
185
129
|
end
|
186
130
|
```
|
187
131
|
|
188
132
|
### Parameters
|
189
133
|
|
190
|
-
|
191
|
-
|
192
|
-
|
134
|
+
Name | Type | Description | Notes
|
135
|
+
------------- | ------------- | ------------- | -------------
|
136
|
+
**app_id** | **String**| The id of the app. |
|
193
137
|
|
194
138
|
### Return type
|
195
139
|
|
@@ -201,53 +145,33 @@ No authorization required
|
|
201
145
|
|
202
146
|
### HTTP request headers
|
203
147
|
|
204
|
-
- **Content-Type**: Not defined
|
205
|
-
- **Accept**: application/json
|
148
|
+
- **Content-Type**: Not defined
|
149
|
+
- **Accept**: application/json
|
206
150
|
|
207
151
|
|
208
|
-
## apps_get_apps
|
209
152
|
|
210
|
-
|
153
|
+
# **apps_get_apps**
|
154
|
+
> Array<AppDto> apps_get_apps
|
211
155
|
|
212
156
|
Get the user apps.
|
213
157
|
|
214
|
-
###
|
215
|
-
|
158
|
+
### Example
|
216
159
|
```ruby
|
217
|
-
|
160
|
+
# load the gem
|
218
161
|
require 'notifo'
|
219
162
|
|
220
163
|
api_instance = Notifo::AppsApi.new
|
221
164
|
|
222
165
|
begin
|
223
|
-
#
|
166
|
+
#Get the user apps.
|
224
167
|
result = api_instance.apps_get_apps
|
225
168
|
p result
|
226
169
|
rescue Notifo::ApiError => e
|
227
|
-
puts "
|
228
|
-
end
|
229
|
-
```
|
230
|
-
|
231
|
-
#### Using the apps_get_apps_with_http_info variant
|
232
|
-
|
233
|
-
This returns an Array which contains the response data, status code and headers.
|
234
|
-
|
235
|
-
> <Array(<Array<AppDto>>, Integer, Hash)> apps_get_apps_with_http_info
|
236
|
-
|
237
|
-
```ruby
|
238
|
-
begin
|
239
|
-
# Get the user apps.
|
240
|
-
data, status_code, headers = api_instance.apps_get_apps_with_http_info
|
241
|
-
p status_code # => 2xx
|
242
|
-
p headers # => { ... }
|
243
|
-
p data # => <Array<AppDto>>
|
244
|
-
rescue Notifo::ApiError => e
|
245
|
-
puts "Error when calling AppsApi->apps_get_apps_with_http_info: #{e}"
|
170
|
+
puts "Exception when calling AppsApi->apps_get_apps: #{e}"
|
246
171
|
end
|
247
172
|
```
|
248
173
|
|
249
174
|
### Parameters
|
250
|
-
|
251
175
|
This endpoint does not need any parameter.
|
252
176
|
|
253
177
|
### Return type
|
@@ -260,61 +184,43 @@ No authorization required
|
|
260
184
|
|
261
185
|
### HTTP request headers
|
262
186
|
|
263
|
-
- **Content-Type**: Not defined
|
264
|
-
- **Accept**: application/json
|
187
|
+
- **Content-Type**: Not defined
|
188
|
+
- **Accept**: application/json
|
265
189
|
|
266
190
|
|
267
|
-
## apps_get_email_templates
|
268
191
|
|
269
|
-
|
192
|
+
# **apps_get_integrations**
|
193
|
+
> ConfiguredIntegrationsDto apps_get_integrations(app_id)
|
270
194
|
|
271
|
-
Get the app
|
272
|
-
|
273
|
-
### Examples
|
195
|
+
Get the app integrations.
|
274
196
|
|
197
|
+
### Example
|
275
198
|
```ruby
|
276
|
-
|
199
|
+
# load the gem
|
277
200
|
require 'notifo'
|
278
201
|
|
279
202
|
api_instance = Notifo::AppsApi.new
|
280
|
-
app_id = 'app_id_example' # String | The id of the app where the
|
281
|
-
|
282
|
-
begin
|
283
|
-
# Get the app email templates.
|
284
|
-
result = api_instance.apps_get_email_templates(app_id)
|
285
|
-
p result
|
286
|
-
rescue Notifo::ApiError => e
|
287
|
-
puts "Error when calling AppsApi->apps_get_email_templates: #{e}"
|
288
|
-
end
|
289
|
-
```
|
290
|
-
|
291
|
-
#### Using the apps_get_email_templates_with_http_info variant
|
203
|
+
app_id = 'app_id_example' # String | The id of the app where the integrations belong to.
|
292
204
|
|
293
|
-
This returns an Array which contains the response data, status code and headers.
|
294
205
|
|
295
|
-
> <Array(<Hash<String, EmailTemplateDto>>, Integer, Hash)> apps_get_email_templates_with_http_info(app_id)
|
296
|
-
|
297
|
-
```ruby
|
298
206
|
begin
|
299
|
-
#
|
300
|
-
|
301
|
-
p
|
302
|
-
p headers # => { ... }
|
303
|
-
p data # => <Hash<String, EmailTemplateDto>>
|
207
|
+
#Get the app integrations.
|
208
|
+
result = api_instance.apps_get_integrations(app_id)
|
209
|
+
p result
|
304
210
|
rescue Notifo::ApiError => e
|
305
|
-
puts "
|
211
|
+
puts "Exception when calling AppsApi->apps_get_integrations: #{e}"
|
306
212
|
end
|
307
213
|
```
|
308
214
|
|
309
215
|
### Parameters
|
310
216
|
|
311
|
-
|
312
|
-
|
313
|
-
|
217
|
+
Name | Type | Description | Notes
|
218
|
+
------------- | ------------- | ------------- | -------------
|
219
|
+
**app_id** | **String**| The id of the app where the integrations belong to. |
|
314
220
|
|
315
221
|
### Return type
|
316
222
|
|
317
|
-
[**
|
223
|
+
[**ConfiguredIntegrationsDto**](ConfiguredIntegrationsDto.md)
|
318
224
|
|
319
225
|
### Authorization
|
320
226
|
|
@@ -322,57 +228,39 @@ No authorization required
|
|
322
228
|
|
323
229
|
### HTTP request headers
|
324
230
|
|
325
|
-
- **Content-Type**: Not defined
|
326
|
-
- **Accept**: application/json
|
231
|
+
- **Content-Type**: Not defined
|
232
|
+
- **Accept**: application/json
|
327
233
|
|
328
234
|
|
329
|
-
## apps_post_app
|
330
235
|
|
331
|
-
|
236
|
+
# **apps_post_app**
|
237
|
+
> AppDto apps_post_app(body)
|
332
238
|
|
333
239
|
Create an app.
|
334
240
|
|
335
|
-
###
|
336
|
-
|
241
|
+
### Example
|
337
242
|
```ruby
|
338
|
-
|
243
|
+
# load the gem
|
339
244
|
require 'notifo'
|
340
245
|
|
341
246
|
api_instance = Notifo::AppsApi.new
|
342
|
-
|
343
|
-
|
344
|
-
begin
|
345
|
-
# Create an app.
|
346
|
-
result = api_instance.apps_post_app(upsert_app_dto)
|
347
|
-
p result
|
348
|
-
rescue Notifo::ApiError => e
|
349
|
-
puts "Error when calling AppsApi->apps_post_app: #{e}"
|
350
|
-
end
|
351
|
-
```
|
352
|
-
|
353
|
-
#### Using the apps_post_app_with_http_info variant
|
247
|
+
body = Notifo::UpsertAppDto.new # UpsertAppDto | The request object.
|
354
248
|
|
355
|
-
This returns an Array which contains the response data, status code and headers.
|
356
249
|
|
357
|
-
> <Array(<AppDto>, Integer, Hash)> apps_post_app_with_http_info(upsert_app_dto)
|
358
|
-
|
359
|
-
```ruby
|
360
250
|
begin
|
361
|
-
#
|
362
|
-
|
363
|
-
p
|
364
|
-
p headers # => { ... }
|
365
|
-
p data # => <AppDto>
|
251
|
+
#Create an app.
|
252
|
+
result = api_instance.apps_post_app(body)
|
253
|
+
p result
|
366
254
|
rescue Notifo::ApiError => e
|
367
|
-
puts "
|
255
|
+
puts "Exception when calling AppsApi->apps_post_app: #{e}"
|
368
256
|
end
|
369
257
|
```
|
370
258
|
|
371
259
|
### Parameters
|
372
260
|
|
373
|
-
|
374
|
-
|
375
|
-
|
261
|
+
Name | Type | Description | Notes
|
262
|
+
------------- | ------------- | ------------- | -------------
|
263
|
+
**body** | [**UpsertAppDto**](UpsertAppDto.md)| The request object. |
|
376
264
|
|
377
265
|
### Return type
|
378
266
|
|
@@ -384,59 +272,41 @@ No authorization required
|
|
384
272
|
|
385
273
|
### HTTP request headers
|
386
274
|
|
387
|
-
- **Content-Type**: application/json
|
388
|
-
- **Accept**: application/json
|
275
|
+
- **Content-Type**: application/json
|
276
|
+
- **Accept**: application/json
|
389
277
|
|
390
278
|
|
391
|
-
## apps_post_contributor
|
392
279
|
|
393
|
-
|
280
|
+
# **apps_post_contributor**
|
281
|
+
> AppDetailsDto apps_post_contributor(bodyapp_id)
|
394
282
|
|
395
283
|
Add an app contributor.
|
396
284
|
|
397
|
-
###
|
398
|
-
|
285
|
+
### Example
|
399
286
|
```ruby
|
400
|
-
|
287
|
+
# load the gem
|
401
288
|
require 'notifo'
|
402
289
|
|
403
290
|
api_instance = Notifo::AppsApi.new
|
291
|
+
body = Notifo::AddContributorDto.new # AddContributorDto | The request object.
|
404
292
|
app_id = 'app_id_example' # String | The id of the app.
|
405
|
-
add_contributor_dto = Notifo::AddContributorDto.new({email: 'email_example', role: 'role_example'}) # AddContributorDto | The request object.
|
406
293
|
|
407
|
-
begin
|
408
|
-
# Add an app contributor.
|
409
|
-
result = api_instance.apps_post_contributor(app_id, add_contributor_dto)
|
410
|
-
p result
|
411
|
-
rescue Notifo::ApiError => e
|
412
|
-
puts "Error when calling AppsApi->apps_post_contributor: #{e}"
|
413
|
-
end
|
414
|
-
```
|
415
|
-
|
416
|
-
#### Using the apps_post_contributor_with_http_info variant
|
417
|
-
|
418
|
-
This returns an Array which contains the response data, status code and headers.
|
419
294
|
|
420
|
-
> <Array(<AppDetailsDto>, Integer, Hash)> apps_post_contributor_with_http_info(app_id, add_contributor_dto)
|
421
|
-
|
422
|
-
```ruby
|
423
295
|
begin
|
424
|
-
#
|
425
|
-
|
426
|
-
p
|
427
|
-
p headers # => { ... }
|
428
|
-
p data # => <AppDetailsDto>
|
296
|
+
#Add an app contributor.
|
297
|
+
result = api_instance.apps_post_contributor(bodyapp_id)
|
298
|
+
p result
|
429
299
|
rescue Notifo::ApiError => e
|
430
|
-
puts "
|
300
|
+
puts "Exception when calling AppsApi->apps_post_contributor: #{e}"
|
431
301
|
end
|
432
302
|
```
|
433
303
|
|
434
304
|
### Parameters
|
435
305
|
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
306
|
+
Name | Type | Description | Notes
|
307
|
+
------------- | ------------- | ------------- | -------------
|
308
|
+
**body** | [**AddContributorDto**](AddContributorDto.md)| The request object. |
|
309
|
+
**app_id** | **String**| The id of the app. |
|
440
310
|
|
441
311
|
### Return type
|
442
312
|
|
@@ -448,63 +318,45 @@ No authorization required
|
|
448
318
|
|
449
319
|
### HTTP request headers
|
450
320
|
|
451
|
-
- **Content-Type**: application/json
|
452
|
-
- **Accept**: application/json
|
321
|
+
- **Content-Type**: application/json
|
322
|
+
- **Accept**: application/json
|
453
323
|
|
454
324
|
|
455
|
-
## apps_post_email_template
|
456
325
|
|
457
|
-
|
326
|
+
# **apps_post_integration**
|
327
|
+
> IntegrationCreatedDto apps_post_integration(bodyapp_id)
|
458
328
|
|
459
|
-
Create an app
|
460
|
-
|
461
|
-
### Examples
|
329
|
+
Create an app integrations.
|
462
330
|
|
331
|
+
### Example
|
463
332
|
```ruby
|
464
|
-
|
333
|
+
# load the gem
|
465
334
|
require 'notifo'
|
466
335
|
|
467
336
|
api_instance = Notifo::AppsApi.new
|
468
|
-
|
469
|
-
|
337
|
+
body = Notifo::CreateIntegrationDto.new # CreateIntegrationDto | The request object.
|
338
|
+
app_id = 'app_id_example' # String | The id of the app where the integration belong to.
|
470
339
|
|
471
|
-
begin
|
472
|
-
# Create an app email template.
|
473
|
-
result = api_instance.apps_post_email_template(app_id, create_email_template_dto)
|
474
|
-
p result
|
475
|
-
rescue Notifo::ApiError => e
|
476
|
-
puts "Error when calling AppsApi->apps_post_email_template: #{e}"
|
477
|
-
end
|
478
|
-
```
|
479
340
|
|
480
|
-
#### Using the apps_post_email_template_with_http_info variant
|
481
|
-
|
482
|
-
This returns an Array which contains the response data, status code and headers.
|
483
|
-
|
484
|
-
> <Array(<EmailTemplateDto>, Integer, Hash)> apps_post_email_template_with_http_info(app_id, create_email_template_dto)
|
485
|
-
|
486
|
-
```ruby
|
487
341
|
begin
|
488
|
-
#
|
489
|
-
|
490
|
-
p
|
491
|
-
p headers # => { ... }
|
492
|
-
p data # => <EmailTemplateDto>
|
342
|
+
#Create an app integrations.
|
343
|
+
result = api_instance.apps_post_integration(bodyapp_id)
|
344
|
+
p result
|
493
345
|
rescue Notifo::ApiError => e
|
494
|
-
puts "
|
346
|
+
puts "Exception when calling AppsApi->apps_post_integration: #{e}"
|
495
347
|
end
|
496
348
|
```
|
497
349
|
|
498
350
|
### Parameters
|
499
351
|
|
500
|
-
|
501
|
-
|
502
|
-
|
503
|
-
|
352
|
+
Name | Type | Description | Notes
|
353
|
+
------------- | ------------- | ------------- | -------------
|
354
|
+
**body** | [**CreateIntegrationDto**](CreateIntegrationDto.md)| The request object. |
|
355
|
+
**app_id** | **String**| The id of the app where the integration belong to. |
|
504
356
|
|
505
357
|
### Return type
|
506
358
|
|
507
|
-
[**
|
359
|
+
[**IntegrationCreatedDto**](IntegrationCreatedDto.md)
|
508
360
|
|
509
361
|
### Authorization
|
510
362
|
|
@@ -512,59 +364,41 @@ No authorization required
|
|
512
364
|
|
513
365
|
### HTTP request headers
|
514
366
|
|
515
|
-
- **Content-Type**: application/json
|
516
|
-
- **Accept**: application/json
|
367
|
+
- **Content-Type**: application/json
|
368
|
+
- **Accept**: application/json
|
517
369
|
|
518
370
|
|
519
|
-
## apps_put_app
|
520
371
|
|
521
|
-
|
372
|
+
# **apps_put_app**
|
373
|
+
> AppDetailsDto apps_put_app(bodyapp_id)
|
522
374
|
|
523
375
|
Update an app.
|
524
376
|
|
525
|
-
###
|
526
|
-
|
377
|
+
### Example
|
527
378
|
```ruby
|
528
|
-
|
379
|
+
# load the gem
|
529
380
|
require 'notifo'
|
530
381
|
|
531
382
|
api_instance = Notifo::AppsApi.new
|
383
|
+
body = Notifo::UpsertAppDto.new # UpsertAppDto | The request object.
|
532
384
|
app_id = 'app_id_example' # String | The app id to update.
|
533
|
-
upsert_app_dto = Notifo::UpsertAppDto.new # UpsertAppDto | The request object.
|
534
|
-
|
535
|
-
begin
|
536
|
-
# Update an app.
|
537
|
-
result = api_instance.apps_put_app(app_id, upsert_app_dto)
|
538
|
-
p result
|
539
|
-
rescue Notifo::ApiError => e
|
540
|
-
puts "Error when calling AppsApi->apps_put_app: #{e}"
|
541
|
-
end
|
542
|
-
```
|
543
|
-
|
544
|
-
#### Using the apps_put_app_with_http_info variant
|
545
|
-
|
546
|
-
This returns an Array which contains the response data, status code and headers.
|
547
385
|
|
548
|
-
> <Array(<AppDetailsDto>, Integer, Hash)> apps_put_app_with_http_info(app_id, upsert_app_dto)
|
549
386
|
|
550
|
-
```ruby
|
551
387
|
begin
|
552
|
-
#
|
553
|
-
|
554
|
-
p
|
555
|
-
p headers # => { ... }
|
556
|
-
p data # => <AppDetailsDto>
|
388
|
+
#Update an app.
|
389
|
+
result = api_instance.apps_put_app(bodyapp_id)
|
390
|
+
p result
|
557
391
|
rescue Notifo::ApiError => e
|
558
|
-
puts "
|
392
|
+
puts "Exception when calling AppsApi->apps_put_app: #{e}"
|
559
393
|
end
|
560
394
|
```
|
561
395
|
|
562
396
|
### Parameters
|
563
397
|
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
|
398
|
+
Name | Type | Description | Notes
|
399
|
+
------------- | ------------- | ------------- | -------------
|
400
|
+
**body** | [**UpsertAppDto**](UpsertAppDto.md)| The request object. |
|
401
|
+
**app_id** | **String**| The app id to update. |
|
568
402
|
|
569
403
|
### Return type
|
570
404
|
|
@@ -576,60 +410,42 @@ No authorization required
|
|
576
410
|
|
577
411
|
### HTTP request headers
|
578
412
|
|
579
|
-
- **Content-Type**: application/json
|
580
|
-
- **Accept**: application/json
|
413
|
+
- **Content-Type**: application/json
|
414
|
+
- **Accept**: application/json
|
581
415
|
|
582
416
|
|
583
|
-
## apps_put_email_template
|
584
417
|
|
585
|
-
|
418
|
+
# **apps_put_integration**
|
419
|
+
> apps_put_integration(bodyapp_idid)
|
586
420
|
|
587
|
-
Update an app
|
588
|
-
|
589
|
-
### Examples
|
421
|
+
Update an app integration.
|
590
422
|
|
423
|
+
### Example
|
591
424
|
```ruby
|
592
|
-
|
425
|
+
# load the gem
|
593
426
|
require 'notifo'
|
594
427
|
|
595
428
|
api_instance = Notifo::AppsApi.new
|
596
|
-
|
597
|
-
|
598
|
-
|
599
|
-
|
600
|
-
begin
|
601
|
-
# Update an app email template.
|
602
|
-
api_instance.apps_put_email_template(app_id, language, email_template_dto)
|
603
|
-
rescue Notifo::ApiError => e
|
604
|
-
puts "Error when calling AppsApi->apps_put_email_template: #{e}"
|
605
|
-
end
|
606
|
-
```
|
607
|
-
|
608
|
-
#### Using the apps_put_email_template_with_http_info variant
|
609
|
-
|
610
|
-
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
429
|
+
body = Notifo::UpdateIntegrationDto.new # UpdateIntegrationDto | The request object.
|
430
|
+
app_id = 'app_id_example' # String | The id of the app where the integration belong to.
|
431
|
+
id = 'id_example' # String | The id of the integration.
|
611
432
|
|
612
|
-
> <Array(nil, Integer, Hash)> apps_put_email_template_with_http_info(app_id, language, email_template_dto)
|
613
433
|
|
614
|
-
```ruby
|
615
434
|
begin
|
616
|
-
#
|
617
|
-
|
618
|
-
p status_code # => 2xx
|
619
|
-
p headers # => { ... }
|
620
|
-
p data # => nil
|
435
|
+
#Update an app integration.
|
436
|
+
api_instance.apps_put_integration(bodyapp_idid)
|
621
437
|
rescue Notifo::ApiError => e
|
622
|
-
puts "
|
438
|
+
puts "Exception when calling AppsApi->apps_put_integration: #{e}"
|
623
439
|
end
|
624
440
|
```
|
625
441
|
|
626
442
|
### Parameters
|
627
443
|
|
628
|
-
|
629
|
-
|
630
|
-
|
631
|
-
|
632
|
-
|
444
|
+
Name | Type | Description | Notes
|
445
|
+
------------- | ------------- | ------------- | -------------
|
446
|
+
**body** | [**UpdateIntegrationDto**](UpdateIntegrationDto.md)| The request object. |
|
447
|
+
**app_id** | **String**| The id of the app where the integration belong to. |
|
448
|
+
**id** | **String**| The id of the integration. |
|
633
449
|
|
634
450
|
### Return type
|
635
451
|
|
@@ -641,6 +457,8 @@ No authorization required
|
|
641
457
|
|
642
458
|
### HTTP request headers
|
643
459
|
|
644
|
-
- **Content-Type**: application/json
|
645
|
-
- **Accept**: application/json
|
460
|
+
- **Content-Type**: application/json
|
461
|
+
- **Accept**: application/json
|
462
|
+
|
463
|
+
|
646
464
|
|