api-docs.json 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597
  1. {
  2. "swagger": "2.0",
  3. "info": {
  4. "description": "PIS Park Open API Service",
  5. "version": "0.0.1",
  6. "title": "Intelligent Traffic Service"
  7. },
  8. "host": "115.91.94.42:9000",
  9. "basePath": "/",
  10. "tags": [
  11. {
  12. "name": "주차정보 시스템 정보제공",
  13. "description": "Tb Prk Plce Controller"
  14. }
  15. ],
  16. "paths": {
  17. "/api/park/dev": {
  18. "get": {
  19. "tags": [
  20. "주차정보 시스템 정보제공"
  21. ],
  22. "summary": "5.주차장 수집장치 정보 전체조회",
  23. "operationId": "findAllDevListUsingGET",
  24. "produces": [
  25. "application/json;charset=utf8"
  26. ],
  27. "responses": {
  28. "200": {
  29. "description": "OK",
  30. "schema": {
  31. "$ref": "#/definitions/TbPrkPlceDevDto(주차정보 수집장치 정보)"
  32. }
  33. },
  34. "401": {
  35. "description": "Unauthorized"
  36. },
  37. "403": {
  38. "description": "Forbidden"
  39. },
  40. "404": {
  41. "description": "Not Found"
  42. }
  43. },
  44. "deprecated": false
  45. }
  46. },
  47. "/api/park/dev/rt": {
  48. "get": {
  49. "tags": [
  50. "주차정보 시스템 정보제공"
  51. ],
  52. "summary": "7.주차장 수집장치 실시간정보 전체조회",
  53. "operationId": "findAllDevRtListUsingGET",
  54. "produces": [
  55. "application/json;charset=utf8"
  56. ],
  57. "responses": {
  58. "200": {
  59. "description": "OK",
  60. "schema": {
  61. "$ref": "#/definitions/TbPrkPlceDevDto(주차정보 수집장치 정보)"
  62. }
  63. },
  64. "401": {
  65. "description": "Unauthorized"
  66. },
  67. "403": {
  68. "description": "Forbidden"
  69. },
  70. "404": {
  71. "description": "Not Found"
  72. }
  73. },
  74. "deprecated": false
  75. }
  76. },
  77. "/api/park/dev/rt/{prkPlceManageNo}": {
  78. "get": {
  79. "tags": [
  80. "주차정보 시스템 정보제공"
  81. ],
  82. "summary": "8.주차장 수집장치 실시간정보 개별조회",
  83. "operationId": "findDevRtByManageNoUsingGET",
  84. "produces": [
  85. "application/json;charset=utf8"
  86. ],
  87. "parameters": [
  88. {
  89. "name": "prkPlceManageNo",
  90. "in": "path",
  91. "description": "주차장관리 ID",
  92. "required": true,
  93. "type": "string",
  94. "x-example": "3551000001"
  95. }
  96. ],
  97. "responses": {
  98. "200": {
  99. "description": "OK",
  100. "schema": {
  101. "$ref": "#/definitions/TbPrkPlceDevDto(주차정보 수집장치 정보)"
  102. }
  103. },
  104. "401": {
  105. "description": "Unauthorized"
  106. },
  107. "403": {
  108. "description": "Forbidden"
  109. },
  110. "404": {
  111. "description": "Not Found"
  112. }
  113. },
  114. "deprecated": false
  115. }
  116. },
  117. "/api/park/dev/{prkPlceManageNo}": {
  118. "get": {
  119. "tags": [
  120. "주차정보 시스템 정보제공"
  121. ],
  122. "summary": "6.주차장 수집장치 정보 개별조회",
  123. "operationId": "findDevByManageNoUsingGET",
  124. "produces": [
  125. "application/json;charset=utf8"
  126. ],
  127. "parameters": [
  128. {
  129. "name": "prkPlceManageNo",
  130. "in": "path",
  131. "description": "주차장관리 ID",
  132. "required": true,
  133. "type": "string",
  134. "x-example": "3551000001"
  135. }
  136. ],
  137. "responses": {
  138. "200": {
  139. "description": "OK",
  140. "schema": {
  141. "$ref": "#/definitions/TbPrkPlceDevDto(주차정보 수집장치 정보)"
  142. }
  143. },
  144. "401": {
  145. "description": "Unauthorized"
  146. },
  147. "403": {
  148. "description": "Forbidden"
  149. },
  150. "404": {
  151. "description": "Not Found"
  152. }
  153. },
  154. "deprecated": false
  155. }
  156. },
  157. "/api/park/plce": {
  158. "get": {
  159. "tags": [
  160. "주차정보 시스템 정보제공"
  161. ],
  162. "summary": "1.주차장 시설 정보 전체조회",
  163. "operationId": "findAllListUsingGET",
  164. "produces": [
  165. "application/json;charset=utf8"
  166. ],
  167. "responses": {
  168. "200": {
  169. "description": "OK",
  170. "schema": {
  171. "$ref": "#/definitions/TbPrkPlceDto(주차장 시설 정보)"
  172. }
  173. },
  174. "401": {
  175. "description": "Unauthorized"
  176. },
  177. "403": {
  178. "description": "Forbidden"
  179. },
  180. "404": {
  181. "description": "Not Found"
  182. }
  183. },
  184. "deprecated": false
  185. }
  186. },
  187. "/api/park/plce/{prkPlceManageNo}": {
  188. "get": {
  189. "tags": [
  190. "주차정보 시스템 정보제공"
  191. ],
  192. "summary": "2.주차장 시설 정보 개별조회",
  193. "operationId": "findByManageNoUsingGET",
  194. "produces": [
  195. "application/json;charset=utf8"
  196. ],
  197. "parameters": [
  198. {
  199. "name": "prkPlceManageNo",
  200. "in": "path",
  201. "description": "주차장관리 ID",
  202. "required": true,
  203. "type": "string",
  204. "x-example": "3551000001"
  205. }
  206. ],
  207. "responses": {
  208. "200": {
  209. "description": "OK",
  210. "schema": {
  211. "$ref": "#/definitions/TbPrkPlceDto(주차장 시설 정보)"
  212. }
  213. },
  214. "401": {
  215. "description": "Unauthorized"
  216. },
  217. "403": {
  218. "description": "Forbidden"
  219. },
  220. "404": {
  221. "description": "Not Found"
  222. }
  223. },
  224. "deprecated": false
  225. }
  226. },
  227. "/api/park/rt": {
  228. "get": {
  229. "tags": [
  230. "주차정보 시스템 정보제공"
  231. ],
  232. "summary": "3.주차장 실시간 정보 전체조회",
  233. "operationId": "findAllRtListUsingGET",
  234. "produces": [
  235. "application/json;charset=utf8"
  236. ],
  237. "responses": {
  238. "200": {
  239. "description": "OK",
  240. "schema": {
  241. "$ref": "#/definitions/TbPrkPlceRtDto(주차장 실시간 정보)"
  242. }
  243. },
  244. "401": {
  245. "description": "Unauthorized"
  246. },
  247. "403": {
  248. "description": "Forbidden"
  249. },
  250. "404": {
  251. "description": "Not Found"
  252. }
  253. },
  254. "deprecated": false
  255. }
  256. },
  257. "/api/park/rt/{prkPlceManageNo}": {
  258. "get": {
  259. "tags": [
  260. "주차정보 시스템 정보제공"
  261. ],
  262. "summary": "4.주차장 실시간 정보 개별조회",
  263. "operationId": "findRtByManageNoUsingGET",
  264. "produces": [
  265. "application/json;charset=utf8"
  266. ],
  267. "parameters": [
  268. {
  269. "name": "prkPlceManageNo",
  270. "in": "path",
  271. "description": "주차장관리 ID",
  272. "required": true,
  273. "type": "string",
  274. "x-example": "3551000001"
  275. }
  276. ],
  277. "responses": {
  278. "200": {
  279. "description": "OK",
  280. "schema": {
  281. "$ref": "#/definitions/TbPrkPlceRtDto(주차장 실시간 정보)"
  282. }
  283. },
  284. "401": {
  285. "description": "Unauthorized"
  286. },
  287. "403": {
  288. "description": "Forbidden"
  289. },
  290. "404": {
  291. "description": "Not Found"
  292. }
  293. },
  294. "deprecated": false
  295. }
  296. }
  297. },
  298. "definitions": {
  299. "TbPrkPlceDevDto(주차정보 수집장치 정보)": {
  300. "type": "object",
  301. "properties": {
  302. "comm_stts_cd": {
  303. "type": "string",
  304. "description": "통신상태태코드(0:점검중,1:정상"
  305. },
  306. "comm_stts_desc": {
  307. "type": "string",
  308. "description": "통신상태코드설명"
  309. },
  310. "data_colct_time": {
  311. "type": "string",
  312. "description": "실시간 주차데이터 수집시간 (YYYYMMDDHH24MISS)"
  313. },
  314. "devices": {
  315. "type": "array",
  316. "description": "주차정보수집장치 목록",
  317. "items": {
  318. "$ref": "#/definitions/TbPrkPlceFlrDevDto(주차장 층별 수집장치 정보)"
  319. }
  320. },
  321. "prk_plce_manage_no": {
  322. "type": "string",
  323. "description": "주차장 관리 ID"
  324. }
  325. },
  326. "title": "TbPrkPlceDevDto(주차정보 수집장치 정보)"
  327. },
  328. "TbPrkPlceDto(주차장 시설 정보)": {
  329. "type": "object",
  330. "properties": {
  331. "ar_level_se": {
  332. "type": "integer",
  333. "format": "int32",
  334. "description": "급지구분(0 : 1급지, 1 : 2급지, 2 : 3급지, 3 : 4급지, 4 : 5급지, 9 : 기타)"
  335. },
  336. "crm_prv_cctv_instl_at": {
  337. "type": "integer",
  338. "format": "int32",
  339. "description": "방범 CCTV 설치여부 정보 - 방범 CCTV 설치여부 (0 : 미설치, 1 : 설치)"
  340. },
  341. "crm_prv_cctv_instl_co": {
  342. "type": "integer",
  343. "format": "int32",
  344. "description": "방범 CCTV 설치여부 정보 - 방범 CCTV 설치대수"
  345. },
  346. "floors": {
  347. "type": "array",
  348. "description": "층정보 목록",
  349. "items": {
  350. "$ref": "#/definitions/TbPrkPlceFlrDto(주차장 시설 정보-층 정보)"
  351. }
  352. },
  353. "parking_ty": {
  354. "type": "integer",
  355. "format": "int32",
  356. "description": "주차형식(0 : 평행주차, 1 : 직각주차, 2 : 60도 대향주차, 3 : 45도 대향주차, 9 : 기타)"
  357. },
  358. "parking_us": {
  359. "type": "integer",
  360. "format": "int32",
  361. "description": "이용형태(0 : 자주식, 1 : 기계식, 9 : 기타)"
  362. },
  363. "prk_avail_cartype": {
  364. "type": "string",
  365. "description": "이용가능 차량유형 - 아래 유형 조합해서 생성됌 - 예시) 승용(중형), SUV 이용가능 시, (0101000) 0: 승용(소형), 1: 승용(중형), 2: 승용(대형), 3: SUV, 4: 승합차, 5: 화물(중형), 6: 화물(대형) "
  366. },
  367. "prk_cmprt_co": {
  368. "type": "integer",
  369. "format": "int32",
  370. "description": "주차장 주차구획 - 총 주차구획 수, 주차장의 총 주차 구획 수"
  371. },
  372. "prk_plce_adres": {
  373. "type": "string",
  374. "description": "도로명 주소"
  375. },
  376. "prk_plce_entrc_extty": {
  377. "type": "integer",
  378. "format": "int32",
  379. "description": "주차장 입출구 형태(0 : 공통출입구, 1 : 출입구 분리, 9 : 기타)"
  380. },
  381. "prk_plce_entrc_la": {
  382. "type": "string",
  383. "description": "주차장 입구위치 (주출입구 기준) - 주차장 입구위치 위도(35.879337)"
  384. },
  385. "prk_plce_entrc_lo": {
  386. "type": "string",
  387. "description": "주차장 입구위치 (주출입구 기준) - 주차장 입구위치 경도(128.628764)"
  388. },
  389. "prk_plce_entrc_nm": {
  390. "type": "string",
  391. "description": "주차장 입구위치 (주출입구 기준) - 주차장 입구명"
  392. },
  393. "prk_plce_manage_no": {
  394. "type": "string",
  395. "description": "주차장 관리 ID"
  396. },
  397. "prk_plce_nm": {
  398. "type": "string",
  399. "description": "주차장 이름"
  400. },
  401. "vhcty_ar_se0": {
  402. "type": "integer",
  403. "format": "int32",
  404. "description": "주차장 주차구획 - 경차 전용"
  405. },
  406. "vhcty_ar_se1": {
  407. "type": "integer",
  408. "format": "int32",
  409. "description": "주차장 주차구획 - 친환경차 (전기차) 전용"
  410. },
  411. "vhcty_ar_se2": {
  412. "type": "integer",
  413. "format": "int32",
  414. "description": "주차장 주차구획 - 화물차 전용"
  415. },
  416. "vhcty_ar_se3": {
  417. "type": "integer",
  418. "format": "int32",
  419. "description": "주차장 주차구획 - 긴급차량 전용"
  420. },
  421. "vhcty_ar_se4": {
  422. "type": "integer",
  423. "format": "int32",
  424. "description": "주차장 주차구획 - 장애인 전용"
  425. },
  426. "vhcty_ar_se5": {
  427. "type": "integer",
  428. "format": "int32",
  429. "description": "주차장 주차구획 - 어르신 전용"
  430. },
  431. "vhcty_ar_se6": {
  432. "type": "integer",
  433. "format": "int32",
  434. "description": "주차장 주차구획 - 여성 전용"
  435. },
  436. "vhcty_ar_se9": {
  437. "type": "integer",
  438. "format": "int32",
  439. "description": "주차장 주차구획 - 기타"
  440. }
  441. },
  442. "title": "TbPrkPlceDto(주차장 시설 정보)"
  443. },
  444. "TbPrkPlceFlrDevDto(주차장 층별 수집장치 정보)": {
  445. "type": "object",
  446. "properties": {
  447. "device_id": {
  448. "type": "string",
  449. "description": "주차정보수집장치 ID"
  450. },
  451. "flr_no": {
  452. "type": "string",
  453. "description": "층 번호"
  454. }
  455. },
  456. "title": "TbPrkPlceFlrDevDto(주차장 층별 수집장치 정보)"
  457. },
  458. "TbPrkPlceFlrDevRtDto(주차정보 수집장치 정보)": {
  459. "type": "object",
  460. "properties": {
  461. "connected": {
  462. "type": "integer",
  463. "format": "int32",
  464. "description": "통신상태 (0 : 불량, 1 : 정상)"
  465. },
  466. "device_id": {
  467. "type": "string",
  468. "description": "주차정보수집장치 ID"
  469. },
  470. "device_type": {
  471. "type": "integer",
  472. "format": "int32",
  473. "description": "주차정보수집장치 종류 (0 : 영상식, 1 : 지자기, 2 : 레이더, 3 : 루프, 4 : 초음파, 9 : 기타)"
  474. },
  475. "occupation": {
  476. "type": "integer",
  477. "format": "int32",
  478. "description": "주차면 점유여부 (0 : 주차가능 (주차면 비점유), 1 : 주차불가 (주차면 점유))"
  479. },
  480. "prk_unit_id": {
  481. "type": "string",
  482. "description": "주차면 ID, 층번호+구역일련번호 예시) 1FA01 1층 A구역 01번 주차면"
  483. },
  484. "typed_parking_lots": {
  485. "type": "integer",
  486. "format": "int32",
  487. "description": "주차면 유형 (0 : 일반, 1 : 경차 전용, 2 : 대형(화물)전용, 3 : 긴급차량전용, 4 : 장애인 전용, 5 : 여성 전용, 9 : 기타)"
  488. }
  489. },
  490. "title": "TbPrkPlceFlrDevRtDto(주차정보 수집장치 정보)"
  491. },
  492. "TbPrkPlceFlrDto(주차장 시설 정보-층 정보)": {
  493. "type": "object",
  494. "properties": {
  495. "flr_no": {
  496. "type": "string",
  497. "description": "층 번호"
  498. },
  499. "flr_prk_cmprt_co": {
  500. "type": "integer",
  501. "format": "int32",
  502. "description": "층별 주차구획 수, 120(면), 시설정보+ 실시간정보"
  503. },
  504. "flr_remndr_prk_cmprt_co": {
  505. "type": "integer",
  506. "format": "int32",
  507. "description": "층별 잔여 주차구획 수, 120(면), 실시간정보"
  508. }
  509. },
  510. "title": "TbPrkPlceFlrDto(주차장 시설 정보-층 정보)"
  511. },
  512. "TbPrkPlceRtDto(주차장 실시간 정보)": {
  513. "type": "object",
  514. "properties": {
  515. "comm_stts_cd": {
  516. "type": "string",
  517. "description": "통신상태태코드(0:점검중,1:정상"
  518. },
  519. "comm_stts_desc": {
  520. "type": "string",
  521. "description": "통신상태코드설명"
  522. },
  523. "data_colct_time": {
  524. "type": "string",
  525. "description": "실시간 주차데이터 수집시간 (YYYYMMDDHH24MISS)"
  526. },
  527. "floors": {
  528. "type": "array",
  529. "description": "층별 실시간정보 목록",
  530. "items": {
  531. "$ref": "#/definitions/TbPrkPlceFlrDto(주차장 시설 정보-층 정보)"
  532. }
  533. },
  534. "parking_cgs_sttus": {
  535. "type": "integer",
  536. "format": "int32",
  537. "description": "주차장 상태 코드 (0: 여유(점유 50% 미만), 1: 보통(점유 70% 미만), 2: 혼잡(점유 90% 미만), 3: 만차(점유 90% 초과)), 9: 알수없음"
  538. },
  539. "prk_cmprt_co": {
  540. "type": "integer",
  541. "format": "int32",
  542. "description": "주차장의 총 주차 구획 수, 150 (면)"
  543. },
  544. "prk_plce_manage_no": {
  545. "type": "string",
  546. "description": "주차장 관리 ID"
  547. },
  548. "remndr_prk_cmprt_co": {
  549. "type": "integer",
  550. "format": "int32",
  551. "description": "주차장의 총 잔여 주차 구획 수, 150 (면)"
  552. },
  553. "vhcty_ar_remndr_prk_cmprt_co0": {
  554. "type": "integer",
  555. "format": "int32",
  556. "description": "잔여 주차 구획 수 - 경차 전용"
  557. },
  558. "vhcty_ar_remndr_prk_cmprt_co1": {
  559. "type": "integer",
  560. "format": "int32",
  561. "description": "잔여 주차 구획 수 - 친환경차 (전기차) 전용"
  562. },
  563. "vhcty_ar_remndr_prk_cmprt_co2": {
  564. "type": "integer",
  565. "format": "int32",
  566. "description": "잔여 주차 구획 수 - 화물차 전용"
  567. },
  568. "vhcty_ar_remndr_prk_cmprt_co3": {
  569. "type": "integer",
  570. "format": "int32",
  571. "description": "잔여 주차 구획 수 - 긴급차량 전용"
  572. },
  573. "vhcty_ar_remndr_prk_cmprt_co4": {
  574. "type": "integer",
  575. "format": "int32",
  576. "description": "잔여 주차 구획 수 - 장애인 전용"
  577. },
  578. "vhcty_ar_remndr_prk_cmprt_co5": {
  579. "type": "integer",
  580. "format": "int32",
  581. "description": "잔여 주차 구획 수 - 어르신 전용"
  582. },
  583. "vhcty_ar_remndr_prk_cmprt_co6": {
  584. "type": "integer",
  585. "format": "int32",
  586. "description": "잔여 주차 구획 수 - 여성 전용"
  587. },
  588. "vhcty_ar_remndr_prk_cmprt_co9": {
  589. "type": "integer",
  590. "format": "int32",
  591. "description": "잔여 주차 구획 수 - 기타"
  592. }
  593. },
  594. "title": "TbPrkPlceRtDto(주차장 실시간 정보)"
  595. }
  596. }
  597. }