DOCUMENTATION
Response
API response structure and data fields
Response Structure
The Response struct contains all data returned from API calls.
| Field | Type | Description |
|---|---|---|
Success |
bool | Request succeeded |
Message |
string | Status message |
DownloadUrl |
string | Payload download URL |
Version |
string | Latest loader version |
FileHash |
string | SHA256 hash for integrity |
SignatureValid |
bool | Response signature verified |
Accessing Response Data
const auto& response = client.GetLastResponse();
if (response.Success) {
std::cout << response.DownloadUrl;
}