관찰 기록 요약
전체 주소
POST https:/ / apis.lucela.kr/ v1/ biolinc/ observations/ summary경로POST / v1/ biolinc/ observations/ summary{
"/v1/biolinc/observations/summary": {
"post": {
"tags": [
"바이오링크 API"
],
"summary": "관찰 기록 요약",
"description": "보낸 기록 → 지표별 처음 · 마지막 · 변화 · 빈 날",
"operationId": "post_v1_biolinc_observations_summary",
"x-lucela-mcp-tool": "biolinc_summarize_observations",
"security": [
{
"ApiKey": []
}
],
"x-implementation-status": "SANDBOX_ONLY",
"x-lucela-billing-unit": "성공 계산 1",
"x-lucela-unit-weight": 1,
"x-lucela-response-fields": "data(kind · kind_name · period(from · to · days · records) · metrics[](id · count · first · last · min · max · mean · change · change_pct) · gaps(missing_days · longest_gap_days) · special_days[]) · meta(request_id · environment · synthetic · schema_version · warnings · engine_version · reference_only · notice · client_reference(보냈을 때) · fixture_id(시험 키일 때))",
"responses": {
"200": {
"description": "성공 — 봉투 한 모양",
"content": {
"application/json": {
"schema": {
"allOf": [
{
"$ref": "#/components/schemas/Envelope"
},
{
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"kind": {},
"kind_name": {},
"period": {
"type": "object",
"properties": {
"from": {},
"to": {},
"days": {},
"records": {}
},
"required": [
"from",
"to",
"days",
"records"
]
},
"metrics": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {},
"count": {},
"first": {},
"last": {},
"min": {},
"max": {},
"mean": {},
"change": {},
"change_pct": {}
},
"required": [
"id",
"count",
"first",
"last",
"min",
"max",
"mean",
"change",
"change_pct"
]
}
},
"gaps": {
"type": "object",
"properties": {
"missing_days": {},
"longest_gap_days": {}
},
"required": [
"missing_days",
"longest_gap_days"
]
},
"special_days": {
"type": "array",
"items": {}
}
},
"required": [
"kind",
"kind_name",
"period",
"metrics",
"gaps",
"special_days"
]
},
"meta": {
"type": "object",
"properties": {
"request_id": {},
"environment": {},
"synthetic": {},
"schema_version": {},
"warnings": {},
"engine_version": {},
"reference_only": {},
"notice": {},
"client_reference": {},
"fixture_id": {}
},
"required": [
"request_id",
"environment",
"synthetic",
"schema_version",
"warnings",
"engine_version",
"reference_only",
"notice"
]
}
}
}
]
}
}
}
},
"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": {
"kind": {
"description": "plant · insect · pet · reptile"
},
"records": {
"description": "1~60건 · 한 건 = date(YYYY-MM-DD) · values(지표 번호 → 숫자 1~14개) · special(특별한 날 표시)"
},
"client_reference": {
"description": "64자 이하 · 개인정보 금지"
},
"fixture_id": {
"description": "시험 키 전용 — 시험 키는 이 칸과 client_reference 만 받는다"
}
},
"required": [
"kind",
"records"
],
"additionalProperties": false
}
}
}
}
}
}
}