الانتقال إلى المحتوى الرئيسي
POST
/
instances
/
{instanceId}
/
images
/
{type}
تحميل صورة للنسخة
curl --request POST \
  --url https://api.altostrat.io/instances/{instanceId}/images/{type} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form file=@example-file
This response does not have an example.

Authorizations

Authorization
string
header
required

مصادقة مفتاح API. قدم الرمز الخاص بك في ترويسة 'Authorization'. مثال: Authorization: Bearer <YOUR_TOKEN>

Path Parameters

instanceId
string<uuid>
required

المعرف الفريد لنسخة البوابة المقيدة.

Example:

"9a7f1b2c-3d4e-5f6a-7b8c-9d0e1f2a3b4c"

type
enum<string>
required

نوع الصورة المراد تحميلها.

الخيارات المتاحة:
logo,
icon
Example:

"logo"

Body

multipart/form-data
file
file

ملف الصورة المراد تحميله. يجب أن تكون أبعاد الشعارات 120x80 بكسل على الأقل. يجب أن تكون الأيقونات مربعة وبأبعاد 32x32 بكسل على الأقل.

Response

تم تحميل الصورة وقبولها للمعالجة.