Skip to content

API 標頭

  • Content-Type: application/json
  • Accept: application/json
  • Authorization: Bearer <access_token>

Tech stacks

Services

關係

  • users

    • hasMany -> links -> hasMany -> highlights
    • hasMany -> notes
    • links -> hasMany -> notes
    • highlights -> hasMany -> notes
    • collections -> hasMany -> [links, highlights, notes]
  • 掛載功能

    • users -> [can] favorite, like, subscribe, follow, be followed
    • links -> [can] be favorited, be liked, be tagged, be collected
    • highlights -> [can] be favorited, be liked, be collected
    • notes -> [can] be favorited, be liked, be collected
    • collections -> [can] be favorited, be liked, be subscribed, be tagged
  • 全文搜尋

    • links -> [host, url, title, description]
    • highlights -> [content]
    • notes -> [content]
    • collections -> [name, description]