API Referansı
Projeler
Proje (tenant) oluşturma, listeleme ve üye erişimi.
Proje (tenant) oluşturma, listeleme ve üye erişimi.
Tüm yollar
https://kaptan.isnet.net.trtabanına görecelidir. Korumalı uçlarAuthorization: Bearer <token>başlığı ister.
/
| Method | Yol | Açıklama |
|---|---|---|
| GET | /api/v1/ | Tek kayıt getir |
/alert-rules
| Method | Yol | Açıklama |
|---|---|---|
| GET | /api/v1/alert-rules | Listele |
| PUT | /api/v1/alert-rules | Güncelle |
/projects
| Method | Yol | Açıklama |
|---|---|---|
| GET | /api/v1/projects | Listele |
| POST | /api/v1/projects | Oluştur |
| DELETE | /api/v1/projects/* | Sil |
| GET | /api/v1/projects/* | Tek kayıt getir |
| PATCH | /api/v1/projects/* | Güncelle |
| GET | /api/v1/projects/*/members | Üyeler |
| POST | /api/v1/projects/*/members | Üyeler |
| DELETE | /api/v1/projects/*/members/* | Sil |
| GET | /api/v1/projects/*/namespace | Namespace |
/tenants
| Method | Yol | Açıklama |
|---|---|---|
| GET | /api/v1/tenants | Listele |
| POST | /api/v1/tenants | Oluştur |
| DELETE | /api/v1/tenants/* | Sil |
| GET | /api/v1/tenants/* | Tek kayıt getir |
| PUT | /api/v1/tenants/* | Güncelle |
| GET | /api/v1/tenants/*/zones | Listele |
| GET | /api/v1/tenants/my-tenant | Listele |
| GET | /api/v1/tenants/my-tenant/namespace | Namespace |
| GET | /api/v1/tenants/tiers | Listele |
Örnekler
Proje oluştur — POST /api/v1/projects
curl -s -X POST https://kaptan.isnet.net.tr/api/v1/projects \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{"name":"benim-projem","zone_id":"tr-ist1"}'Yanıt
{ "success": true, "data": { "id": "<uuid>", "name": "benim-projem", "k8s_namespace": "tenant-<...>", "status": "active" }, "message": "Project created successfully" }Bu sayfa yardımcı oldu mu?

Gao Kaptan Docs