Skip to main content
GET
/
users
/
{username}
/
following
/
{target}
Check if a user follows another
curl --request GET \
  --url https://gogs.example.com/api/v1/users/{username}/following/{target} \
  --header 'Authorization: <api-key>'

Authorizations

Authorization
string
header
required

Personal access token. Use format: token {YOUR_ACCESS_TOKEN}

Path Parameters

username
string
required

Username

target
string
required

Target username

Response

The user is being followed.