API Referansi

termissh API endpointlerinin hizli ozeti. Detayli kullanim ornekleri icin /docs sayfasini kullanabilirsiniz.

Base URL

https://termissh.org

Kimlik Dogrulama

Session cookie (web) veya Bearer API key (CLI) desteklenir.

Authorization: Bearer termi_xxxxxxxxxxxxxxxxx

Dashboard API (/api/ssh)

GET    /api/ssh
POST   /api/ssh
GET    /api/ssh/:id
PUT    /api/ssh/:id
DELETE /api/ssh/:id

CLI API (/api/cli/ssh)

GET    /api/cli/ssh
POST   /api/cli/ssh
PUT    /api/cli/ssh/:id
DELETE /api/cli/ssh/:id

Ornek Istek

curl -X POST "https://termissh.org/api/cli/ssh" \
  -H "Authorization: Bearer termi_xxx" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "prod-eu",
    "host": "203.0.113.12",
    "port": 22,
    "username": "ubuntu",
    "password": "secret"
  }'