서우리 - Your Seoul Mate
서우리 - Your Seoul Mate · Acciones GPT
My API
API for generating search URLs, getting real-time subway information, and retrieving cultural events.
GET /generate_search_url/Generate Search UrlGET /realtime_subway/Get Realtime SubwayGET /cultural-events/Get Cultural EventsGET /fetch_sports_facilities스포츠 시설 예약 정보 조회GET /get_parking_info/{district}지정된 지역의 주차 정보 조회
Esquema original API
{
"openapi": "3.0.0",
"info": {
"title": "My API",
"description": "API for generating search URLs, getting real-time subway information, and retrieving cultural events.",
"version": "1.0.0"
},
"servers": [
{
"url": "https://nomaddesign.xyz",
"description": "Main production server"
}
],
"paths": {
"/generate_search_url/": {
"get": {
"operationId": "generateSearchUrl",
"summary": "Generate Search Url",
"parameters": [
{
"name": "query",
"in": "query",
"required": true,
"description": "Query string",
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"type": "string"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
},
"security": [
{
"ApiKeyAuthGenerateSearchUrl": []
}
]
}
},
"/realtime_subway/": {
"get": {
"operationId": "getRealtimeSubway",
"summary": "Get Realtime Subway",
"parameters": [
{
"name": "station_name",
"in": "query",
"required": true,
"description": "Name of the subway station",
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"type": "string"
}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
},
"security": [
{
"ApiKeyAuthRealtimeSubway": []
}
]
}
},
"/cultural-events/": {
"get": {
"operationId": "getCulturalEvents",
"summary": "Get Cultural Events",
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {
"type": "string"
}
}
}
}
},
"security": [
{
"ApiKeyAuthCulturalEvents": []
}
]
}
},
"/fetch_sports_facilities": {
"get": {
"operationId": "fetchSportsFacilities",
"summary": "스포츠 시설 예약 정보 조회",
"responses": {
"200": {
"description": "성공적으로 스포츠 시설 정보를 조회함",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"type": "object",
"properties": {
"서비스명": {
"type": "string"
},
"바로가기URL": {
"type": "string"
},
"서비스상태": {
"type": "string"
}
}
}
}
}
}
},
"default": {
"description": "오류 발생"
}
},
"security": [
{
"ApiKeyAuthSportsFacilities": []
}
]
}
},
"/get_parking_info/{district}": {
"get": {
"operationId": "getParkingInfo",
"summary": "지정된 지역의 주차 정보 조회",
"parameters": [
{
"in": "path",
"name": "district",
"required": true,
"schema": {
"type": "string"
},
"description": "조회할 지역의 자치구 이름"
}
],
"responses": {
"200": {
"description": "성공적으로 주차 정보를 조회함",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"type": "object",
"properties": {
"주차장명": {
"type": "string"
},
"주소": {
"type": "string"
},
"운영구분명": {
"type": "string"
},
"총 주차면": {
"type": "integer"
},
"현재 주차 차량수": {
"type": "integer"
},
"현재 주차 차량수 업데이트시간": {
"type": "string"
},
"토요일 유무료 구분명": {
"type": "string"
},
"공휴일 유무료 구분명": {
"type": "string"
},
"일 최대 요금": {
"type": "integer"
},
"전화번호": {
"type": "string"
},
"기본 주차 요금": {
"type": "integer"
},
"기본 주차 시간": {
"type": "integer"
}
}
}
}
}
}
},
"default": {
"description": "오류 발생"
}
},
"security": [
{
"ApiKeyAuthParkingInfo": []
}
]
}
}
},
"securitySchemes": {
"ApiKeyAuthGenerateSearchUrl": {
"type": "apiKey",
"in": "header",
"name": "X-API-KEY-GenerateSearchUrl"
},
"ApiKeyAuthRealtimeSubway": {
"type": "apiKey",
"in": "header",
"name": "X-API-KEY-RealtimeSubway"
},
"ApiKeyAuthCulturalEvents": {
"type": "apiKey",
"in": "header",
"name": "X-API-KEY-CulturalEvents"
},
"ApiKeyAuthSportsFacilities": {
"type": "apiKey",
"in": "header",
"name": "X-API-KEY-SportsFacilities"
},
"ApiKeyAuthParkingInfo": {
"type": "apiKey",
"in": "header",
"name": "X-API-KEY-ParkingInfo"
}
}
}