当前位置: 首页>>代码示例>>Python>>正文


Python MailgunInboundWebhookView.as_view方法代码示例

本文整理汇总了Python中sentry.web.frontend.mailgun_inbound_webhook.MailgunInboundWebhookView.as_view方法的典型用法代码示例。如果您正苦于以下问题:Python MailgunInboundWebhookView.as_view方法的具体用法?Python MailgunInboundWebhookView.as_view怎么用?Python MailgunInboundWebhookView.as_view使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在sentry.web.frontend.mailgun_inbound_webhook.MailgunInboundWebhookView的用法示例。


在下文中一共展示了MailgunInboundWebhookView.as_view方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1: url

# 需要导入模块: from sentry.web.frontend.mailgun_inbound_webhook import MailgunInboundWebhookView [as 别名]
# 或者: from sentry.web.frontend.mailgun_inbound_webhook.MailgunInboundWebhookView import as_view [as 别名]
        name='sentry-api-crossdomain-xml'
    ),
    url(r'^api/store/schema$', api.StoreSchemaView.as_view(), name='sentry-api-store-schema'),

    # The static version is either a 10 digit timestamp, a sha1, or md5 hash
    url(
        r'^_static/(?:(?P<version>\d{10}|[a-f0-9]{32,40})/)?(?P<module>[^/]+)/(?P<path>.*)$',
        generic.static_media,
        name='sentry-media'
    ),

    # API
    url(r'^api/0/', include('sentry.api.urls')),
    url(
        r'^api/hooks/mailgun/inbound/',
        MailgunInboundWebhookView.as_view(),
        name='sentry-mailgun-inbound-hook'
    ),
    url(
        r'^api/hooks/release/(?P<plugin_id>[^/]+)/(?P<project_id>[^/]+)/(?P<signature>[^/]+)/',
        ReleaseWebhookView.as_view(),
        name='sentry-release-hook'
    ),
    url(r'^api/embed/error-page/$', ErrorPageEmbedView.as_view(),
        name='sentry-error-page-embed'),

    # OAuth
    url(r'^oauth/authorize/$', OAuthAuthorizeView.as_view()),
    url(r'^oauth/token/$', OAuthTokenView.as_view()),

    # SAML
开发者ID:hosmelq,项目名称:sentry,代码行数:33,代码来源:urls.py

示例2: url

# 需要导入模块: from sentry.web.frontend.mailgun_inbound_webhook import MailgunInboundWebhookView [as 别名]
# 或者: from sentry.web.frontend.mailgun_inbound_webhook.MailgunInboundWebhookView import as_view [as 别名]
    url(r'^api/store/$', api.StoreView.as_view(),
        name='sentry-api-store'),
    url(r'^api/(?P<project_id>[\w_-]+)/store/$', api.StoreView.as_view(),
        name='sentry-api-store'),
    url(r'^api/(?P<project_id>\d+)/csp-report/$', api.CspReportView.as_view(),
        name='sentry-api-csp-report'),
    url(r'^api/(?P<project_id>[\w_-]+)/crossdomain\.xml$', api.crossdomain_xml,
        name='sentry-api-crossdomain-xml'),

    # The static version is either a 10 digit timestamp, a sha1, or md5 hash
    url(r'^_static/(?:(?P<version>\d{10}|[a-f0-9]{32,40})/)?(?P<module>[^/]+)/(?P<path>.*)$', generic.static_media,
        name='sentry-media'),

    # API
    url(r'^api/0/', include('sentry.api.urls')),
    url(r'^api/hooks/mailgun/inbound/', MailgunInboundWebhookView.as_view(),
        name='sentry-mailgun-inbound-hook'),
    url(r'^api/hooks/release/(?P<plugin_id>[^/]+)/(?P<project_id>[^/]+)/(?P<signature>[^/]+)/', ReleaseWebhookView.as_view(),
        name='sentry-release-hook'),
    url(r'^api/embed/error-page/$', ErrorPageEmbedView.as_view(),
        name='sentry-error-page-embed'),

    # OAuth
    url(r'^oauth/authorize/$', OAuthAuthorizeView.as_view()),
    url(r'^oauth/token/$', OAuthTokenView.as_view()),

    # Auth
    url(r'^auth/link/(?P<organization_slug>[^/]+)/$', AuthOrganizationLoginView.as_view(),
        name='sentry-auth-link-identity'),
    url(r'^auth/login/$', AuthLoginView.as_view(),
        name='sentry-login'),
开发者ID:sashahilton00,项目名称:sentry,代码行数:33,代码来源:urls.py

示例3: patterns

# 需要导入模块: from sentry.web.frontend.mailgun_inbound_webhook import MailgunInboundWebhookView [as 别名]
# 或者: from sentry.web.frontend.mailgun_inbound_webhook.MailgunInboundWebhookView import as_view [as 别名]
urlpatterns += patterns(
    "",
    # Store endpoints first since they are the most active
    url(r"^api/store/$", api.StoreView.as_view(), name="sentry-api-store"),
    url(r"^api/(?P<project_id>[\w_-]+)/store/$", api.StoreView.as_view(), name="sentry-api-store"),
    url(r"^api/(?P<project_id>\d+)/csp-report/$", api.CspReportView.as_view(), name="sentry-api-csp-report"),
    # The static version is either a 10 digit timestamp, a sha1, or md5 hash
    url(
        r"^_static/(?:(?P<version>\d{10}|[a-f0-9]{32,40})/)?(?P<module>[^/]+)/(?P<path>.*)$",
        generic.static_media,
        name="sentry-media",
    ),
    # API
    url(r"^api/0/", include("sentry.api.urls")),
    url(r"^api/hooks/mailgun/inbound/", MailgunInboundWebhookView.as_view(), name="sentry-mailgun-inbound-hook"),
    url(
        r"^api/hooks/release/(?P<plugin_id>[^/]+)/(?P<project_id>[^/]+)/(?P<signature>[^/]+)/",
        ReleaseWebhookView.as_view(),
        name="sentry-release-hook",
    ),
    url(r"^api/embed/error-page/$", ErrorPageEmbedView.as_view(), name="sentry-error-page-embed"),
    # Auth
    url(
        r"^auth/link/(?P<organization_slug>[^/]+)/$",
        AuthOrganizationLoginView.as_view(),
        name="sentry-auth-link-identity",
    ),
    url(r"^auth/login/$", AuthLoginView.as_view(), name="sentry-login"),
    url(
        r"^auth/login/(?P<organization_slug>[^/]+)/$",
开发者ID:pratyk,项目名称:sentry,代码行数:32,代码来源:urls.py


注:本文中的sentry.web.frontend.mailgun_inbound_webhook.MailgunInboundWebhookView.as_view方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。