how do I best represent a many-to-many relationship with additional info in a REST API?

后端 未结 0 1654
傲寒
傲寒 2021-02-05 02:55

Lets say I have two resources, user and blog. These are each represented by their own API endpoints in typical REST fashion as :

api/users/
api/u

相关标签:
回答
  • 消灭零回复
提交回复
热议问题