v0.0.8 | CORS 설정에 X-NHN-Appkey 헤더 허용 추가
All checks were successful
Build And Test / build-and-push (push) Successful in 36s
All checks were successful
Build And Test / build-and-push (push) Successful in 36s
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
37
API_SPEC.md
37
API_SPEC.md
@ -411,7 +411,34 @@ GET /api/nhn/floatingip/
|
||||
|
||||
## 4. NKS (Kubernetes) API
|
||||
|
||||
### 4.1 클러스터 목록 조회
|
||||
### 4.1 지원 버전 조회
|
||||
|
||||
```
|
||||
GET /api/nhn/nks/supports/
|
||||
```
|
||||
|
||||
**Headers**
|
||||
```
|
||||
X-NHN-Region: kr2
|
||||
X-NHN-Token: {token}
|
||||
```
|
||||
|
||||
**Response (200 OK)**
|
||||
```json
|
||||
{
|
||||
"supported_k8s": {
|
||||
"v1.33.4": "True",
|
||||
"v1.32.4": "True",
|
||||
"v1.31.4": "True",
|
||||
"v1.30.4": "False"
|
||||
},
|
||||
"supported_event_type": {...}
|
||||
}
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### 4.2 클러스터 목록 조회
|
||||
|
||||
```
|
||||
GET /api/nhn/nks/clusters/
|
||||
@ -439,7 +466,7 @@ X-NHN-Token: {token}
|
||||
|
||||
---
|
||||
|
||||
### 4.2 클러스터 상세 조회
|
||||
### 4.3 클러스터 상세 조회
|
||||
|
||||
```
|
||||
GET /api/nhn/nks/clusters/{cluster_name}/
|
||||
@ -447,7 +474,7 @@ GET /api/nhn/nks/clusters/{cluster_name}/
|
||||
|
||||
---
|
||||
|
||||
### 4.3 클러스터 kubeconfig 조회
|
||||
### 4.4 클러스터 kubeconfig 조회
|
||||
|
||||
```
|
||||
GET /api/nhn/nks/clusters/{cluster_name}/config/
|
||||
@ -462,7 +489,7 @@ GET /api/nhn/nks/clusters/{cluster_name}/config/
|
||||
|
||||
---
|
||||
|
||||
### 4.4 클러스터 생성
|
||||
### 4.5 클러스터 생성
|
||||
|
||||
```
|
||||
POST /api/nhn/nks/clusters/create/
|
||||
@ -505,7 +532,7 @@ POST /api/nhn/nks/clusters/create/
|
||||
|
||||
---
|
||||
|
||||
### 4.5 클러스터 삭제
|
||||
### 4.6 클러스터 삭제
|
||||
|
||||
```
|
||||
DELETE /api/nhn/nks/clusters/{cluster_name}/
|
||||
|
||||
Reference in New Issue
Block a user