Node ID'sine Göre Tek Distributor Getir
Bir node ile ilişkili tek bir distributor'ı getirin.
Endpoint: GET /api/v1/integration/distributors/nodes/{node_id}/single
Kimlik Doğrulama: Gerekli (Bearer token)
Gerekli Header'lar:
Authorization: Bearer <access_token>
X-Target-Server: integration
Yol Parametreleri
| Parametre | Tip | Gerekli | Açıklama |
|---|---|---|---|
node_id | string (UUID) | Evet | Node ID |
Yanıt
Durum: 200 OK
Distributor nesnesini döndürür.
{
"id": "39e8003c-6342-4fd3-97a1-3f2a7b437d0a",
"node_id": "e40efce4-38a3-46c4-a202-e8db95d0409c",
"meta": {
"host": "https://example.com222",
"path": "/webhook",
"method": "GET",
"authentication": {
"type": 1,
"username": "user",
"password": "pass"
}
},
"created_at": "2025-12-23T23:16:10.419732Z",
"updated_at": "2025-12-23T23:19:58.364051Z"
}
Örnek cURL İsteği
curl -X GET 'https://<base-url>/api/v1/integration/distributors/nodes/e40efce4-38a3-46c4-a202-e8db95d0409c/single' \
-H "Authorization: Bearer <access_token>" \
-H "X-Target-Server: integration"