API: Download license usage reports

You can download reports collected by Qt License Server using the following REST API endpoint. The endpoint uses JWT to validate the user's identity. It returns the license ID, the report file name, and the temporary download link, which will expire in 5 minutes.

Description

Get a temporary download link to download usage data report files.

Endpoint

GET /api/v2/usage-downloads

Parameters

NameTypeDescription
AuthorizationstringJWT from Qt Login for an authenticated user as a bearer token. Required.

Responses

CodeDescriptionExample value
200Successfully retrieved usage data files with download links
[
    {
        "licenseId": "12345678",
        "files": [
        {
            "name": "usage-report-2025-01-29.json",
            "downloadUrl": "<temporary-download-url>"
        }
        ]
    }
]
400Bad request
{
    "status": false,
    "message": "Invalid request parameters"
}
401Unauthorized/Invalid JWT error
{
    "status": false,
    "code": 1234
}

© 2024 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.