v1
latestOpenAPI 3.0.22026-07-1741871.9 KBGet Task Status
Tracks the request from the task id provided by Raw Data API for the request
Args:
task_id ([type]): [Unique id provided on response from /snapshot/]
Returns:
id: Id of the task
status : SUCCESS / PENDING
result : Result of task
Successful task will have additional nested json inside
get/tasks/status/{task_id}/
Path parameters
{"stackTrail":"paths:/tasks/status/{task_id}/:get:parameters:0:schema","oasType":"schema","type":"unknown","title":"Task Id"}
Response
Successful Response
Example response
{
"id": "3fded368-456f-4ef4-a1b8-c099a7f77ca4",
"status": "SUCCESS",
"result": {
"download_url": "https://s3.us-east-1.amazonaws.com/exports-stage.hotosm.org/Raw_Export_3fded368-456f-4ef4-a1b8-c099a7f77ca4_GeoJSON.zip",
"file_name": "Raw_Export_3fded368-456f-4ef4-a1b8-c099a7f77ca4_GeoJSON",
"response_time": "0:00:12.175976",
"query_area": "6 Sq Km ",
"binded_file_size": "7 MB",
"zip_file_size_bytes": 1331601
}
}