AI QR codes
GET https://qrcodedynamic.com/api/ai-qr-codes/
curl --request GET \
--url 'https://qrcodedynamic.com/api/ai-qr-codes/' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://qrcodedynamic.com/api/ai-qr-codes/' \
--header 'Authorization: Bearer {api_key}' \
Parameters | Details | Description |
---|---|---|
page | Optional Integer | The page number that you want results from. Defaults to 1 . |
results_per_page | Optional Integer | How many results you want per page. Allowed values are: 10 , 25 , 50 , 100 , 250 , 500 , 1000 . Defaults to 25 . |
{
"data": [
{
"id": 1,
"name": "Example name",
"ai_qr_code": "https://qrcodedynamic.com/uploads/ai_qr_codes/example.png",
"content": "https://qrcodedynamic.com/",
"prompt": "Nature scenery at sunset, waterfall, wild animals and sunshine rays"
"embedded_data": "https://qrcodedynamic.com/",
"embedded_data": "https://example.com",
"last_datetime": "2021-10-31 09:47:25",
"datetime": "2021-10-29 16:32:25"
},
],
"meta": {
"page": 1,
"results_per_page": 25,
"total": 1,
"total_pages": 1
},
"links": {
"first": "https://qrcodedynamic.com/api/ai-qr-codes?&page=1",
"last": "https://qrcodedynamic.com/api/ai-qr-codes?&page=1",
"next": null,
"prev": null,
"self": "https://qrcodedynamic.com/api/ai-qr-codes?&page=1"
}
}
GET https://qrcodedynamic.com/api/ai-qr-codes/{ai_qr_code_id}
curl --request GET \
--url 'https://qrcodedynamic.com/api/ai-qr-codes/{ai_qr_code_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://qrcodedynamic.com/api/ai-qr-codes/{ai_qr_code_id}' \
--header 'Authorization: Bearer {api_key}' \
{
"data": {
"id": 1,
"name": "Example name",
"ai_qr_code": "https://qrcodedynamic.com/uploads/ai_qr_codes/example.png",
"content": "https://qrcodedynamic.com/",
"prompt": "Nature scenery at sunset, waterfall, wild animals and sunshine rays"
"embedded_data": "https://qrcodedynamic.com/",
"last_datetime": "2021-10-31 09:47:25",
"datetime": "2021-10-29 16:32:25"
}
}
POST https://qrcodedynamic.com/api/ai-qr-codes
Parameters | Details | Description |
---|---|---|
link_id | Optional Integer | - |
project_id | Optional Integer | - |
name | Required String | - |
content | Required String | - |
prompt | Required String | - |
Parameters | Details | Description |
---|---|---|
curl --request POST \
--url 'https://qrcodedynamic.com/api/ai-qr-codes' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=New York' \
--form 'prompt=Nature scenery at sunset, waterfall, wild animals and sunshine rays' \
--form 'content=https://qrcodedynamic.com/' \
--url 'https://qrcodedynamic.com/api/ai-qr-codes' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=New York' \
--form 'prompt=Nature scenery at sunset, waterfall, wild animals and sunshine rays' \
--form 'content=https://qrcodedynamic.com/' \
{
"data": {
"id": 1
}
}
POST https://qrcodedynamic.com/api/ai-qr-codes/{ai_qr_code_id}
Parameters | Details | Description |
---|---|---|
link_id | Optional Integer | - |
project_id | Optional String | - |
name | Optional String | - |
content | Optional String | - |
prompt | Optional String | - |
curl --request POST \
--url 'https://qrcodedynamic.com/api/ai-qr-codes/{ai_qr_code_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Las Vegas' \
--url 'https://qrcodedynamic.com/api/ai-qr-codes/{ai_qr_code_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Las Vegas' \
{
"data": {
"id": 1
}
}
DELETE https://qrcodedynamic.com/api/ai-qr-codes/{ai_qr_code_id}
curl --request DELETE \
--url 'https://qrcodedynamic.com/api/ai-qr-codes/{ai_qr_code_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://qrcodedynamic.com/api/ai-qr-codes/{ai_qr_code_id}' \
--header 'Authorization: Bearer {api_key}' \