SEcMS Developer Portal

Shipboard Electrical Cable Management System — Public REST API + SDK

API Reference v1
Swagger UI · Try-it-out 지원
OpenAPI 3.0 Spec
JSON · Postman/Insomnia 호환
Quickstart (5분)
curl + TypeScript 예제
Error Catalog
50+ 에러코드 + 해결 가이드
Postman Collection
즉시 import (.json)
Changelog
버전별 변경 이력
Status Page 실시간
Uptime · 응답 시간
Webhooks beta
8 이벤트 (cable.created 등)
TypeScript SDK soon
npm i @secms/sdk
⌨️
CLI Tool soon
npx secms list-cables

5분 안에 First API Call

# 1. Firebase ID Token 획득 (Google OAuth)
TOKEN="$(your_firebase_id_token)"

# 2. 프로젝트 목록 조회
curl https://secms.tech/api/projects \
  -H "Authorization: Bearer $TOKEN"

# 3. 신규 호선 등록 (atomic)
curl -X POST https://secms.tech/api/projects \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"name":"V0001","vesselNo":"V0001","cables":[],"nodes":[]}'

Authentication

Firebase ID Token (Bearer) + X-CSRF-Token (Double Submit Cookie). JWT 검증: RS256 (JWKS rotation 자동).

Rate Limits

표준 헤더 — X-RateLimit-Limit / -Remaining / -Reset