API Referansi
termissh API endpointlerinin hizli ozeti. Detayli kullanim ornekleri icin /docs sayfasini kullanabilirsiniz.
Base URL
https://termissh.orgKimlik Dogrulama
Session cookie (web) veya Bearer API key (CLI) desteklenir.
Authorization: Bearer termi_xxxxxxxxxxxxxxxxxDashboard API (/api/ssh)
GET /api/ssh
POST /api/ssh
GET /api/ssh/:id
PUT /api/ssh/:id
DELETE /api/ssh/:idCLI API (/api/cli/ssh)
GET /api/cli/ssh
POST /api/cli/ssh
PUT /api/cli/ssh/:id
DELETE /api/cli/ssh/:idOrnek 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"
}'