# Get Task

The get task enpoint is used to fetch data about the task with the id of :id.

# Endpoint

GET /tasks/:id

# Parameters

# Path

Name Type Description
id String The id of the task you want to fetch data about.

# Return

# Parameters

# Body

Name Type Description
statusCode Integer Http status code of the create operation.
message String Status message of the create operation.
body.item Task The task data

# Example

{
    "statusCode": 200,
    "message": "Operation successful",
    "body": {
        "item": {
            "id": "856f2922-c47b-47a5-9dcd-3ddd3304b937",
            "timeframe": 27270245,
            "userId": "{{your user id}}",
            "data": {
                "url": "https://jsonplaceholder.typicode.com/todos/1",
                "header": {},
                "body": "test",
                "method": "GET"
            },
            "systemStatus": "DONE",
            "createdAt": 1636214425930,
            "accuracy": "MINUTE",
            "completedAt": 1636214701723,
            "result": {
                "body": {
                    "userId": 1,
                    "id": 1,
                    "title": "delectus aut autem",
                    "completed": false
                },
                "header": {
                    "date": "Sat, 06 Nov 2021 16:05:01 GMT",
                    "content-type": "application/json; charset=utf-8",
                    "content-length": "83",
                    "connection": "close",
                    "x-powered-by": "Express",
                },
                "statusCode": 200,
                "statusText": "OK"
            }
        }
    }
}