Get QR graphic asset REST API
GET
/api/sites/{id}/qr-codes/{qrID}/asset
const url = 'https://hitkeep.com/api/sites/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/qr-codes/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/asset';const options = {method: 'GET', headers: {cookie: 'hk_token=<hk_token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://hitkeep.com/api/sites/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/qr-codes/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/asset \ --cookie hk_token=<hk_token>Returns the filesystem-backed raster graphic attached to a QR code. Public JSON exposes asset metadata only; storage paths are never returned. Requires site.view.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string format: uuid
qrID
required
string format: uuid
Responses
Section titled “Responses”Image asset stream
Asset not found
Media typeapplication/json
object
message
string
Examplegenerated
{ "message": "example"}