Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

follow 接口支持 update attributes #574

Open
nicecui opened this issue Aug 16, 2019 · 0 comments
Open

follow 接口支持 update attributes #574

nicecui opened this issue Aug 16, 2019 · 0 comments

Comments

@nicecui
Copy link

nicecui commented Aug 16, 2019

详见:https://leancloud.atlassian.net/wiki/spaces/PROD/pages/818577422

curl -X PUT \
  -H "X-LC-Id: GDBz24d615WLO5e3OM3QFOaV-gzGzoHsz" \
  -H "X-LC-Key: dlCDCOvzMnkXdh2czvlbu3Pk" \
  -H "Content-Type: application/json" \
  -d '{"group": "theBestFriend"}' \
  https://gdbz24d6.api.lncld.net/1.1/users/:user_id/friendship/:target_id

:user_id 表示做更新动作的用户。如果设置了 X-LC-Session 头,则 self 表示当前登录用户。
:target_id 表示目标用户。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant