gaogaoGao Kaptan Docsv0.90.x
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.tr tabanına görecelidir. Korumalı uçlar Authorization: Bearer <token> başlığı ister.

/

MethodYolAçıklama
GET/api/v1/Tek kayıt getir

/alert-rules

MethodYolAçıklama
GET/api/v1/alert-rulesListele
PUT/api/v1/alert-rulesGüncelle

/projects

MethodYolAçıklama
GET/api/v1/projectsListele
POST/api/v1/projectsOluş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/*/namespaceNamespace

/tenants

MethodYolAçıklama
GET/api/v1/tenantsListele
POST/api/v1/tenantsOluştur
DELETE/api/v1/tenants/*Sil
GET/api/v1/tenants/*Tek kayıt getir
PUT/api/v1/tenants/*Güncelle
GET/api/v1/tenants/*/zonesListele
GET/api/v1/tenants/my-tenantListele
GET/api/v1/tenants/my-tenant/namespaceNamespace
GET/api/v1/tenants/tiersListele

Ö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?

On this page