uber.place.predict
View connectorSuggest Uber pickup or destination places
POST /v1/operations/uber.place.predictHeaders
Authorization: Bearer YOUR_AJAR_API_KEY
x-uber-session: YOUR_BASE64URL_UBER_SESSION
Content-Type: application/jsonInputs
| Parameter | Example type | Example value |
|---|---|---|
| query | string | "Big Ben" |
| role | string | "destination" |
Example input
{
"query": "Big Ben",
"role": "destination"
}Input schema
{
"$id": "https://useajar.com/schemas/uber/place-predict.input.schema.json",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"near": {
"additionalProperties": false,
"properties": {
"latitude": {
"maximum": 90,
"minimum": -90,
"type": "number"
},
"longitude": {
"maximum": 180,
"minimum": -180,
"type": "number"
}
},
"required": [
"latitude",
"longitude"
],
"type": "object"
},
"query": {
"maxLength": 200,
"minLength": 2,
"type": "string"
},
"role": {
"enum": [
"pickup",
"destination"
]
}
},
"required": [
"query",
"role"
],
"title": "Uber place suggestion input",
"type": "object"
}