Skip to content

Latest commit

 

History

History
73 lines (59 loc) · 1.9 KB

timeline.md

File metadata and controls

73 lines (59 loc) · 1.9 KB

用户信息

POST: https://api.aliyundrive.com/adrive/v1/timeline/user/get

{ "user_id": "9400000000bc480bbcbbb1e074f55a7f" }

Response:

{
  "description": "",
  "avatar": "https://ccp-bj29-bj-1592982087.oss-cn-beijing.aliyuncs.com/2GhCur3G%2F...",
  "user_id": "9400000000bc480bbcbbb1e074f55a7f",
  "nick_name": "myname",
  "phone": "151***111",
  "is_following": false,
  "follower_count": 0,
  "homepage_visibility": 1,
  "latest_messages": [],
  "homepage_visible_time_range_text": "三个月",
  "homepage_visible_time_range_in_millis": 7776000000
}

用户发布的动态

POST: https://api.aliyundrive.com/adrive/v1/timeline/homepage/list_message

{ "order_direction": "DESC", "user_id": "9400000000bc480bbcbbb1e074f55a7f", "limit": 10 }

Response:

{ "items": [], "pin_items": [] }

推荐订阅

POST: https://api.aliyundrive.com/adrive/v1/timeline/user/recommend

{ "user_id": "9400000000bc480bbcbbb1e074f55a7f", "limit": 20, "order_by": "updated_at", "order_direction": "DESC" }

Response:

{
  "items": [
    {
      "description": "Hi~小可爱!感恩关注~盘盘酱会不定时发放福利哦!让盘酱陪伴你更久✧( •˓◞•̀ )  ",
      "avatar": "https://ccp-bj29-bj-1592982087.oss-cn-beijing.aliyuncs.com/2GhCur3G%2F...",
      "user_id": "9400000000bc480bbcbbb1e074f55a7f",
      "nick_name": "阿里盘盘酱",
      "phone": "131***325",
      "is_following": true
    },
    {
      "description": "中国国家地理景观官方账号,带你领略目酣神醉的壮美景观、发现中国各地独具特色的人文胜迹。",
      "avatar": "https://ccp-bj29-bj-1592982087.oss-cn-beijing.aliyuncs.com/2GhCur3G%2F...",
      "user_id": "9400000000bc480bbcbbb1e074f55a7f",
      "nick_name": "中国国家地理景观",
      "phone": "136***902",
      "is_following": true
    }
  ],
  "next_marker": "MjA="
}