I suspect you are looking at /apibeta, which serves a javadoc-style doc
from a GET request.  There is no support for this interface, however, and
it is subject to removal in the future.  That being said, you can see an
example of querying by task status in this test case
<https://github.com/apache/aurora/blob/0f3dc939e2af1fb5751109e0ff7b6a0f7df70ac0/src/test/java/org/apache/aurora/scheduler/http/api/ApiBetaTest.java#L153-L163>
.

On Mon, Nov 27, 2017 at 10:31 AM, Renan DelValle <renanidelva...@gmail.com>
wrote:

> Hi Mohit,
>
> I think it would be useful if you could include a link to the
> documentation on the UI you're talking about. Looking at the source code,
> the UI uses Thrift via javascript to query the scheduler for the info it
> needs for each page. As far as I know, there is no way to query the
> scheduler for task status without using Thrift at this moment.
>
> -Renan
>
> On Sun, Nov 26, 2017 at 2:19 PM, Mohit Jaggi <mohit.ja...@uber.com> wrote:
>
>> Hi,
>> I am looking for some examples of HTTP API calls to the scheduler using
>> JSON (not Thrift). I would like to use that to query tasks with a given
>> status etc. I can see some documentation on the scheduler UI but it is not
>> clear without examples how to use the API using JSON.
>>
>> Mohit.
>>
>
>

Reply via email to