REST API 现已经过版本控制。 有关详细信息,请参阅“关于 API 版本控制”。
用户
使用 REST API 获取有关经过身份验证的用户的公共和私人信息。
- Users
- Get the authenticated user
- Update the authenticated user
- List users
- Get a user
- Get contextual information for a user
- Blocking
- List users blocked by the authenticated user
- Check if a user is blocked by the authenticated user
- Block a user
- Unblock a user
- Emails
- Set primary email visibility for the authenticated user
- List email addresses for the authenticated user
- Add an email address for the authenticated user
- Delete an email address for the authenticated user
- List public email addresses for the authenticated user
- Followers
- List followers of the authenticated user
- List the people the authenticated user follows
- Check if a person is followed by the authenticated user
- Follow a user
- Unfollow a user
- List followers of a user
- List the people a user follows
- Check if a user follows another user
- Gpg keys
- List GPG keys for the authenticated user
- Create a GPG key for the authenticated user
- Get a GPG key for the authenticated user
- Delete a GPG key for the authenticated user
- List GPG keys for a user
- Keys
- List public SSH keys for the authenticated user
- Create a public SSH key for the authenticated user
- Get a public SSH key for the authenticated user
- Delete a public SSH key for the authenticated user
- List public keys for a user
- Social accounts
- List social accounts for the authenticated user
- Add social accounts for the authenticated user
- Delete social accounts for the authenticated user
- List social accounts for a user
- Ssh signing keys