Settings

Theme

Searching for a Well Designed API

1 points by willx86 a month ago · 5 comments · 1 min read


Hihi I'm looking for an example of a well designed api that's a small scope, a lot of places I've tried to learn from are such monoliths that where to start is daunting

Preferrably an open source project

I'd prefer: REST/gRPC/ contained and hopefully not something huge Go/Rust/Python/js-ts ( in that order!!)

Apologies if this is the wrong place to ask! Thank you

austin-cheney a month ago

I manage 40% of a major enterprise API effort for the government. At work we use RAML to design and specify our APIs and they are all REST. The actual API requirements come from existing data systems or external teams.

For my personal software I design all my APIs as JSON objects, using TypeScript interfaces for their definitions, and I associate those objects to a service name. So data will look like a parent object with properties data and service where data is the defined JSON payload and service is the name of that data schema. This allows me to use a WebSocket connection for all my various services and it’s so much faster.

Leftium a month ago

This was shared on HN over a decade ago, but still stands the test of time: http://ciar.org/ttk/public/apigee.web_api.pdf

willx86OP a month ago

This is primarily to try and learn from, I should've made this a bit clearer.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection