# Get year time spents **GET /data/persons/{person_id}/time-spents/year/{year}** Get aggregated time spents for given person and year. ## Servers - http://api.example.com: http://api.example.com () ## Authentication methods - Jwt authorization ## Parameters ### Path parameters - **person_id** (string(uuid)) Person unique identifier - **year** (integer) Year to get aggregated time spents for ## Responses ### 200 Aggregated time spents for given person and year #### Body: application/json (object) - **total_duration** (number(float)) Total duration in hours - **year** (integer) Year ### 400 Wrong date format [Powered by Bump.sh](https://bump.sh)