github.com/huiliang/nomad@v0.2.1-0.20151124023127-7a8b664699ff/website/source/docs/http/evals.html.md (about)

     1  ---
     2  layout: "http"
     3  page_title: "HTTP API: /v1/evaluations"
     4  sidebar_current: "docs-http-evals"
     5  description: |-
     6    The '/1/evaluations' endpoint is used to list the evaluations.
     7  ---
     8  
     9  # /v1/evaluations
    10  
    11  The `evaluations` endpoint is used to query the status of evaluations.
    12  By default, the agent's local region is used; another region can
    13  be specified using the `?region=` query parameter.
    14  
    15  ## GET
    16  
    17  <dl>
    18    <dt>Description</dt>
    19    <dd>
    20      Lists all the evaluations.
    21    </dd>
    22  
    23    <dt>Method</dt>
    24    <dd>GET</dd>
    25  
    26    <dt>URL</dt>
    27    <dd>`/v1/evaluations`</dd>
    28  
    29    <dt>Parameters</dt>
    30    <dd>
    31      None
    32    </dd>
    33  
    34    <dt>Blocking Queries</dt>
    35    <dd>
    36      [Supported](/docs/http/index.html#blocking-queries)
    37    </dd>
    38  
    39    <dt>Returns</dt>
    40    <dd>
    41  
    42      ```javascript
    43      [
    44      {
    45          "ID": "151accaa-1ac6-90fe-d427-313e70ccbb88",
    46          "Priority": 50,
    47          "Type": "service",
    48          "TriggeredBy": "job-register",
    49          "JobID": "binstore-storagelocker",
    50          "JobModifyIndex": 14,
    51          "NodeID": "",
    52          "NodeModifyIndex": 0,
    53          "Status": "complete",
    54          "StatusDescription": "",
    55          "Wait": 0,
    56          "NextEval": "",
    57          "PreviousEval": "",
    58          "CreateIndex": 15,
    59          "ModifyIndex": 17
    60      },
    61      ...
    62      ]
    63      ```
    64  
    65    </dd>
    66  </dl>