Home
last modified time | relevance | path

Searched refs:response_json (Results 1 – 1 of 1) sorted by relevance

/device/google/cuttlefish/host/commands/fetcher/
Dbuild_api.cc113 auto response_json = curl.DownloadToJson(url, Headers()); in BuildStatus() local
114 CHECK(!response_json.isMember("error")) << "Error fetching the status of " in BuildStatus()
115 << "build " << build << ". Response was " << response_json; in BuildStatus()
117 return response_json["buildAttemptStatus"].asString(); in BuildStatus()
122 auto response_json = curl.DownloadToJson(url, Headers()); in ProductName() local
123 CHECK(!response_json.isMember("error")) << "Error fetching the status of " in ProductName()
124 << "build " << build << ". Response was " << response_json; in ProductName()
125 CHECK(response_json.isMember("target")) << "Build was missing target field."; in ProductName()
126 return response_json["target"]["product"].asString(); in ProductName()