跳转到内容
Try Gitea Cloud ☁️ for 30 days → Accelerate your Development & Deploys!
Support
This is the documentation of 22.6.1, which is no longer the latest release. See the latest release.

Get a user's heatmap

GET
/users/{username}/heatmap
curl --request GET \
--url https://gitea.example.com/api/v1/users/example/heatmap \
--header 'Authorization: Basic <credentials>'
username
required
string

Username of user to get

UserHeatmapData

Media typeapplication/json
Array<object>

UserHeatmapData represents the data needed to create a heatmap

object
contributions
integer format: int64
timestamp

TimeStamp defines a timestamp

integer format: int64
Examplegenerated
[
{
"contributions": 1,
"timestamp": 1
}
]

APINotFound is a not found empty response

Media typeapplication/json