Advanced1 분
API 통합 가이드
프로 사용자를 위한 상세 API 사용법
API 통합 가이드
Pro(¥1,400/월) 사용자를 위한 API 가이드입니다.
🔑 API 키 받기
- 대시보드에 로그인
- "API 키" 섹션으로 이동
- "새 키 생성" 클릭
- 키를 안전하게 저장
📡 엔드포인트
POST https://yamlforge.dev/api/convert
📝 요청 예제
YAML → JSON
curl -X POST https://yamlforge.dev/api/convert \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": "name: test\nversion: 1.0",
"inputFormat": "yaml",
"outputFormat": "json",
"options": {
"preserveAnchors": true,
"preserveComments": true,
"indentSize": 2
}
}'응답
{
"success": true,
"output": "{\n \"name\": \"test\",\n \"version\": 1.0\n}",
"metadata": {}
}📊 속도 제한
| 플랜 | 요청/시간 |
|---|---|
| Pro | 1,000 |
❌ 오류 코드
| 코드 | 설명 |
|---|---|
| 401 | 인증 오류 |
| 400 | 잘못된 입력 |
| 429 | 속도 제한 초과 |
태그
#api#integration#pro#advanced#developer