當前位置: 首頁>>代碼示例>>Python>>正文


Python organization_api_keys.OrganizationApiKeysView類代碼示例

本文整理匯總了Python中sentry.web.frontend.organization_api_keys.OrganizationApiKeysView的典型用法代碼示例。如果您正苦於以下問題:Python OrganizationApiKeysView類的具體用法?Python OrganizationApiKeysView怎麽用?Python OrganizationApiKeysView使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


在下文中一共展示了OrganizationApiKeysView類的2個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Python代碼示例。

示例1: url

        name='sentry-docs-redirect'),
    url(r'^docs/api/?$',
        RedirectView.as_view(url='https://docs.sentry.io/hosted/api/', permanent=False),
        name='sentry-api-docs-redirect'),

    url(r'^api/$', generic_react_page_view, name='sentry-api'),
    url(r'^api/[^0]+/', generic_react_page_view),

    url(r'^out/$', OutView.as_view()),

    # Organizations
    url(r'^(?P<organization_slug>[\w_-]+)/$', react_page_view,
        name='sentry-organization-home'),
    url(r'^organizations/new/$', CreateOrganizationView.as_view(),
        name='sentry-create-organization'),
    url(r'^organizations/(?P<organization_slug>[\w_-]+)/api-keys/$', OrganizationApiKeysView.as_view(),
        name='sentry-organization-api-keys'),
    url(r'^organizations/(?P<organization_slug>[\w_-]+)/api-keys/(?P<key_id>[\w_-]+)/$', OrganizationApiKeySettingsView.as_view(),
        name='sentry-organization-api-key-settings'),
    url(r'^organizations/(?P<organization_slug>[\w_-]+)/auth/$', OrganizationAuthSettingsView.as_view(),
        name='sentry-organization-auth-settings'),
    url(r'^organizations/(?P<organization_slug>[\w_-]+)/members/$', OrganizationMembersView.as_view(),
        name='sentry-organization-members'),
    url(r'^organizations/(?P<organization_slug>[\w_-]+)/members/new/$', CreateOrganizationMemberView.as_view(),
        name='sentry-create-organization-member'),
    url(r'^organizations/(?P<organization_slug>[\w_-]+)/members/(?P<member_id>\d+)/$', OrganizationMemberSettingsView.as_view(),
        name='sentry-organization-member-settings'),
    url(r'^organizations/(?P<organization_slug>[\w_-]+)/stats/$', react_page_view,
        name='sentry-organization-stats'),
    url(r'^organizations/(?P<organization_slug>[\w_-]+)/teams/(?P<team_slug>[\w_-]+)/remove/$', RemoveTeamView.as_view(),
        name='sentry-remove-team'),
開發者ID:sashahilton00,項目名稱:sentry,代碼行數:31,代碼來源:urls.py

示例2: url

 url(
     r"^api/?$",
     RedirectView.as_view(url="https://docs.getsentry.com/hosted/api/", permanent=False),
     name="sentry-api-docs-redirect",
 ),
 url(
     r"^docs/api/?$",
     RedirectView.as_view(url="https://docs.getsentry.com/hosted/api/", permanent=False),
     name="sentry-api-docs-redirect",
 ),
 # Organizations
 url(r"^(?P<organization_slug>[\w_-]+)/$", react_page_view, name="sentry-organization-home"),
 url(r"^organizations/new/$", CreateOrganizationView.as_view(), name="sentry-create-organization"),
 url(
     r"^organizations/(?P<organization_slug>[\w_-]+)/api-keys/$",
     OrganizationApiKeysView.as_view(),
     name="sentry-organization-api-keys",
 ),
 url(
     r"^organizations/(?P<organization_slug>[\w_-]+)/api-keys/(?P<key_id>[\w_-]+)/$",
     OrganizationApiKeySettingsView.as_view(),
     name="sentry-organization-api-key-settings",
 ),
 url(
     r"^organizations/(?P<organization_slug>[\w_-]+)/auth/$",
     OrganizationAuthSettingsView.as_view(),
     name="sentry-organization-auth-settings",
 ),
 url(
     r"^organizations/(?P<organization_slug>[\w_-]+)/audit-log/$",
     OrganizationAuditLogView.as_view(),
開發者ID:pratyk,項目名稱:sentry,代碼行數:31,代碼來源:urls.py


注:本文中的sentry.web.frontend.organization_api_keys.OrganizationApiKeysView類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。