الانتقال إلى المحتوى الرئيسي
GET
/
sites
/
{siteId}
/
transient-accesses
عرض الوصول المؤقت لموقع
curl --request GET \
  --url https://api.altostrat.io/sites/{siteId}/transient-accesses \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "f0e9d8c7-b6a5-4f3e-2d1c-0b9a8e7f6d5c",
    "username": "transient-user-abc123",
    "password": "P@ssw0rdABC123XYZ",
    "port": 45821,
    "type": "winbox",
    "full_access": true,
    "allow_rfc1918": false,
    "allow_only_cidr": "198.51.100.10/32",
    "revoked_early": false,
    "expires_at": "2025-10-29T12:15:49Z",
    "expired": false,
    "entry_point": "edge-us-east-1a.ostrat.io",
    "time_to_expire": "15 دقيقة من الآن",
    "onclick": "winbox://edge-us-east-1a.ostrat.io:45821?username=transient-user-abc123&password=P@ssw0rdABC123XYZ"
  }
]

Authorizations

Authorization
string
header
required

أدخل رمز JWT bearer الخاص بك.

Path Parameters

siteId
string<uuid>
required

المعرف الفريد للموقع.

Example:

"d290f1ee-6c54-4b01-90e6-d701748f0851"

Response

قائمة بكائنات الوصول المؤقت.

id
string<uuid>

المعرف الفريد لجلسة الوصول المؤقت.

Example:

"f0e9d8c7-b6a5-4f3e-2d1c-0b9a8e7f6d5c"

username
string

اسم المستخدم المؤقت لهذه الجلسة.

Example:

"transient-user-abc123"

password
string

كلمة المرور المؤقتة لهذه الجلسة.

Example:

"P@ssw0rdABC123XYZ"

port
integer

المنفذ العام على خادم إدارة Altostrat للاتصال به.

Example:

45821

type
enum<string>

نوع بروتوكول الوصول.

الخيارات المتاحة:
winbox,
ssh
Example:

"winbox"

full_access
boolean

ما إذا كانت الجلسة تتمتع بامتيازات إدارية كاملة.

Example:

true

allow_rfc1918
boolean

ما إذا كان الوصول مسموحًا به من نطاقات IP الخاصة (RFC1918).

Example:

false

allow_only_cidr
string

مصدر CIDR المسموح له بالاتصال حصريًا.

Example:

"198.51.100.10/32"

revoked_early
boolean

صحيح (True) إذا تم إلغاء الجلسة يدويًا قبل انتهاء صلاحيتها.

Example:

false

expires_at
string<date-time>

الطابع الزمني الذي ستنتهي فيه صلاحية هذه الجلسة تلقائيًا.

Example:

"2025-10-29T12:15:49Z"

expired
boolean

صحيح (True) إذا انتهت صلاحية الجلسة أو تم إلغاؤها.

Example:

false

entry_point
string

اسم المضيف لخادم إدارة Altostrat للاتصال به.

Example:

"edge-us-east-1a.ostrat.io"

time_to_expire
string

سلسلة نصية قابلة للقراءة البشرية تشير إلى المدة المتبقية حتى انتهاء صلاحية الجلسة.

Example:

"15 دقيقة من الآن"

onclick
string

سلسلة اتصال Winbox للوصول السهل بنقرة واحدة.

Example:

"winbox://edge-us-east-1a.ostrat.io:45821?username=transient-user-abc123&password=P@ssw0rdABC123XYZ"