Demo Enpoints

Contact support to get access to demo endpoint tokens

Base URL: https://geo-srv-002.stoovo.com

API Endpoint: /demo/details

  • Method: POST

  • Description: Retrieves detailed information for the demo.

  • Headers

    • token: <your_access_token_here>

      Make sure to replace <your_access_token_here> with the access token provided to you by the sales team. This token is required for authentication and authorization purposes when making a request to the API endpoint.

  • Parameters:

    ### Parameters
    
    - `id`: The unique identifier for the object.
    - `kind`: The type or nature of the object.
  • Responses:

    • API Response Example

      • Upon successfully processing a request, our API responds with a 200 OK status code and a JSON payload detailing information about a specified location. Below is an illustrative example of such a response:

    • {
          "kind": "place",
          "markerId": "ChIJ3Q-piZ-AhYAR_8uZfUAXAPQ",
          "createdAt": "2024-02-27T21:02:20.578Z",
          "geometry": {
              "coordinates": [
                  -122.4239107,
                  37.7723322
              ],
              "type": "Point"
          },
          "isBuilding": true,
          "properties": {
              "address": "21 Octavia St, San Francisco, CA 94102",
              "kind": "place",
              "name": "21 Octavia St",
              "text": "21 Octavia St",
              "usermodified": false,
              "amenities": {
                  "wheelchair": false,
                  "elevator": false,
                  "deliveryScore": 0,
                  "score": 0
              },
              "delivery_time": null,
              "photos": [
                  "https://placesphotos.stoovo.com/place/ChIJ3Q-piZ-AhYAR_8uZfUAXAPQ/main/default.png"
              ],
              "correct": 0,
              "incorrect": 0,
              "userReaction": 0,
              "completeData": false,
              "userReview": false,
              "types": [
                  "street_address"
              ],
              "isOpenNow": null
          },
          "type": "Feature",
          "demo": true,
          "id": "ChIJ3Q-piZ-AhYAR_8uZfUAXAPQ"
      }
      • This JSON object comprehensively details several attributes associated with the location, including its type, creation date, geographic details, building status, and various other properties like address, name, amenities, and photos, offering a complete overview for client usage.

    • 401 Not Authorized

      • This status code indicates that the request has not been applied because it lacks valid authentication credentials for the target resource. The server may require HTTP authentication (presented in WWW-Authenticate header fields), or some other form of client identification.

API Endpoint: /demo/parking

  • Method: POST

  • Description: Retrieves detailed information for parking and entrance facilities.

  • Headers

    • token: <your_access_token_here>

      Ensure your request header includes a valid access token, provided by the sales team, for authentication.

  • Parameters:

    ### Parameters
    
    - `id`: The unique identifier for the parking or entrance.
    - `kind`: Specifies the nature of the object as either "parking" or "entrance".
  • Responses:

    • API Response Example

      • Successful requests are confirmed with a 200 OK status, returning details about the parking or entrance, as shown in the JSON example below:

      • {
            "features": [
                {
                    "geometry": {
                        "type": "Point",
                        "coordinates": [
                            -122.01190331265741,
                            37.39659053580344
                        ]
                    },
                    "properties": {
                        "text": null,
                        "kind": "parking",
                        "id": "1698883019886.6542e5cba07ec243429a25b3",
                        "subKind": null
                    },
                    "type": "Feature"
                },
                {
                    "geometry": {
                        "type": "Point",
                        "coordinates": [
                            -122.01168280281269,
                            37.39669350114852
                        ]
                    },
                    "properties": {
                        "text": null,
                        "kind": "parking",
                        "id": "1707207468232.65c1eb2c7a72fd0d7b03eb0e",
                        "subKind": null
                    },
                    "type": "Feature"
                },
                {
                    "geometry": {
                        "type": "Point",
                        "coordinates": [
                            -122.01172276498929,
                            37.39627203238945
                        ]
                    },
                    "properties": {
                        "text": null,
                        "kind": "parking",
                        "id": "1710738221188.65f7cb2d498450a68aa084b4",
                        "subKind": null
                    },
                    "type": "Feature"
                }
            ],
            "type": "FeatureCollection"
        }
    • 401 Not Authorized

      • Indicates failure due to invalid credentials, requiring proper authentication to access the information.

API Endpoint: /demo/entrance

  • Method: POST

  • Description: Retrieves detailed information for parking and entrance facilities.

  • Headers

    • token: <your_access_token_here>

      Ensure your request header includes a valid access token, provided by the sales team, for authentication.

  • Parameters:

    ### Parameters
    
    - `id`: The unique identifier for the parking or entrance.
    - `kind`: Specifies the nature of the object as either "parking" or "entrance".
  • Responses:

    • API Response Example

      • Successful requests are confirmed with a 200 OK status, returning details about the parking or entrance, as shown in the JSON example below:

      • {
            "features": [
                {
                    "geometry": {
                        "type": "Point",
                        "coordinates": [
                            -122.01190331265741,
                            37.39659053580344
                        ]
                    },
                    "properties": {
                        "text": null,
                        "kind": "entrances",
                        "id": "1698883019886.6542e5cba07ec243429a25b3",
                        "subKind": null
                    },
                    "type": "Feature"
                },
                {
                    "geometry": {
                        "type": "Point",
                        "coordinates": [
                            -122.01168280281269,
                            37.39669350114852
                        ]
                    },
                    "properties": {
                        "text": null,
                        "kind": "entrances",
                        "id": "1707207468232.65c1eb2c7a72fd0d7b03eb0e",
                        "subKind": null
                    },
                    "type": "Feature"
                },
                {
                    "geometry": {
                        "type": "Point",
                        "coordinates": [
                            -122.01172276498929,
                            37.39627203238945
                        ]
                    },
                    "properties": {
                        "text": null,
                        "kind": "entrances",
                        "id": "1710738221188.65f7cb2d498450a68aa084b4",
                        "subKind": null
                    },
                    "type": "Feature"
                }
            ],
            "type": "FeatureCollection"
        }
    • 401 Not Authorized

      • Indicates failure due to invalid credentials, requiring proper authentication to access the information.


Last updated