Dida365/getFocusesByTimeRange

Dida365Dida365 Open API

GET/open/v1/focus

Get Focuses By Time Range

Returns focus records in the requested range. If the range exceeds 30 days, the server moves `from` to 30 days before `to`.

Use OAuth 2.0 to manage Dida365 projects, tasks, comments, tags, focus records, countdowns, habits, and check-ins.

Request

operationId
getFocusesByTimeRange
Server
https://api.dida365.com
Authentication
OAuth2

Request parameters

from

querystringdate-timerequired

Range start time

2026-04-01T00:00:00+0800

to

querystringdate-timerequired

Range end time

2026-04-02T00:00:00+0800

type

queryintegerint32required

Focus type: 0 Pomodoro, 1 Timing

0

Responses

200

OpenFocusapplication/json

Focus records

Properties: iduserIdtypetaskIdnotetasksstatusstartTimeendTimepauseDurationadjustTimeaddedcreatedTimemodifiedTimeetimestampetagdurationrelationType

401

unknown

Unauthorized

403

unknown

Forbidden

404

unknown

Not Found

[
  {
    "id": "focus-1",
    "userId": 0,
    "type": 0,
    "taskId": "task-1",
    "note": "Deep work",
    "tasks": [
      {
        "startTime": "2026-04-07T09:00:00+0800",
        "endTime": "2026-04-07T09:25:00+0800"
      }
    ],
    "status": 2,
    "startTime": "2026-04-07T09:00:00+0800"
  }
]