endpoints: s/releasse/release/g
This commit is contained in:
parent
6b54279bb7
commit
2c874df5ce
2 changed files with 5 additions and 5 deletions
|
@ -136,7 +136,7 @@ def show_package_releases(namespace, package_name):
|
|||
@process_auth
|
||||
@require_app_repo_read
|
||||
@anon_protect
|
||||
def show_package_releasse_manifests(namespace, package_name, release):
|
||||
def show_package_release_manifests(namespace, package_name, release):
|
||||
reponame = repo_name(namespace, package_name)
|
||||
result = cnr_registry.show_package_manifests(reponame, release, package_class=Package)
|
||||
return jsonify(result)
|
||||
|
|
|
@ -35,10 +35,10 @@ CHANNEL_RELEASE_ARGS = {'channel_name': 'c', 'release': 'r'}
|
|||
('appr.show_package_releases', 'GET', {}, 'devtable', True, 'public', 200),
|
||||
('appr.show_package_releases', 'GET', {}, 'devtable', True, 'devtable', 200),
|
||||
|
||||
('appr.show_package_releasse_manifests', 'GET', RELEASE_ARGS, 'devtable', False, 'public', 403),
|
||||
('appr.show_package_releasse_manifests', 'GET', RELEASE_ARGS, 'devtable', False, 'devtable', 200),
|
||||
('appr.show_package_releasse_manifests', 'GET', RELEASE_ARGS, 'devtable', True, 'public', 200),
|
||||
('appr.show_package_releasse_manifests', 'GET', RELEASE_ARGS, 'devtable', True, 'devtable', 200),
|
||||
('appr.show_package_release_manifests', 'GET', RELEASE_ARGS, 'devtable', False, 'public', 403),
|
||||
('appr.show_package_release_manifests', 'GET', RELEASE_ARGS, 'devtable', False, 'devtable', 200),
|
||||
('appr.show_package_release_manifests', 'GET', RELEASE_ARGS, 'devtable', True, 'public', 200),
|
||||
('appr.show_package_release_manifests', 'GET', RELEASE_ARGS, 'devtable', True, 'devtable', 200),
|
||||
|
||||
('appr.pull', 'GET', PACKAGE_ARGS, 'devtable', False, 'public', 403),
|
||||
('appr.pull', 'GET', PACKAGE_ARGS, 'devtable', False, 'devtable', 404),
|
||||
|
|
Reference in a new issue