POST
/
experimental
/
geography
/
location
/
detect
/
_many
curl --request POST \
  --url https://api.f6o.co/experimental/geography/location/detect/_many \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "cities": [
    {
      "context": {
        "location": {
          "lat": 123,
          "lon": 123
        }
      },
      "name": "<string>"
    }
  ],
  "size": 123
}'
{
  "apiVersion": "<string>",
  "items": [
    {
      "failed": {
        "code": 123,
        "details": [
          {
            "@type": "<string>"
          }
        ],
        "message": "<string>"
      },
      "item": {
        "matches": [
          {
            "ID": "<string>",
            "highlights": [
              {
                "matchedValue": "<string>",
                "posEnd": 123,
                "posStart": 123
              }
            ],
            "name": "<string>"
          }
        ]
      }
    }
  ],
  "kind": "<string>"
}

Authorizations

x-api-key
string
headerrequired

API Key used to be authentified to these APIs. Please contact Fluximmo to get one

Body

application/json
cities
object[]
size
integer

Response

200 - application/json
apiVersion
string
items
object[]
kind
string

Was this page helpful?