구역 조회
POST/schedule/open/zone/v1/queries/get-zone
특정 구역의 정보를 조회합니다.
zoneId로 구역의 이름, 활성화 여부 등 상세 정보를 조회합니다.
Request
### Content-Type별 요청의 JSON Schema
{
"application/json": {
"schema": {
"required": [
"zoneId"
],
"type": "object",
"properties": {
"zoneId": {
"type": "string",
"description": "조회할 구역 ID"
}
},
"title": "protos.schedule.zone.GetZoneQuery"
}
}
}
Responses
- 200
OK
### Status Code별 응답의 JSON Schema
{
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"data": {
"required": [
"id",
"title",
"order",
"isDefault"
],
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "구역 ID"
},
"title": {
"type": "string",
"description": "구역 이름"
},
"order": {
"type": "integer",
"description": "정렬 순서",
"format": "int32"
},
"isDefault": {
"type": "boolean",
"description": "기본 구역 여부"
}
},
"title": "protos.schedule.zone.ZoneContract"
}
},
"title": "protos.schedule.zone.GetZoneQueryResponse"
}
}
}
}
}