만세력 조회
전체 주소
POST https:/ / apis.lucela.kr/ v1/ fortune/ calendar경로POST / v1/ fortune/ calendar{
"/v1/fortune/calendar": {
"post": {
"tags": [
"숨표AI"
],
"summary": "만세력 조회",
"description": "양력 ↔ 음력 · 일진 · 절기 · 문화 달력",
"operationId": "post_v1_fortune_calendar",
"x-lucela-mcp-tool": "soompyo_get_manseryeok",
"security": [
{
"ApiKey": []
}
],
"x-implementation-status": "AVAILABLE",
"x-lucela-billing-unit": "성공 계산 1",
"x-lucela-unit-weight": 1,
"x-lucela-response-fields": "data(input(calendar · date · is_leap_month) · solar(date · weekday) · lunar(year · month · day · is_leap_month · basis · basis_name) · day_pillar · solar_term(current(name · at · is_today) · next(name · at)) · modules(모듈 → headline · sub · lines[](label · value) · desc · care)) · meta(request_id · environment · synthetic · schema_version · warnings · engine_version · calc_settings · input_hash(솔트 열쇠가 있을 때) · input_hash_alg(솔트 열쇠가 있을 때) · source_code_hash · source_commit(판에 표식이 있을 때) · tradition · disclaimer · reference_date · addressee · tone)",
"responses": {
"200": {
"description": "성공 — 봉투 한 모양",
"content": {
"application/json": {
"schema": {
"allOf": [
{
"$ref": "#/components/schemas/Envelope"
},
{
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"input": {
"type": "object",
"properties": {
"calendar": {},
"date": {},
"is_leap_month": {}
},
"required": [
"calendar",
"date",
"is_leap_month"
]
},
"solar": {
"type": "object",
"properties": {
"date": {},
"weekday": {}
},
"required": [
"date",
"weekday"
]
},
"lunar": {
"type": "object",
"properties": {
"year": {},
"month": {},
"day": {},
"is_leap_month": {},
"basis": {},
"basis_name": {}
},
"required": [
"year",
"month",
"day",
"is_leap_month",
"basis",
"basis_name"
]
},
"day_pillar": {},
"solar_term": {
"type": "object",
"properties": {
"current": {
"type": "object",
"properties": {
"name": {},
"at": {},
"is_today": {}
},
"required": [
"name",
"at",
"is_today"
]
},
"next": {
"type": "object",
"properties": {
"name": {},
"at": {}
},
"required": [
"name",
"at"
]
}
},
"required": [
"current",
"next"
]
},
"modules": {
"type": "object",
"additionalProperties": {
"type": "object",
"properties": {
"headline": {},
"sub": {},
"lines": {
"type": "array",
"items": {
"type": "object",
"properties": {
"label": {},
"value": {}
},
"required": [
"label",
"value"
]
}
},
"desc": {},
"care": {}
},
"required": [
"headline",
"sub",
"lines",
"desc",
"care"
]
}
}
},
"required": [
"input",
"solar",
"lunar",
"day_pillar",
"solar_term",
"modules"
]
},
"meta": {
"type": "object",
"properties": {
"request_id": {},
"environment": {},
"synthetic": {},
"schema_version": {},
"warnings": {},
"engine_version": {},
"calc_settings": {},
"input_hash": {},
"input_hash_alg": {},
"source_code_hash": {},
"source_commit": {},
"tradition": {},
"disclaimer": {},
"reference_date": {},
"addressee": {},
"tone": {}
},
"required": [
"request_id",
"environment",
"synthetic",
"schema_version",
"warnings",
"engine_version",
"calc_settings",
"source_code_hash",
"tradition",
"disclaimer",
"reference_date",
"addressee",
"tone"
]
}
}
}
]
}
}
}
},
"400": {
"$ref": "#/components/responses/E400"
},
"401": {
"$ref": "#/components/responses/E401"
},
"403": {
"$ref": "#/components/responses/E403"
},
"409": {
"$ref": "#/components/responses/E409"
},
"413": {
"$ref": "#/components/responses/E413"
},
"422": {
"$ref": "#/components/responses/E422"
},
"429": {
"$ref": "#/components/responses/E429"
},
"502": {
"$ref": "#/components/responses/E502"
},
"503": {
"$ref": "#/components/responses/E503"
}
},
"parameters": [
{
"name": "Idempotency-Key",
"in": "header",
"required": true,
"schema": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{16,128}$"
}
}
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"date": {},
"calendar": {
"description": "solar 기본 · lunar",
"enum": [
"solar",
"lunar"
],
"default": "solar"
},
"is_leap_month": {
"description": "음력이면"
},
"modules": {
"description": "생략 = 문화 달력 전부 · [] = 변환만 · rokuyo · weton · pawukon · maya · myanmar8"
},
"options": {
"type": "object",
"properties": {
"lunar_basis": {
"description": "kasi 기본 · china",
"enum": [
"kasi",
"china"
],
"default": "kasi"
},
"addressee": {
"description": "none 기본 · customer · name",
"enum": [
"none",
"customer",
"name"
],
"default": "none"
},
"addressee_name": {
"description": "name 일 때 필수 · 20자 이하 · 표시용 — 계산에 쓰지 않는다"
},
"tone": {
"description": "warm 기본 · neutral",
"enum": [
"warm",
"neutral"
],
"default": "warm"
}
},
"additionalProperties": false
}
},
"required": [
"date"
],
"additionalProperties": false
}
}
}
}
}
}
}