Get template version dry-run matched provisioners
GET
CoderSessionTokenheader
Coder-Session-Token<token>templateversion*stringTemplate version ID
Format
uuidjobID*stringJob ID
Format
uuidOK
application/json- response
available?integerAvailable is the number of provisioner daemons that are available to take jobs. This may be less than the count if some provisioners are busy or have been stopped.
count?integerCount is the number of provisioner daemons that matched the given tags. If the count is 0, it means no provisioner daemons matched the requested tags.
most_recently_seen?stringMostRecentlySeen is the most recently seen time of the set of matched provisioners. If no provisioners matched, this field will be null.
Format
date-timeThe samples read CODER_URL and CODER_SESSION_TOKEN: set up your environment.
curl -X GET \ "$CODER_URL/api/v2/templateversions/{templateversion}/dry-run/{jobID}/matched-provisioners" \ -H "Coder-Session-Token: $CODER_SESSION_TOKEN"Example Response200
{ "available": 0, "count": 0, "most_recently_seen": "2019-08-24T14:15:22Z"}