Freefloat Finder

Freefloat Finder · GPT 작업

Roote AI API

API for accessing real-time transportation and service information.

  • GET /{coords}/freefloatRetrieves all vehicle nearbe a location.
  • GET /{coords}/freefloat/stationRetrieves self-service stations near a location.
  • GET /{coords}/freefloat/scooterRetrieves only kick scooter near a location.
  • GET /{coords}/freefloat/motorscooterRetrieves only motor scooter near a location.
  • GET /{coords}/freefloat/bikeRetrieves only bike near a location.
  • GET /{coords}/freefloat/carRetrieves only car near a location.
원본 API 스키마
{
  "openapi": "3.0.0",
  "info": {
    "title": "Roote AI API",
    "description": "API for accessing real-time transportation and service information.",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://api.roote.ai/realtime",
      "description": "Roote AI Realtime API server"
    }
  ],
  "paths": {
    "/{coords}/freefloat": {
      "get": {
        "operationId": "getFreefloat",
        "summary": "Retrieves all vehicle nearbe a location.",
        "parameters": [
          {
            "name": "coords",
            "in": "path",
            "required": true,
            "description": "The coordinates of the user's location.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "token",
            "in": "query",
            "required": true,
            "description": "f48fbcdb-5f2a-4a00-aa7b-04f7cb7aae69",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful retrieval of vehicule"
          },
          "400": {
            "description": "Bad request, such as invalid coordinates"
          },
          "401": {
            "description": "Unauthorized, invalid token"
          },
          "500": {
            "description": "Server error"
          }
        }
      }
    },
    "/{coords}/freefloat/station": {
      "get": {
        "operationId": "getStations",
        "summary": "Retrieves self-service stations near a location.",
        "parameters": [
          {
            "name": "coords",
            "in": "path",
            "required": true,
            "description": "The coordinates of the user's location.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "token",
            "in": "query",
            "required": true,
            "description": "f48fbcdb-5f2a-4a00-aa7b-04f7cb7aae69",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful retrieval of stations",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "stationId": {
                        "type": "string"
                      },
                      "stationName": {
                        "type": "string"
                      },
                      "location": {
                        "type": "object",
                        "properties": {
                          "latitude": {
                            "type": "number",
                            "format": "double"
                          },
                          "longitude": {
                            "type": "number",
                            "format": "double"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request, such as invalid coordinates"
          },
          "401": {
            "description": "Unauthorized, invalid token"
          },
          "500": {
            "description": "Server error"
          }
        }
      }
    },
    "/{coords}/freefloat/scooter": {
      "get": {
        "operationId": "getScooter",
        "summary": "Retrieves only kick scooter near a location.",
        "parameters": [
          {
            "name": "coords",
            "in": "path",
            "required": true,
            "description": "The coordinates of the user's location.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "token",
            "in": "query",
            "required": true,
            "description": "f48fbcdb-5f2a-4a00-aa7b-04f7cb7aae69",
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/{coords}/freefloat/motorscooter": {
      "get": {
        "operationId": "getMotorscooter",
        "summary": "Retrieves only  motor scooter near a location.",
        "parameters": [
          {
            "name": "coords",
            "in": "path",
            "required": true,
            "description": "The coordinates of the user's location.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "token",
            "in": "query",
            "required": true,
            "description": "f48fbcdb-5f2a-4a00-aa7b-04f7cb7aae69",
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/{coords}/freefloat/bike": {
      "get": {
        "operationId": "getBike",
        "summary": "Retrieves only bike near a location.",
        "parameters": [
          {
            "name": "coords",
            "in": "path",
            "required": true,
            "description": "The coordinates of the user's location.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "token",
            "in": "query",
            "required": true,
            "description": "f48fbcdb-5f2a-4a00-aa7b-04f7cb7aae69",
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    },
    "/{coords}/freefloat/car": {
      "get": {
        "operationId": "getCar",
        "summary": "Retrieves only car near a location.",
        "parameters": [
          {
            "name": "coords",
            "in": "path",
            "required": true,
            "description": "The coordinates of the user's location.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "token",
            "in": "query",
            "required": true,
            "description": "f48fbcdb-5f2a-4a00-aa7b-04f7cb7aae69",
            "schema": {
              "type": "string"
            }
          }
        ]
      }
    }
  }
}