TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Run discovery of hypermedia APIs

1 点作者 imjacobclark超过 8 年前
In terms of the discovery of hypermedia links in RESTful HATEOS APIs, can anybody provide any examples or information on how to implement such a dynamic traversal of documents in order for the client to &#x27;discover&#x27; where to go next.<p>Of-course it is easy for the developer to hardcode which parts of the JSON response is important in order to decipher where it should go next, but in order to keep that loose coupling, whats the best way to approach this?<p>It seems examples and documentation on this subject is a little sparse.

1 comment

brudgers超过 8 年前
I don&#x27;t really understand the question. An example outlining a successful use case might help.