-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Define API Discovery Format #35
Comments
Exploring Kubernetes I stumbled over their very promising format.
Navigate to the root of the Url and you receive a json endpoint document There is precious little information about this out there, but exploring /api yields the following Exploring /apis shows a similar structure but centered around API Groups Similarly, exploring /sawggerapi returns a top-line swagger definition of available APIs Exploring /api/vi1 returns a resource definition list Exploring /api/v1/endpoints returns the actual endpoint |
Here are some links I found, but little about the thoughts behind the API format https://thenewstack.io/taking-kubernetes-api-spin/ |
What really appeals to me is the notion of having an endpoint document at the root and the subsequent ability to introspect APIs |
@DonMartin76 - I would really like to explore the API discovery feature together with Wicked. Like in K8s I would like to be able to retrieve an endpoint document which gives me the UI and apis .. and then I can discover which API's are available and then can subsequently discover and retrieve the swagger definitions of those api. This would allow us to crawl our API Mgmt infrastructure and discover the various hosted API's and bring those together in an search engine ala apis.io or a portal (zarlando?!). Permissions and visibility are certainly two interesting topics we should discuss. |
There are stubs for these things in wicked, e.g. asking the portal for a JSON representation of the web page (almost) always works. The linking is not done to the last consequence yet, as I am not yet fully convinced this is the right way of doing it (tunneling the API via the portal). Examples:
Adopting a discovery format is certainly interesting, but how to proceed with protected resources is clearly an issue which needs to be discussed. |
dret [3:12 PM] if you're interested in teaming up, definitely let me know, @holger. i have started focusing a bit of energy into this space, and plan on spending quite a bit more. and being webby always is something that gets me excited! pretty much everybody asks about this, and interest seems to be picking up. there are various facets. |
Related to #26
General intro (primarily for public apis)
http://nordicapis.com/api-discovery-11-ways-to-find-apis/
Current approaches to API discovery:
https://github.com/zalando-incubator/api-discovery
https://github.com/apis-json/api-json
https://developers.google.com/discovery/v1/reference/
Service Documents for Discovery
https://bitworking.org/projects/atom/draft-ietf-atompub-protocol-14.html
https://github.com/hypoport/hal-service-document-consumer
See also comment train in #26 for more
The text was updated successfully, but these errors were encountered: