public SearchResultsBean<AuditEntryBean> getApiActivity(String organizationId, String apiId,
        int page, int pageSize) throws ApiNotFoundException, NotAuthorizedException {
        final PagingBean paging = PagingBean.create(page, pageSize);
        return tryAction(() -> query.auditEntity(organizationId, apiId, null, ApiBean.class, paging));
    }
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