isa-group / SLA4OAI-ResearchSpecification

The goal of the SLA4OAI Specification is to promote an open specification for services level agreement over REST APIs which are defined via OpenAPI Specification.
https://sla4oai.specs.governify.io
Apache License 2.0
18 stars 1 forks source link

Potential items for review #3

Open MikeRalphson opened 5 years ago

MikeRalphson commented 5 years ago
MikeRalphson commented 5 years ago

Pinging @fmvilas from AsyncAPI and @IvanGoncharov from GraphQL-wg to see if they have input on making this type of document more widely applicable to different kinds of APIs. @kinlane I guess having an extension property in apis.json wouldn't be an issue?

fmvilas commented 5 years ago

Thanks for pinging me, @MikeRalphson. I'll try to find some time to properly review this spec.

PS: It feels incredibly great to see folks from Sevilla working on API specs, especially because I'm from Badajoz :)

IvanGoncharov commented 5 years ago

@MikeRalphson Was traveling to/from GraphQL Summit.

@IvanGoncharov from GraphQL-wg to see if they have input on making this type of document more widely applicable to different kinds of APIs

GraphQL is still used mostly for private APIs and there is only a handful of public APIs. So best practices for SLA is not defined yet at the same time they probably will be different from RESTfull apis.

For example, rate limiting based on the number of requests doesn't make sense for GraphQL since you can send one huge query so providers of GraphQL APIs trying to come with some new approaches like complexity analysis, credit-based limiting or query whitelisting.

So I think it's still too early to formalize SLA for GraphQL APIs and this should be done in ~2-3 years.

fmvilas commented 5 years ago

It's hard to say if this would be useful with messaging APIs. Right now, most of these APIs are internal, so I don't think people could be really interested in SLAs. I predict a raise of public messaging APIs in the next 5 to 10 years, but that's just a bet.

Another way of seeing it is that having an SLA spec might increase the number of people that think about it for messaging APIs. Definitely something to keep an eye on!

antgamdia commented 5 years ago

Thank you all so much for your interest in the SLA4OAI initiative. I've been fixing some typos and adding a full-text license for gh. The next actions will be discussed in the board with @pafmon in order to define a working roadmap. If anyone else is interested in collaborating with this project, ping me and we'll add you to the mailing list.