Skip to main content
GET
/
user
/
following
List who you are following
curl --request GET \
  --url https://gogs.example.com/api/v1/user/following \
  --header 'Authorization: <api-key>'
[
  {
    "id": 123,
    "username": "<string>",
    "login": "<string>",
    "full_name": "<string>",
    "email": "[email protected]",
    "avatar_url": "<string>"
  }
]

Authorizations

Authorization
string
header
required

Personal access token. Use format: token {YOUR_ACCESS_TOKEN}

Response

200 - application/json

Success

id
integer
username
string
login
string

Alias of username for GitHub API compatibility

full_name
string
email
string<email>
avatar_url
string