curl -G "https://api.scanova.io/qr/QR7K9M2XN/download/" \
-H "Authorization: YOUR_API_KEY" \
-d file=svg \
-d size=600 \
-o "product-launch-flyer.svg"
تنزيل صورة رمز QR
GET /qr//download/
curl -G "https://api.scanova.io/qr/QR7K9M2XN/download/" \
-H "Authorization: YOUR_API_KEY" \
-d file=svg \
-d size=600 \
-o "product-launch-flyer.svg"
api.scanova.io)، مصادَقًا عليها بمفتاح Management API الخام الخاص بك.
GET https://api.scanova.io/qr/{qrid}/download/
Authorization: YOUR_API_KEY
qrid الخاص برمز QR، مثل QR7K9M2XN./qrcode/{qrid}/download/ لا يزال متاحًا أيضًا للحفاظ على التوافق مع الإصدارات السابقة — نفس العرض، ونفس السلوك.معلمات الاستعلام
png، jpg، jpeg، svg، pdf، eps، أو ps.10 إلى 2400.true، تعيد ملف PDF جاهزًا للطباعة يُولَّد محليًا (وليس عبر خدمة توليد الصور)، وتتجاهل file.الاستجابة
الطلب الناجح يعيد الصورة كتنزيل ملف ثنائي (Content-Disposition: attachment)، مع اسم ملف مُشتق من اسم رمز QR (أو qrid الخاص به إذا لم يكن مُسمًّى).
curl -G "https://api.scanova.io/qr/QR7K9M2XN/download/" \
-H "Authorization: YOUR_API_KEY" \
-d file=svg \
-d size=600 \
-o "product-launch-flyer.svg"
الأخطاء
size خارج النطاق 10–2400، أو عندما لا تكون file واحدة من الصيغ المدعومة.qrid غير موجود، أو لا ينتمي إلى الحساب الذي يخصه المفتاح.ذات صلة
- سرد / إنشاء رموز QR — ابحث عن
qridلتنزيله هنا. - استرجاع رمز QR أو تحديثه أو حذفه — احصل على التفاصيل الكاملة لرمز QR بدلًا من صورته المُصيَّرة.
التفويضات
Send your Management API key as the raw value of the Authorization header — no "Bearer " or "Token " prefix, and no other characters. Example: Authorization: YOUR_API_KEY. A header containing more than one space-separated part is rejected outright. Requests also require the request's Host header to be the management API host (e.g. api.scanova.io) — the same key sent to the regular API host will not authenticate.
معلمات المسار
The QR code's qrid — the opaque public identifier returned by the list endpoint, not the numeric id.
معلمات الاستعلام
Output size in pixels, from 10 to 2400.
Return a print-ready PDF, generated locally rather than via the generator service.
Output format.
png, jpg, jpeg, svg, pdf, eps, ps Pre-computed encode payload override, for static categories whose client-side encoding the backend does not reproduce.
الاستجابة
The rendered image, as a binary attachment.
هل كانت هذه الصفحة مفيدة؟