RESTful API design: best way to CRUD lightweight connections?
问题 (Pardon the question title; hard to summarize this question.) On Facebook, you like things. On Twitter, you follow people. On GitHub, you also follow people and star repos and gists. All of these cases are pretty similar: those connections are lightweight, not really "resources" themselves. E.g. none of those three APIs expose public IDs for such connections. This raises the question: what's the "best" (in terms of REST) way to expose an API for creating/querying/deleting those connections?