Get QR graphic asset
GET
/api/sites/{id}/qr-codes/{qrID}/asset
const url = 'https://app.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://app.hitkeep.com/api/sites/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/qr-codes/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/asset \ --cookie hk_token=<hk_token>Returns the persisted raster graphic attached to a QR code. 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 type application/json
object
message
string
Example generated
{ "message": "example"}