3 ms·
Hm, not really sure what "public" means here? For example, YNAB's API is listed here, which allows a tool using the API to interact with one user's personal ac
by ThePadawan 5y ago
Hm, not really sure what "public" means here?
For example, YNAB's API is listed here, which allows a tool using the API to interact with one user's personal account at YNAB.
I'm not sure what part of that I would consider public apart from the documentation. Isn't that just "an API"?
- pseudoramble 5y agoAgreed, I was thrown off a bit too. I believe by public they mean published and advertised for public use. Often I believe API's aren't intended to be used by any users, so usage and whatnot isn't documented. The API's here appear to be available to anyone who can make an account.
- nonameiguess 5y agoPublic doesn't typically mean unauthenticated, but rather explicitly published for use by users and applications outside of the organization that created the API. Hopefully, this comes with some guarantee of documentation, stability, and backwards compatibility. A private API, in contrast, is intended only for use by other applications and services in the same organization as the API creator and makes no such guarantees that you will ever be warned when it is going to change, so if you figure out it exists, use it at your own risk. This is just the same distinction as private versus public function signatures in a library or a system service extended to remote services. The runtime may or may not use technical means to prevent you from using the private API, but whether or not you can do it, if you choose to, beware that it is to be considered an implementation detail and subject to change at any time without prior notice.