url(identity_specific + r'/hypervisor$', HypervisorList.as_view(), name='hypervisor-list'), url(identity_specific + r'/hypervisor/(?P<hypervisor_id>%s)$' % (id_match,), HypervisorDetail.as_view(), name='hypervisor-detail'), url(identity_specific + r'/step$', StepList.as_view(), name='step-list'), url(identity_specific + r'/step/(?P<step_id>%s)$' % uuid_match, Step.as_view(), name='step-detail'), url(identity_specific + r'/machine/(?P<machine_id>%s)/vote$' % uuid_match, MachineVote.as_view(), name='machine-vote'), url(identity_specific + r'/meta$', Meta.as_view(), name='meta-detail'), url(identity_specific + r'/meta/(?P<action>.*)$', MetaAction.as_view(), name='meta-action'), url(identity_specific + r'/members$', IdentityMembershipList.as_view(), name='identity-membership-list'), url(identity_specific + r'/members/(?P<group_name>%s)$' % user_match, IdentityMembership.as_view(), name='identity-membership-detail'), ) public_apis = format_suffix_patterns(patterns( '', url(r'^profile$', Profile.as_view(), name='profile'), url(r'^group$', GroupList.as_view(), name='group-list'), url(r'^group/(?P<groupname>.*)$', Group.as_view()),
name='machine-export'), url(identity_specific + r'/hypervisor$', HypervisorList.as_view(), name='hypervisor-list'), url(identity_specific + r'/hypervisor/(?P<hypervisor_id>%s)$' % (id_match, ), HypervisorDetail.as_view(), name='hypervisor-detail'), url(identity_specific + r'/step$', StepList.as_view(), name='step-list'), url(identity_specific + r'/step/(?P<step_id>%s)$' % uuid_match, Step.as_view(), name='step-detail'), url(identity_specific + r'/machine/(?P<machine_id>%s)/vote$' % uuid_match, MachineVote.as_view(), name='machine-vote'), url(identity_specific + r'/meta$', Meta.as_view(), name='meta-detail'), url(identity_specific + r'/meta/(?P<action>.*)$', MetaAction.as_view(), name='meta-action'), url(identity_specific + r'/members$', IdentityMembershipList.as_view(), name='identity-membership-list'), url(identity_specific + r'/members/(?P<group_name>%s)$' % user_match, IdentityMembership.as_view(), name='identity-membership-detail'), ) public_apis = format_suffix_patterns( patterns( '', url(r'^profile$', Profile.as_view(), name='profile'),
url( identity_specific + r"/image_export/(?P<machine_request_id>\d+)$", MachineExport.as_view(), name="machine-export", ), url(identity_specific + r"/hypervisor$", HypervisorList.as_view(), name="hypervisor-list"), url( identity_specific + r"/hypervisor/(?P<hypervisor_id>\d+)$", HypervisorDetail.as_view(), name="hypervisor-detail" ), url(identity_specific + r"/step$", StepList.as_view(), name="step-list"), url(identity_specific + r"/step/(?P<step_id>[a-zA-Z0-9-]+)$", Step.as_view(), name="step-detail"), # TODO: Uncomment when 'voting' feature is ready. url( identity_specific + r"/machine/(?P<machine_id>[a-zA-Z0-9-]+)/vote$", MachineVote.as_view(), name="machine-vote" ), url(identity_specific + r"/meta$", Meta.as_view(), name="meta-detail"), url(identity_specific + r"/meta/(?P<action>.*)$", MetaAction.as_view(), name="meta-action"), url(identity_specific + r"/members$", IdentityMembershipList.as_view(), name="identity-membership-list"), url( identity_specific + r"/members/(?P<group_name>(%s)$" % user_match, IdentityMembership.as_view(), name="identity-membership-detail", ), ) public_apis = format_suffix_patterns( patterns( "", url(r"^profile$", Profile.as_view(), name="profile"), url(r"^group$", GroupList.as_view(), name="group-list"), url(r"^group/(?P<groupname>.*)$", Group.as_view()),
url(r'^api/v1/provider/(?P<provider_id>\d+)' + '/identity/(?P<identity_id>\d+)/machine/$', MachineList.as_view(), name='machine-list'), url(r'^api/v1/provider/(?P<provider_id>\d+)' + '/identity/(?P<identity_id>\d+)/machine/history/$', MachineHistory.as_view(), name='machine-history'), url(r'^api/v1/provider/(?P<provider_id>\d+)' + '/identity/(?P<identity_id>\d+)/machine/search/$', MachineSearch.as_view(), name='machine-search'), url(r'^api/v1/provider/(?P<provider_id>\d+)' + '/identity/(?P<identity_id>\d+)/machine/(?P<machine_id>[a-zA-Z0-9-]+)/$', Machine.as_view(), name='machine-detail'), url(r'^api/v1/provider/(?P<provider_id>\d+)' + '/identity/(?P<identity_id>\d+)/meta/$', Meta.as_view(), name='meta-detail'), url(r'^api/v1/provider/(?P<provider_id>\d+)' + '/identity/(?P<identity_id>\d+)/meta/(?P<action>.*)/$', MetaAction.as_view(), name='meta-action'), url(r'^api/v1/provider/(?P<provider_id>\d+)' + '/identity/(?P<identity_id>\d+)/$', IdentityMembershipList.as_view(), name='identity-membership-list'), url(r'^api/v1/provider/(?P<provider_id>\d+)' + '/identity/(?P<identity_id>\d+)/$', IdentityMembership.as_view(), name='identity-membership-detail'), url(r'^api/v1/provider/(?P<provider_id>\d+)' + '/identity/$', IdentityList.as_view(), name='identity-list'), url(r'^api/v1/provider/(?P<provider_id>\d+)' + '/identity/(?P<identity_id>\d+)/$',
name='machine-list'), url(r'^api/v1/provider/(?P<provider_id>\d+)' + '/identity/(?P<identity_id>\d+)/machine/history/$', MachineHistory.as_view(), name='machine-history'), url(r'^api/v1/provider/(?P<provider_id>\d+)' + '/identity/(?P<identity_id>\d+)/machine/search/$', MachineSearch.as_view(), name='machine-search'), url(r'^api/v1/provider/(?P<provider_id>\d+)' + '/identity/(?P<identity_id>\d+)/machine/(?P<machine_id>[a-zA-Z0-9-]+)/$', Machine.as_view(), name='machine-detail'), url(r'^api/v1/provider/(?P<provider_id>\d+)' + '/identity/(?P<identity_id>\d+)/meta/$', Meta.as_view(), name='meta-detail'), url(r'^api/v1/provider/(?P<provider_id>\d+)' + '/identity/(?P<identity_id>\d+)/meta/(?P<action>.*)/$', MetaAction.as_view(), name='meta-action'), url(r'^api/v1/provider/(?P<provider_id>\d+)' + '/identity/(?P<identity_id>\d+)/$', IdentityMembershipList.as_view(), name='identity-membership-list'), url(r'^api/v1/provider/(?P<provider_id>\d+)' + '/identity/(?P<identity_id>\d+)/$', IdentityMembership.as_view(), name='identity-membership-detail'), url(r'^api/v1/provider/(?P<provider_id>\d+)' + '/identity/$', IdentityList.as_view(),