الصورة
قراءة صور المقالات ومعاينتها
GET
/api/v1/addons/shopently.blog/media/{media_id}طلب cURL
curl --disable --globoff --fail-with-body --silent --show-error \
--proto '=https' --connect-timeout 5 --max-time 30 \
--request GET \
--url https://shop.onshopently.com/api/v1/addons/shopently.blog/media/e8663afe-3c38-461c-a142-a980085630af \
--header 'Authorization: Bearer EXAMPLE_ACCESS_TOKEN'
الاستجابة
{
"data": {
"bytes": 366,
"created_at": "2026-10-07T23:17:43.893580Z",
"expires_at": "2026-10-14T23:17:43.893580Z",
"height": 100,
"id": "e8663afe-3c38-461c-a142-a980085630af",
"mime_type": "image/webp",
"state": "ready",
"variants": {
"card": {
"bytes": 122,
"height": 100,
"width": 200
},
"original": {
"bytes": 122,
"height": 100,
"width": 200
},
"thumbnail": {
"bytes": 122,
"height": 100,
"width": 200
}
},
"version": 1,
"width": 200
},
"meta": {
"request_id": "475634bf-e00c-47c0-b0f8-cc0f578ebb4e"
}
}
الصلاحيات المطلوبة
- المصادقة
- رمز الوصول
- متاح بدءًا من
- BASIC
- صلاحية المفتاح
- قراءة صور المقالات ومعاينتها
addon.shopently.blog:media_read
الوحدة المثبتة المطلوبة
shopently.blog