add credential owner endpoints

This commit is contained in:
Wayne Witzel III
2016-06-09 13:34:32 -04:00
parent 8319877a43
commit ccc510110d
3 changed files with 49 additions and 2 deletions

View File

@@ -166,6 +166,9 @@ credential_urls = patterns('awx.api.views',
url(r'^(?P<pk>[0-9]+)/$', 'credential_detail'),
url(r'^(?P<pk>[0-9]+)/access_list/$', 'credential_access_list'),
url(r'^(?P<pk>[0-9]+)/object_roles/$', 'credential_object_roles_list'),
url(r'^(?P<pk>[0-9]+)/owner/users/$', 'credential_owner_users_list'),
url(r'^(?P<pk>[0-9]+)/owner/teams/$', 'credential_owner_teams_list'),
url(r'^(?P<pk>[0-9]+)/owner/organizations/$', 'credential_owner_organizations_list'),
# See also credentials resources on users/teams.
)