TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

API Improvement Proposals

85 pointsby bshanksalmost 4 years ago

6 comments

gravypodalmost 4 years ago
AIP is a great start but I hope people extend the ideas here a little more. A lot of this is centered around conventions that make sense to humans and to automated API generators (see Long Running Operations for an example of this).<p>I hope at some point someone builds more gRPC-specific API recommendations that includes streaming and ways to do a better bulk data transfers. (ex: stream-with-filters)<p>However, applying most of these proposals has improved APIs I&#x27;ve worked with and written.
评论 #27724401 未加载
评论 #27723337 未加载
teknopaulalmost 4 years ago
Rest is great, but. We have something similar where I work and it has done great things for API consistency. But the efficiency of resulting implementations is not good. We have no solution for simple task oriented apis like change-password. In these cases rest is fugly. I&#x27;m still looking for some good API guidelines for rpc that are not resource oriented and don&#x27;t accidentally result in hundreds of new methods.
评论 #27723627 未加载
the_arunalmost 4 years ago
We need similar guidelines for distributed Application Development (in the lines of OAM - <a href="https:&#x2F;&#x2F;oam.dev&#x2F;" rel="nofollow">https:&#x2F;&#x2F;oam.dev&#x2F;</a> or <a href="https:&#x2F;&#x2F;dapr.io" rel="nofollow">https:&#x2F;&#x2F;dapr.io</a>)
sillysaurusxalmost 4 years ago
Is it a mistake that their website &lt;title&gt; is &quot;AIP Improvement Proposals&quot;?
评论 #27726207 未加载
评论 #27725610 未加载
barnabaskalmost 4 years ago
Really looking forward to our AIP Project Implementation, or API.
seph-reedalmost 4 years ago
I&#x27;m a crazy person who doesn&#x27;t really use the &quot;standard&quot; functions for my APIs.<p>Instead I revolve around getIdAndFreshnessList(filter) and getItems(ids).<p>I&#x27;ve built tools to store items locally, and check if the id is cached and the date is fresh, and only request things that need updating.<p>I&#x27;m digging myself into a hole of being &quot;too different&quot; again. This is just another convention I&#x27;ll be judged negatively against.
评论 #27724799 未加载