You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Siddharth Wagle (JIRA)" <ji...@apache.org> on 2014/05/31 08:19:01 UTC

[jira] [Created] (AMBARI-5981) Hosts API should provide count of filtered hosts

Siddharth Wagle created AMBARI-5981:
---------------------------------------

             Summary: Hosts API should provide count of filtered hosts
                 Key: AMBARI-5981
                 URL: https://issues.apache.org/jira/browse/AMBARI-5981
             Project: Ambari
          Issue Type: Task
          Components: controller
    Affects Versions: 1.6.1
            Reporter: Siddharth Wagle
            Assignee: Siddharth Wagle
             Fix For: 1.6.1


We need the number of filtered hosts in response of query to Hosts API.
The number should be affected by all filter properties, except "from" and "page_size".
For example,
following query:
{noformat}
/api/v1/clusters/c/hosts?from=0&page_size=25&Hosts/host_name.matches(host.*)
{noformat}
should return number of filtered hosts by host_name, but ignoring "from" and "page_size" parameters.



--
This message was sent by Atlassian JIRA
(v6.2#6252)