ASIMOB REST API

This is the ASIMOB web platform API. Find out more about ASIMOB at http://asimob.es.
Contact Info: benat.lopez@asimob.es
Version: 1.0.1
BasePath:/api
All rights reserved

Access

Methods

[ Jump to Models ]

Table of Contents

Information

Information

Up
get /irregularities/{dateIni}/{dateEnd}
Get visually detected irregularities data between dates (findCracksBetweenDates)
Initial and final date must be provided

Path parameters

dateIni (required)
Path Parameter — Initial date
dateEnd (required)
Path Parameter — End date

Return type

array[Irregularity]

Example data

Content-Type: application/json
{}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

successful operation

400

Invalid status value

Up
get /risky_points/{dateIni}/{dateEnd}
Get sensor detected risky points between dates (findPotholesBetweenDates)
Initial and final date must be provided

Path parameters

dateIni (required)
Path Parameter — Initial date
dateEnd (required)
Path Parameter — End date

Return type

array[RiskyPoint]

Example data

Content-Type: application/json
{}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

successful operation

400

Invalid status value

Up
get /road_signs/{dateIni}/{dateEnd}
Get visually detected road signs between dates (findRoadSignsBetweenDates)
Initial and final date must be provided

Path parameters

dateIni (required)
Path Parameter — Initial date
dateEnd (required)
Path Parameter — End date

Return type

array[RoadSign]

Example data

Content-Type: application/json
{}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

successful operation

400

Invalid status value

Up
get /horizontal_road_signs/{dateIni}/{dateEnd}
Get visually detected horizontal road signs between dates (findHorizontalRoadSignsBetweenDates)
Initial and final date must be provided

Path parameters

dateIni (required)
Path Parameter — The starting date for the query. Format — Expected format: yyyy-mm-dd hh:mm:ss
dateEnd (required)
Path Parameter — The ending date for the query. Format — Expected format: yyyy-mm-dd hh:mm:ss
pageNumber (required)
Path Parameter — The page number to retrieve from the results.

Return type

array[RoadSign]

Example data

Content-Type: application/json
{}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

successful operation

400

Invalid status value

Up
get /vertical_road_signs/{dateIni}/{dateEnd}
Get visually detected vertical road signs between dates (findVerticalRoadSignsBetweenDates)
Initial and final date must be provided

Path parameters

dateIni (required)
Path Parameter — The starting date for the query. Format — Expected format: yyyy-mm-dd hh:mm:ss
dateEnd (required)
Path Parameter — The ending date for the query. Format — Expected format: yyyy-mm-dd hh:mm:ss
pageNumber (required)
Path Parameter — The page number to retrieve from the results.

Return type

array[RoadSign]

Example data

Content-Type: application/json
{}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

successful operation

400

Invalid status value

Up
get /barriers/{dateIni}/{dateEnd}
Get visually detected road safety barriers between dates (findBarriersBetweenDates)
Initial and final date must be provided

Path parameters

dateIni (required)
Path Parameter — Initial date
dateEnd (required)
Path Parameter — End date

Return type

array[Barrier]

Example data

Content-Type: application/json
{}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

successful operation

400

Invalid status value

Up
get /road_lines/{dateIni}/{dateEnd}
Get visually detected road safety barriers between dates (findRoadLinesBetweenDates)
Initial and final date must be provided

Path parameters

dateIni (required)
Path Parameter — Initial date
dateEnd (required)
Path Parameter — Initial date

Return type

array[RoadLine]

Example data

Content-Type: application/json
{}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

successful operation

400

Invalid status value

Models

[ Jump to Methods ]

Table of Contents

  1. Irregularity -
  2. RiskyPoint -
  3. RoadSign -
  4. Barrier -
  5. RoadLine -

Irregularity - Up

id
Long format: int64
typeName
example: Alligator
intensity
example: 5.34
date
example: 1.649653249E12
lat
example: 45.69802673936059
lon
example: -2.2940976016790895
road_name
example: A1
kilometer
Long format: int64
meter
Long format: int64
azimuth
example: 90.0
length
example: 2.0
area
example: 3.0
width
example: 6.0
lane_p
example: 0.33

RiskyPoint - Up

id
Long format: int64
intensity
example: 5.34
date
example: 1.649653249E12
lat
example: 45.69802673936059
lon
example: -2.2940976016790895

RoadSign - Up

id
Long format: int64
lat
example: 45.69802673936059
lon
example: -2.2940976016790895
date
example: 1.649653249E12
state
Integer format: int8
example: 0
dateStr
example: 2022-04-11 05:00:49
typeCode
example: R-301-30
groupCode
Long format: int64
example: 1001

Barrier - Up

id
Long format: int64
typeName
example: NJ
date
example: 1.649653249E12
ini_lat
example: 45.69802673936059
ini_lon
example: -2.2940976016790895
end_lat
example: 45.69802673936059
end_lng
example: -2.2940976016790895

RoadLine - Up

id
Long format: int64
typeName
example: CONTINUOUS WHITE LINE
date
example: 1.649653249E12
ini_lat
example: 45.69802673936059
ini_lon
example: -2.2940976016790895
end_lat
example: 45.69802673936059
end_lng
example: -2.2940976016790895
quality
example: 95.32