Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
"properties": {
"statusCode": {
"description": "HTTP request status code.",
"type": "number",
"type": "integer",
"readOnly": true,
"example": 200
}
Expand Down
17 changes: 11 additions & 6 deletions specification/maps/data-plane/Search/preview/1.0/search.json
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@
},
"SearchIndexSet": {
"name": "idxSet",
"x-ms-client-name": "indexFilter",
"in": "query",
"description": "A comma separated list of indexes which should be utilized for the search. Item order does not matter. Available indexes are: Addr = Address range interpolation, Geo = Geographies, PAD = Point Addresses, POI = Points of interest, Str = Streets, Xstr = Cross Streets (intersections)",
"type": "array",
Expand Down Expand Up @@ -1400,6 +1401,7 @@
},
{
"name": "searchFuzzyBatchRequestBody",
"x-ms-client-name": "batchRequest",
"in": "body",
"description": "The list of search fuzzy queries/requests to process. The list can contain a max of 10,000 queries and must contain at least 1 query.",
"required": true,
Expand Down Expand Up @@ -1450,6 +1452,7 @@
},
{
"name": "searchFuzzyBatchRequestBody",
"x-ms-client-name": "batchRequest",
"in": "body",
"description": "The list of search fuzzy queries/requests to process. The list can contain a max of 10,000 queries and must contain at least 1 query.",
"required": true,
Expand Down Expand Up @@ -1533,6 +1536,7 @@
},
{
"name": "searchAddressBatchRequestBody",
"x-ms-client-name": "batchRequest",
"in": "body",
"description": "The list of address geocoding queries/requests to process. The list can contain a max of 10,000 queries and must contain at least 1 query.",
"required": true,
Expand Down Expand Up @@ -1583,6 +1587,7 @@
},
{
"name": "searchAddressBatchRequestBody",
"x-ms-client-name": "batchRequest",
"in": "body",
"description": "The list of address geocoding queries/requests to process. The list can contain a max of 10,000 queries and must contain at least 1 query.",
"required": true,
Expand Down Expand Up @@ -1666,6 +1671,7 @@
},
{
"name": "searchAddressReverseBatchRequestBody",
"x-ms-client-name": "batchRequest",
"in": "body",
"description": "The list of reverse geocoding queries/requests to process. The list can contain a max of 10,000 queries and must contain at least 1 query.",
"required": true,
Expand Down Expand Up @@ -1716,6 +1722,7 @@
},
{
"name": "searchAddressReverseBatchRequestBody",
"x-ms-client-name": "batchRequest",
"in": "body",
"description": "The list of reverse geocoding queries/requests to process. The list can contain a max of 10,000 queries and must contain at least 1 query.",
"required": true,
Expand Down Expand Up @@ -1803,11 +1810,6 @@
"type": "string",
"readOnly": true
},
"error": {
"description": "Reason for the failure to obtain data for this provider.",
"type": "string",
"readOnly": true
},
"geometryData": {
"description": "Geometry data in GeoJSON format. Please refer to [RFC 7946](https://tools.ietf.org/html/rfc7946) for details. Present only if \"error\" is not present.",
"$ref": "../../../Common/preview/1.0/common.json#/definitions/GeoJsonObject"
Expand Down Expand Up @@ -1963,7 +1965,7 @@
"$ref": "../../../Common/preview/1.0/common.json#/definitions/LatLongPairAbbreviated"
},
"viewport": {
"$ref": "#/definitions/Viewport"
"$ref": "#/definitions/BoundingBox"
},
"entryPoints": {
"description": "Array of EntryPoints. Those describe the types of entrances available at the location. The type can be \"main\" for main entrances such as a front door, or a lobby, and \"minor\", for side and back doors.",
Expand Down Expand Up @@ -2577,6 +2579,7 @@
]
},
"DataSources": {
"x-ms-client-name": "DataSource",
"description": "Optional section. Reference ids for use with the [Get Search Polygon](https://docs.microsoft.com/rest/api/maps/search/getsearchpolygon) API.",
"type": "object",
"readOnly": true,
Expand All @@ -2587,6 +2590,7 @@
}
},
"Geometry": {
"x-ms-client-name": "GeometryIdentifier",
"description": "Information about the geometric shape of the result. Only present if type == Geography.",
"type": "object",
"properties": {
Expand All @@ -2598,6 +2602,7 @@
}
},
"SearchAddressBatchProcessResult": {
"x-ms-client-name": "SearchAddressBatchResult",
"description": "This object is returned from a successful Search Address Batch service call.",
"type": "object",
"allOf": [
Expand Down