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

Follow a user

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

Username of the user to follow

APIEmpty is an empty response

Media typeapplication/json

APIForbiddenError is a forbidden error response

Media typeapplication/json
message
string
url
string

APINotFound is a not found empty response

Media typeapplication/json