Entegrasyon Detayı
UUID ile entegrasyon detayını getirir.
Endpoint
GET /api/v1/integrations/\{uuid\}
Authentication
Bu endpoint authentication gerektirir.
Header: Authorization: Bearer \{token\}
Permission
integrations.view- Tüm entegrasyonları görüntülemeintegrations.view.own- Sadece kendi entegrasyonlarını görüntüleme
Request
Headers
| Header | Değer | Zorunlu |
|---|---|---|
Authorization | Bearer \{token\} | Evet |
Path Parameters
| Parametre | Tip | Zorunlu | Açıklama |
|---|---|---|---|
uuid | string | Evet | Entegrasyon UUID'si |
Response
Success Response (200 OK)
{
"id": 1,
"uuid": "550e8400-e29b-41d4-a716-446655440000",
"name": "Stripe Webhook",
"type": "webhook",
"provider": "stripe",
"description": "Stripe ödeme webhook entegrasyonu",
"config": {
"webhook_url": "https://api.example.com/webhooks/stripe",
"events": ["payment.succeeded", "payment.failed"]
},
"credentials": {
"api_key": "sk_live_..."
},
"status": "active",
"metadata": {
"environment": "production"
},
"is_active": true,
"user_id": 1,
"user": {
"id": 1,
"email": "user@example.com"
},
"created_at": "2025-11-20T12:00:00.000000Z",
"updated_at": "2025-11-20T12:00:00.000000Z"
}
Error Responses
404 Not Found
{
"message": "Not Found"
}
403 Forbidden
{
"message": "Forbidden"
}
Code Examples
cURL
curl -X GET https://api.example.com/api/v1/integrations/550e8400-e29b-41d4-a716-446655440000 \
-H "Authorization: Bearer \{token\}"
Notes
- Sadece aktif entegrasyonlar görüntülenebilir
- Silinmiş veya pasif entegrasyonlar için 404 döner
- Entegrasyon kullanıcı bilgileri ile birlikte döner
credentialsalanı şifrelenmiş olarak saklanır
Related Endpoints
- Entegrasyon Listesi - Tüm entegrasyonları listele
- Entegrasyon Güncelle - Entegrasyon bilgilerini güncelle