List public keys for a user
curl --request GET \
--url https://gogs.example.com/api/v1/users/{username}/keys \
--header 'Authorization: <api-key>'[
{
"id": 123,
"key": "<string>",
"url": "<string>",
"title": "<string>",
"created_at": "2023-11-07T05:31:56Z"
}
]Users
List public keys for a user
GET
/
users
/
{username}
/
keys
List public keys for a user
curl --request GET \
--url https://gogs.example.com/api/v1/users/{username}/keys \
--header 'Authorization: <api-key>'[
{
"id": 123,
"key": "<string>",
"url": "<string>",
"title": "<string>",
"created_at": "2023-11-07T05:31:56Z"
}
]