{ "opencollection": "1.0.0", "info": { "name": "Microsoft Azure AccessControlClient AccessConnector Traffic API", "version": "2020-08-01-preview" }, "items": [ { "info": { "name": "Traffic", "type": "folder" }, "items": [ { "info": { "name": "Microsoft Azure Get Traffic Flow Tile Format", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/traffic/flow/tile/:format", "headers": [ { "name": "x-ms-client-id", "value": "" } ], "params": [ { "name": "subscription-key", "value": "", "type": "query", "description": "One of the Azure Maps keys provided from an Azure Map Account. Please refer to this [article](https://docs.microsoft.com/azure/azure-maps/how-to-manage-authentication) for details on how to manage authentication." }, { "name": "api-version", "value": "", "type": "query", "description": "Version number of Azure Maps API. Current version is 1.0" }, { "name": "format", "value": "", "type": "path", "description": "Desired format of the response. Possible values are png & pbf." }, { "name": "style", "value": "", "type": "query", "description": "

The style to be used to render the tile.

" }, { "name": "zoom", "value": "", "type": "query", "description": "Zoom level for the desired tile. For _raster_ tiles, value must be in the range: 0-22 (inclusive). For _vector_ tiles, value must be in the range: 0-22 (inclusive).\nPlease see [Zoom Levels and Tile Grid](https://docs.microsoft.com/en-us/azure/location-based-services/zoom-levels-and-tile-grid) for details." }, { "name": "x", "value": "", "type": "query", "description": "X coordinate of the tile on zoom grid. Value must be in the range [0, 2`zoom` -1].\n\nPlease see [Zoom Levels and Tile Grid](https://docs.microsoft.com/en-us/azure/location-based-services/zoom-levels-and-tile-grid) for details." }, { "name": "y", "value": "", "type": "query", "description": "Y coordinate of the tile on zoom grid. Value must be in the range [0, 2`zoom` -1].\n\nPlease see [Zoom Levels and Tile Grid](https://docs.microsoft.com/en-us/azure/location-based-services/zoom-levels-and-tile-grid) for details." }, { "name": "thickness", "value": "", "type": "query", "description": "The value of the width of the line representing traffic. This value is a multiplier and the accepted values range from 1 - 20. The default value is 10. This parameter is not valid when format is pbf." } ] }, "docs": "__Traffic Flow Tile__


**Applies to**: S0 and S1 pricing tiers.

The Azure Flow Tile API serves 256 x 256 pixel tiles showing traffic flow. All tiles use the same grid system. Because the traffic tiles use transparent images, they can be layered on top of map tiles to create a compound display. The Flow tiles use colors to indicate either the speed of traffic on different road segments, or the difference between that speed and the free-flow speed on the road segment in question." }, { "info": { "name": "Microsoft Azure Get Traffic Flow Segment Format", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/traffic/flow/segment/:format", "headers": [ { "name": "x-ms-client-id", "value": "" } ], "params": [ { "name": "subscription-key", "value": "", "type": "query", "description": "One of the Azure Maps keys provided from an Azure Map Account. Please refer to this [article](https://docs.microsoft.com/azure/azure-maps/how-to-manage-authentication) for details on how to manage authentication." }, { "name": "api-version", "value": "", "type": "query", "description": "Version number of Azure Maps API. Current version is 1.0" }, { "name": "format", "value": "", "type": "path", "description": "Desired format of the response. Value can be either _json_ or _xml_." }, { "name": "style", "value": "", "type": "query", "description": "The style to be used to render the tile. Valid values are absolute which returns colors reflecting the absolute speed measured, relative which returns the speed relative to free-flow, Relative-delay which displays relative speeds only where they are different from the freeflow speeds" }, { "name": "zoom", "value": "", "type": "query", "description": "Zoom level for the desired tile. Zoom value must be in the range: 0-22 (inclusive).\nPlease see [Zoom Levels and Tile Grid](https://docs.microsoft.com/en-us/azure/location-based-services/zoom-levels-and-tile-grid) for details." }, { "name": "query", "value": "", "type": "query", "description": "Coordinates of the point close to the road segment. They have to be comma-separated and calculated using EPSG4326 projection." }, { "name": "unit", "value": "", "type": "query", "description": "Unit of speed in KMPH or MPH" }, { "name": "thickness", "value": "", "type": "query", "description": "The value of the width of the line representing traffic. This value is a multiplier and the accepted values range from 1 - 20. The default value is 10." }, { "name": "openLr", "value": "", "type": "query", "description": "Boolean on whether the response should include OpenLR code" } ] }, "docs": "__Traffic Flow Segment__


**Applies to**: S0 and S1 pricing tiers.

This service provides information about the speeds and travel times of the road fragment closest to the given coordinates. It is designed to work alongside the Flow layer of the Render Service to support clickable flow data visualizations. With this API, the client side can connect any place in the map with flow data on the closest road and present it to the user." }, { "info": { "name": "Microsoft Azure Get Traffic Incident Tile Format", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/traffic/incident/tile/:format", "headers": [ { "name": "x-ms-client-id", "value": "" } ], "params": [ { "name": "subscription-key", "value": "", "type": "query", "description": "One of the Azure Maps keys provided from an Azure Map Account. Please refer to this [article](https://docs.microsoft.com/azure/azure-maps/how-to-manage-authentication) for details on how to manage authentication." }, { "name": "api-version", "value": "", "type": "query", "description": "Version number of Azure Maps API. Current version is 1.0" }, { "name": "format", "value": "", "type": "path", "description": "Desired format of the response. Possible values are png & pbf." }, { "name": "style", "value": "", "type": "query", "description": "The style to be used to render the tile. This parameter is not valid when format is pbf." }, { "name": "zoom", "value": "", "type": "query", "description": "Zoom level for the desired tile. For _raster_ tiles, value must be in the range: 0-22 (inclusive). For _vector_ tiles, value must be in the range: 0-22 (inclusive).\nPlease see [Zoom Levels and Tile Grid](https://docs.microsoft.com/en-us/azure/location-based-services/zoom-levels-and-tile-grid) for details." }, { "name": "x", "value": "", "type": "query", "description": "X coordinate of the tile on zoom grid. Value must be in the range [0, 2`zoom` -1].\n\nPlease see [Zoom Levels and Tile Grid](https://docs.microsoft.com/en-us/azure/location-based-services/zoom-levels-and-tile-grid) for details." }, { "name": "y", "value": "", "type": "query", "description": "Y coordinate of the tile on zoom grid. Value must be in the range [0, 2`zoom` -1].\n\nPlease see [Zoom Levels and Tile Grid](https://docs.microsoft.com/en-us/azure/location-based-services/zoom-levels-and-tile-grid) for details." }, { "name": "t", "value": "", "type": "query", "description": "Reference value for the state of traffic at a particular time, obtained from the Viewport API call, trafficModelId attribute in trafficState field. It is updated every minute, and is valid for two minutes before it times out. Use -1 to get the most recent traffic information. Default: most recent traffic information." } ] }, "docs": "__Traffic Incident Tile__


**Applies to**: S0 and S1 pricing tiers.

This service serves 256 x 256 pixel tiles showing traffic incidents. All tiles use the same grid system. Because the traffic tiles use transparent images, they can be layered on top of map tiles to create a compound display. Traffic tiles render graphics to indicate traffic on the roads in the specified area." }, { "info": { "name": "Microsoft Azure Get Traffic Incident Detail Format", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/traffic/incident/detail/:format", "headers": [ { "name": "x-ms-client-id", "value": "" } ], "params": [ { "name": "subscription-key", "value": "", "type": "query", "description": "One of the Azure Maps keys provided from an Azure Map Account. Please refer to this [article](https://docs.microsoft.com/azure/azure-maps/how-to-manage-authentication) for details on how to manage authentication." }, { "name": "api-version", "value": "", "type": "query", "description": "Version number of Azure Maps API. Current version is 1.0" }, { "name": "format", "value": "", "type": "path", "description": "Desired format of the response. Value can be either _json_ or _xml_." }, { "name": "style", "value": "", "type": "query", "description": "The style that will be used to render the tile in Traffic [Incident Tile API](https://docs.microsoft.com/en-us/rest/api/maps/traffic/gettrafficincidenttile). This will have an effect on the coordinates of traffic incidents in the reply." }, { "name": "boundingbox", "value": "", "type": "query", "description": "The `boundingbox` is represented by two value pairs describing it's corners (first pair for lower left corner and second for upper right). The pairs can either be specified using any of the `projection`'s specified below (e.g., _minY,minX,maxY,maxX_) or by two latitude-longitude pairs (e.g., _minLat,minLon,maxLat,maxLon_).

NOTE: If latitude/longitude pairs are used, then the `projection` parameter must be set to \"EPSG4326\"." }, { "name": "boundingZoom", "value": "", "type": "query", "description": "Zoom level for desired tile. 0 to 22 for raster tiles, 0 through 22 for vector tiles" }, { "name": "trafficmodelid", "value": "", "type": "query", "description": "Number referencing traffic model. This can be obtained from the [Viewport API](https://docs.microsoft.com/en-us/rest/api/maps/traffic/gettrafficincidentviewport). It is updated every minute, and is valid for two minutes before it times out. If the wrong Traffic Model ID is specified, the correct one will be returned by the interface. A value of -1 will always invoke the most recent traffic model" }, { "name": "language", "value": "", "type": "query", "description": "[ISO 639-1 code](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) for the output language. Supported languages are ar, ca, cs, da, de, el, en, en-GB, en-US, es, et, fi, fr, he, hu, id, in*, it, lt, lv, nb, nl, no, pl, pt, ro, ru, sk, sv, th, tr, zh.\n\nPlease refer to [Supported Languages](https://docs.microsoft.com/en-us/azure/azure-maps/supported-languages) for details. When invalid language code is provided response is returned in English. When incident cause or description does not have translation, English description is returned." }, { "name": "projection", "value": "", "type": "query", "description": "The projection used to specify the coordinates in the request and response. [EPSG900913](http://docs.openlayers.org/library/spherical_mercator.html) (default) or [EPSG4326](http://spatialreference.org/ref/epsg/4326/)" }, { "name": "geometries", "value": "", "type": "query", "description": "The type of vector geometry added to incidents (returned in the element of the response)." }, { "name": "expandCluster", "value": "", "type": "query", "description": "Boolean to indicate whether to list all traffic incidents in a cluster separately" }, { "name": "originalPosition", "value": "", "type": "query", "description": "Boolean on whether to return the original position of the incident () as well as the one shifted to the beginning of the traffic tube ()" } ] }, "docs": "__Traffic Incident Detail__



**Applies to**: S0 and S1 pricing tiers.

This API provides information on traffic incidents inside a given bounding box, based on the current Traffic Model ID. The Traffic Model ID is available to grant synchronization of data between calls and API's. The Traffic Model ID is a key value for determining the currency of traffic incidents. It is updated every minute, and is valid for two minutes before it times out. It is used in rendering [inc" }, { "info": { "name": "Microsoft Azure Get Traffic Incident Viewport Format", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/traffic/incident/viewport/:format", "headers": [ { "name": "x-ms-client-id", "value": "" } ], "params": [ { "name": "subscription-key", "value": "", "type": "query", "description": "One of the Azure Maps keys provided from an Azure Map Account. Please refer to this [article](https://docs.microsoft.com/azure/azure-maps/how-to-manage-authentication) for details on how to manage authentication." }, { "name": "api-version", "value": "", "type": "query", "description": "Version number of Azure Maps API. Current version is 1.0" }, { "name": "format", "value": "", "type": "path", "description": "Desired format of the response. Value can be either _json_ or _xml_." }, { "name": "boundingbox", "value": "", "type": "query", "description": "Bounding box of the map viewport in [EPSG900913](http://docs.openlayers.org/library/spherical_mercator.html) projection. The `boundingbox` is represented by two value pairs describing it's corners (first pair for lower left corner and second for upper right). All values should be separated by commas (e.g., _minY,minX,maxY,maxX_). The maximum size of the bounding box that can be passed is dependent on the requested zoom level. The width and height cannot exceed 4092 pixels when rendered on the given zoom level.

NOTE: Bounding boxes that cross the 180° meridian require special treatment. For such boxes, the eastern _maxX_ value will be negative, and thus less than the _minX_ value west of the 180° meridian. To address that, the value 40075016.6855874 should be added to the true _maxX_ value before it is passed in the request." }, { "name": "boundingzoom", "value": "", "type": "query", "description": "Zoom level of the map viewport. Used to determine whether the view can be zoomed in." }, { "name": "overviewbox", "value": "", "type": "query", "description": "Bounding box of the overview map in [EPSG900913](http://docs.openlayers.org/library/spherical_mercator.html) projection.

Used in case the overview box/mini map has different copyright data than the main map. If there is no mini map, the same coordinates as `boundingBox` is used." }, { "name": "overviewzoom", "value": "", "type": "query", "description": "Zoom level of the overview map. If there is no mini map, use the same zoom level as boundingZoom." }, { "name": "copyright", "value": "", "type": "query", "description": "Determines what copyright information to return. When true the copyright text is returned; when false only the copyright index is returned." } ] }, "docs": "__Traffic Incident Viewport__


**Applies to**: S0 and S1 pricing tiers.

This API returns legal and technical information for the viewport described in the request. It should be called by client applications whenever the viewport changes (for instance, through zooming, panning, going to a location, or displaying a route). The request should contain the bounding box and zoom level of the viewport whose information is needed. The return will contain map version information, as w" } ] } ], "bundled": true }