Deploy & VPN Request
Deploy ve VPN talep yönetimi endpoint'leri.
Deploy Taleplerini Getir
Deploy taleplerini listeler.
Authentication
x-auth (tenant-id)
HTTP Request
GET /admin/deploy-request
Request Parameters
| Field | Type | Required | Default | Desc |
|---|---|---|---|---|
id | any | false | - | Talep ID |
service_name | string | false | - | Servis adı |
original_service_name | string | false | - | Orijinal servis adı |
status | string | false | "PENDING" | Talep durumu |
type | string | false | - | Talep tipi |
Deploy Talebi Oluştur
Yeni deploy talebi oluşturur.
Authentication
x-auth (tenant-id)
HTTP Request
POST /admin/deploy-request
Request Parameters
| Field | Type | Required | Default | Desc |
|---|---|---|---|---|
service_name | string | true | - | Servis adı |
original_service_name | string | true | - | Orijinal servis adı |
build_number | string | true | - | Build numarası |
status | string | false | "PENDING" | Talep durumu |
duration_minutes | number | true | - | Tahmini süre (dakika) |
comment | string | true | - | Açıklama/yorum |
type | string | true | - | Talep tipi |
Request Body Example
{
"service_name": "custody-api",
"original_service_name": "custody-api-v2",
"build_number": "1.2.3",
"duration_minutes": 30,
"comment": "Yeni özellik deployment'ı",
"type": "RELEASE"
}
Auto-populated Fields
| Field | Source |
|---|---|
requestor_userid | Kimlik doğrulaması yapan kullanıcı (usr.userId) |
Deploy Talebi Güncelle
Mevcut deploy talebini günceller.
Authentication
x-auth (tenant-id)
HTTP Request
POST /admin/update-deploy-request
Request Parameters
| Field | Type | Required | Default | Desc |
|---|---|---|---|---|
id | any | true | - | Talep ID |
service_name | string | false | - | Servis adı |
original_service_name | string | false | - | Orijinal servis adı |
build_number | string | false | - | Build numarası |
status | string | false | - | Talep durumu |
duration_minutes | number | false | - | Tahmini süre (dakika) |
comment | string | false | - | Açıklama/yorum |
Auto-populated Fields
| Field | Source |
|---|---|
approver_rejection_userid | Kimlik doğrulaması yapan kullanıcı (usr.userId) |
VPN Taleplerini Getir
VPN taleplerini listeler.
Authentication
x-auth (tenant-id)
HTTP Request
GET /admin/vpn-request
Request Parameters
| Field | Type | Required | Default | Desc |
|---|---|---|---|---|
id | any | false | - | Talep ID |
user_name | string | false | - | Kullanıcı adı |
status | string | false | "PENDING" | Talep durumu |
type | string | false | - | Talep tipi |
VPN Talebi Oluştur
Yeni VPN talebi oluşturur.
Authentication
x-auth (tenant-id)
HTTP Request
POST /admin/vpn-request
Request Parameters
| Field | Type | Required | Default | Desc |
|---|---|---|---|---|
userId | string | true | - | VPN talep eden kullanıcı ID |
user_name | string | true | - | Kullanıcı adı |
status | string | false | "PENDING" | Talep durumu |
comment | string | false | - | Açıklama/yorum |
type | string | true | - | Talep tipi (UPPERCASE'e çevrilir) |
Request Body Example
{
"userId": "123",
"user_name": "ahmet.yilmaz",
"type": "new",
"comment": "Yeni VPN hesabı talebi"
}
Auto-populated Fields
| Field | Source |
|---|---|
requestor_userid | data.userId parametresinden |
name | userRepository'den alınır |
surname | userRepository'den alınır |
Notlar
- userId sistemde kayıtlı olmalıdır
- Kullanıcı bulunamazsa hata döner
VPN Talebi Güncelle
Mevcut VPN talebini günceller.
Authentication
x-auth (tenant-id)
HTTP Request
POST /admin/update-vpn-request
Request Parameters
| Field | Type | Required | Default | Desc |
|---|---|---|---|---|
id | any | true | - | Talep ID |
user_name | string | false | - | Kullanıcı adı |
status | string | false | - | Talep durumu |
comment | string | false | - | Açıklama/yorum |
Request Body Example
{
"id": "vpn_123",
"status": "APPROVED",
"comment": "Onaylandı"
}
Auto-populated Fields
| Field | Source |
|---|---|
approver_rejection_userid | Kimlik doğrulaması yapan kullanıcı (usr.userId) |