Skip to main content

Download program QR code (PNG)

Public endpoint returning a QR code pointing at the JSON artifact.

Request​

Method: GET
Path: /artifacts/{artifactId}.png

Authentication: Not required

Parameters​

NameTypeInRequiredDescription
artifactIdstringpathYes

Responses​

200 - QR code PNG​

404 - Artifact not found​

Examples​

cURL​

curl -X GET \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
http://localhost:3000/artifacts/{artifactId}.png

JavaScript​

const response = await fetch('http://localhost:3000/artifacts/{artifactId}.png', {
method: 'GET',
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer ' + token,
},
});

const data = await response.json();
console.log(data);

This documentation is automatically generated from the OpenAPI specification.