public List<ApiSummaryBean> listApis(String organizationId) throws OrganizationNotFoundException {
        // make sure the org exists
        organizationService.getOrg(organizationId);
        // TODO(msavy): refactor to return an appropriate record rather than stripping stuff.
        return tryAction(() -> {
            if (securityContext.hasPermission(PermissionType.orgView, organizationId)) {
                return query.getApisInOrg(organizationId);
            } else {
                return RestHelper.hideSensitiveDataFromApiSummaryBeanList(query.getApisInOrg(organizationId));
            }
        });
    }
Gets the API from storage
@param organizationId the organizationId
@param apiId the apiId
@return the api
@throws ApiNotFoundException if the API is not found
manager/api/rest-impl/src/main/java/io/apiman/manager/api/service/ApiService.java