menu MDClub API ๆ–‡ๆกฃ

Article:addFollow

ๆณจๆ„๏ผš่ฏฅๆŽฅๅฃ้œ€่ฆ็™ป้™†ๅŽๆ‰่ƒฝ่ฐƒ็”จใ€‚

ๆทปๅŠ ๅ…ณๆณจใ€‚

HTTP ่ฏทๆฑ‚

POST /api/articles/{article_id}/followers

ๅ‚ๆ•ฐ

ๅ‚ๆ•ฐๅ ๅ‚ๆ•ฐไฝ็ฝฎ ็ฑปๅž‹ ้ป˜่ฎคๅ€ผ ่ฏดๆ˜Ž
article_id path integer

ๆ–‡็ซ ID

ๅ“ๅบ”

ๅ…ณๆณจ่€…ๆ•ฐ้‡

็คบไพ‹

{
  "code": 0,
  "data": {
    "follower_count": 112
  }
}

ๅ‚ๆ•ฐ่ฏดๆ˜Ž

ๅ‚ๆ•ฐๅ ็ฑปๅž‹ ่ฏดๆ˜Ž
code integer

ๆ— ไปปไฝ•้”™่ฏฏๆ—ถ๏ผŒ็Šถๆ€็ ไธบ 0

data.follower_count integer

ๅ…ณๆณจ่€…ๆ•ฐ้‡