跳转到内容
Try Gitea Cloud ☁️ for 30 days → Accelerate your Development & Deploys!

Get a user's heatmap

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

Username of the user whose heatmap is to be obtained

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