Skip to content
Try Gitea Cloud ☁️ for 30 days → Accelerate your Development & Deploys!
This is the documentation of 1.26.4, which is no longer the latest release. See the latest release.

Get list of all existing stopwatches

GET
/user/stopwatches
curl --request GET \
--url https://gitea.com/api/v1/user/stopwatches \
--header 'Authorization: Basic <credentials>'
page
integer

Page number of results to return (1-based)

limit
integer

Page size of results

StopWatchList

Media typeapplication/json
Array<object>

StopWatch represent a running stopwatch

object
created
string format: date-time
duration

Duration is a human-readable duration string

string
issue_index

IssueIndex is the index number of the associated issue

integer format: int64
issue_title

IssueTitle is the title of the associated issue

string
repo_name

RepoName is the name of the repository

string
repo_owner_name

RepoOwnerName is the name of the repository owner

string
seconds

Seconds is the total elapsed time in seconds

integer format: int64
Examplegenerated
[
{
"created": "2026-04-15T12:00:00Z",
"duration": "example",
"issue_index": 1,
"issue_title": "example",
"repo_name": "example",
"repo_owner_name": "example",
"seconds": 1
}
]