Retrieve traffic signs restricted to the predefined area of the user

POST {{baseUrl}}/trafficsigns?page=<integer>&size=<integer>

This endpoint returns a set of traffic signs restricted to the predefined area of the user. The traffic signs data is returned in a paged response. If there are no traffic signs in the defined area, an empty list is returned. Note that missing fields in individual traffic sign data are returned as null values. To additionally limit the returned data, a GeoJSON polygon or multi-polygon can be defined as geolocation filter. The GeoJSON filter geometry is defined in the request body. The provided geometry is validated, e.g., it must be a valid GeoJSON polygon or multi-polygon with valid coordinate values. Also, requests containing too complex geometries are rejected for performance reasons. Besides the GeoJSON filter, the traffic signs data can also be filtered by the lonely sign, the confidence, the permanency, and the type of the traffic sign. If more than one filter is provided, the filters are combined with a logical AND.

Request Params

KeyDatatypeRequiredDescription
pagestringThe page number used for the pagination
sizestringThe size of the response page used for the pagination. If the requested page size exceeds the maximum allowed page size, a validation error is returned.

Request Body

{"geoJson"=>{"type"=>"Polygon", "coordinates"=>[[["<number>", "<number>"], ["<number>", "<number>"], ["<number>", "<number>"], ["<number>", "<number>"]], [["<number>", "<number>"], ["<number>", "<number>"], ["<number>", "<number>"], ["<number>", "<number>"]]], "bbox"=>["<number>", "<number>", "<number>", "<number>"]}, "lonelySign"=>"<boolean>", "minConfidence"=>"<float>", "permanency"=>"<string>", "type"=>"<string>"}

HEADERS

KeyDatatypeRequiredDescription
x-tracking-idstringthe request tracking ID
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;trafficSigns&quot;:[{&quot;id&quot;:&quot;\u003cuuid\u003e&quot;,&quot;latitude&quot;:&quot;\u003cfloat\u003e&quot;,&quot;longitude&quot;:&quot;\u003cfloat\u003e&quot;,&quot;heading&quot;:&quot;\u003cinteger\u003e&quot;,&quot;confidence&quot;:&quot;\u003cfloat\u003e&quot;,&quot;permanency&quot;:&quot;DYNAMIC&quot;,&quot;signValue&quot;:&quot;110&quot;,&quot;timestamp&quot;:&quot;\u003clong\u003e&quot;,&quot;type&quot;:&quot;MOTORWAY_START&quot;,&quot;lonelySign&quot;:&quot;\u003cboolean\u003e&quot;},{&quot;id&quot;:&quot;\u003cuuid\u003e&quot;,&quot;latitude&quot;:&quot;\u003cfloat\u003e&quot;,&quot;longitude&quot;:&quot;\u003cfloat\u003e&quot;,&quot;heading&quot;:&quot;\u003cinteger\u003e&quot;,&quot;confidence&quot;:&quot;\u003cfloat\u003e&quot;,&quot;permanency&quot;:&quot;VARIABLE&quot;,&quot;signValue&quot;:&quot;110&quot;,&quot;timestamp&quot;:&quot;\u003clong\u003e&quot;,&quot;type&quot;:&quot;NO_OVERTAKING_TRUCKS_END&quot;,&quot;lonelySign&quot;:&quot;\u003cboolean\u003e&quot;}],&quot;page&quot;:{&quot;size&quot;:&quot;\u003cinteger\u003e&quot;,&quot;number&quot;:&quot;\u003cinteger\u003e&quot;,&quot;totalPages&quot;:&quot;\u003cinteger\u003e&quot;,&quot;totalElements&quot;:&quot;\u003clong\u003e&quot;}}