diff --git a/features/org.wso2.carbon.appmgt.publisher.feature/src/main/resources/publisher/apis/v1/asset_api_router.jag b/features/org.wso2.carbon.appmgt.publisher.feature/src/main/resources/publisher/apis/v1/asset_api_router.jag index 44134b2e7..c052ae491 100755 --- a/features/org.wso2.carbon.appmgt.publisher.feature/src/main/resources/publisher/apis/v1/asset_api_router.jag +++ b/features/org.wso2.carbon.appmgt.publisher.feature/src/main/resources/publisher/apis/v1/asset_api_router.jag @@ -913,7 +913,7 @@ require('/modules/publisher.js').exec(function(ctx) { //get uuid of given asset for-> provider,name,lifecycle state - routeManager.register('GET', 'publisher', '/publisher/api/asset/get/uuid/list/{type}/{provider}/{name}/{lifecyclestate}', + routeManager.register('GET', 'publisher', '/publisher/api/asset/get/uuid/list/state/{type}/{provider}/{name}/{lifecyclestate}', function (context) { var assetProvider = context.params.provider; var assetName = context.params.name; diff --git a/features/org.wso2.carbon.appmgt.publisher.feature/src/main/resources/publisher/themes/appm/js/list-assets.js b/features/org.wso2.carbon.appmgt.publisher.feature/src/main/resources/publisher/themes/appm/js/list-assets.js index ed5bc3686..e12363e45 100644 --- a/features/org.wso2.carbon.appmgt.publisher.feature/src/main/resources/publisher/themes/appm/js/list-assets.js +++ b/features/org.wso2.carbon.appmgt.publisher.feature/src/main/resources/publisher/themes/appm/js/list-assets.js @@ -238,7 +238,7 @@ function isPublishedToExternalStore(action, provider, name, version) { function isPublishedVersionsAvailable(provider, name) { var result; $.ajax({ - url: caramel.context + '/api/asset/get/uuid/list/' + 'webapp' + '/' + provider + '/' + name + '/' + url: caramel.context + '/api/asset/get/uuid/list/state/' + 'webapp' + '/' + provider + '/' + name + '/' + 'Published', type: 'GET', async: false,