「Oschina」- 相关内容记录

https://www.oschina.net/openapi

接口:动弹(发布、列表、详情、删除)

发送动弹

https://www.oschina.net/openapi/docs/tweet_pub

curl -XPOST \
    --header 'User-Agent: JenkinsHttpRequest/7.66.0' \
    --header "Content-type: application/x-www-form-urlencoded; charset=utf-8" \
    --data "access_token=c35a4ee3-be09-460e-9489-fce034a4099f" --data "msg=美好的周末已经过去一半了" \
    https://www.oschina.net/action/openapi/tweet_pub

动弹列表

https://www.oschina.net/openapi/docs/tweet_list

curl -XPOST \
    --header 'User-Agent: JenkinsHttpRequest/7.66.0' \
    --header "Content-type: application/x-www-form-urlencoded; charset=utf-8" \
    --data "access_token=ca22285e-8c48-4590-a51b-cdca2fb5668a" \
    --data "user=0" \
    https://www.oschina.net/action/openapi/tweet_list