cURL
curl --request GET \ --url https://gogs.example.com/api/v1/user/following/{target} \ --header 'Authorization: <api-key>'
Personal access token. Use format: token {YOUR_ACCESS_TOKEN}
Target username
The user is being followed.