eupolicy.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
This Mastodon server is a friendly and respectful discussion space for people working in areas related to EU policy. When you request to create an account, please tell us something about you.

Server stats:

205
active users

#apidesign

0 posts0 participants0 posts today
:mastodon: Mike Amundsen<p>Guiding Principles of Great Web APIs <a href="https://buff.ly/0ZYymKZ" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">buff.ly/0ZYymKZ</span><span class="invisible"></span></a></p><p>here's the slide deck for my <a href="https://mastodon.social/tags/BSDC2025" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>BSDC2025</span></a> talk. a great event in a beautiful part of the US.</p><p><a href="https://mastodon.social/tags/api360" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>api360</span></a> <a href="https://mastodon.social/tags/apiDesign" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>apiDesign</span></a></p>
developer.overheid.nl<p>🗒️ Pssst. Kennen jullie onze API Design Rules Cheat Sheet al? </p><p><a href="https://developer.overheid.nl/kennisbank/apis/api-design-rules/cheat-sheet" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">developer.overheid.nl/kennisba</span><span class="invisible">nk/apis/api-design-rules/cheat-sheet</span></a></p><p>📌 Het geeft je een overzicht met de belangrijkste technische regels en best practices om te gebruiken tijdens het ontwerpen van een API middels een Open API Specification.</p><p><a href="https://social.overheid.nl/tags/apidesignrules" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>apidesignrules</span></a> <a href="https://social.overheid.nl/tags/oas" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>oas</span></a> <a href="https://social.overheid.nl/tags/apidesign" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>apidesign</span></a></p>
Miguel Afonso Caetano<p>"Traditional approaches to rate limiting APIs won’t work effectively for AI agent consumers, so some API providers have shifted to adaptive rate limiting (ARL). For example, DeepSeek employs a more dynamic and adaptive approach to rate limiting its API compared to other LLM API providers currently.</p><p>The concept of adaptive rate limiting isn’t new, but it’s evolving to address new API usage scenarios that include AI agents. Modern ARL involves a set of principles, tools, and techniques that allow systems to adjust rate limits dynamically based on context and real-time insights. It includes a combination of approaches:"</p><p><a href="https://nordicapis.com/how-ai-agents-are-changing-api-rate-limit-approaches/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">nordicapis.com/how-ai-agents-a</span><span class="invisible">re-changing-api-rate-limit-approaches/</span></a></p><p><a href="https://tldr.nettime.org/tags/AI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AI</span></a> <a href="https://tldr.nettime.org/tags/AIBots" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AIBots</span></a> <a href="https://tldr.nettime.org/tags/ARL" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ARL</span></a> <a href="https://tldr.nettime.org/tags/RateLimits" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RateLimits</span></a> <a href="https://tldr.nettime.org/tags/AIAgents" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AIAgents</span></a> <a href="https://tldr.nettime.org/tags/APIs" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>APIs</span></a> <a href="https://tldr.nettime.org/tags/APIDesign" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>APIDesign</span></a></p>
Sebastian Hans<p>New blog post: Endless possibilities (a socio-technical API pattern) - in which I describe what unchecked API growth can look like.<br>(Another one for you, <span class="h-card" translate="no"><a href="https://mastodon.social/@einarwh" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>einarwh</span></a></span>) </p><p><a href="https://sebastian-hans.de/blog/endless-possibilities/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">sebastian-hans.de/blog/endless</span><span class="invisible">-possibilities/</span></a></p><p><a href="https://hachyderm.io/tags/softwareengineering" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>softwareengineering</span></a> <a href="https://hachyderm.io/tags/API" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>API</span></a> <a href="https://hachyderm.io/tags/sociotechnical" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>sociotechnical</span></a> <a href="https://hachyderm.io/tags/APIdesign" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>APIdesign</span></a></p>
Lukas R.<p>You should configure <a href="https://indieweb.social/tags/HTTP" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HTTP</span></a> <a href="https://indieweb.social/tags/caching" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>caching</span></a> for your <a href="https://indieweb.social/tags/API" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>API</span></a>, so you can reduce the number of requests, which increases performance and reduces resource usage. <span class="h-card" translate="no"><a href="https://mastodon.green/@Philsturgeon" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>Philsturgeon</span></a></span> argues that designing for cacheability should be an integral part of <a href="https://indieweb.social/tags/APIDesign" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>APIDesign</span></a>: <a href="https://apisyouwonthate.com/blog/api-design-basics-cacheability/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">apisyouwonthate.com/blog/api-d</span><span class="invisible">esign-basics-cacheability/</span></a></p>
Arjen Poutsma<p>New post: Making Your API Feel Like Home<br>If your API looks &amp; feels like the rest of the ecosystem, it is easier to learn and harder to misuse.</p><p><a href="https://poutsma-principles.com/blog/2025/06/11/making-api-feel-like-home/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">poutsma-principles.com/blog/20</span><span class="invisible">25/06/11/making-api-feel-like-home/</span></a></p><p><a href="https://mastodon.social/tags/Java" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Java</span></a> <a href="https://mastodon.social/tags/SpringFramework" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SpringFramework</span></a> <a href="https://mastodon.social/tags/APIDesign" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>APIDesign</span></a> <a href="https://mastodon.social/tags/tech" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>tech</span></a></p>
developer.overheid.nl<p>🏗️ Als jullie een API bouwen, beginnen jullie dan met het definiëren van een openapi.yaml (Open API Spec, kortweg OAS) of start je direct met programmeren?</p><p>Dat laatste is natuurlijk aantrekkelijk, maar niet altijd slim. Hoe je OAS-first werkt vind je in ons artikel van collega <span class="h-card" translate="no"><a href="https://me.dm/@dvh" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>dvh</span></a></span>:</p><p><a href="https://developer.overheid.nl/kennisbank/apis/aan-de-slag/bouw-een-api" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">developer.overheid.nl/kennisba</span><span class="invisible">nk/apis/aan-de-slag/bouw-een-api</span></a></p><p><a href="https://social.overheid.nl/tags/apidesign" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>apidesign</span></a> <a href="https://social.overheid.nl/tags/oas" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>oas</span></a> <a href="https://social.overheid.nl/tags/openapispec" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>openapispec</span></a></p>

"API keys are foundational elements for authentication, but relying solely on them is inherently a risky proposal.

Firstly, there’s the reality that API keys are not securely designed — they were never meant to be used as the sole form of authentication, and as such, they aren’t really built for the task. These keys can often be easily stolen, leaked, or, in some cases (especially if generated incrementally), outright guessed. An API key is suitable for tracking usage but is poor for security.

There is also the additional reality that keys in their default state lack some critical functionality. There’s not a lot of verification built-in for identity management, and what does exist offers very little in the way of granular access control.

Ultimately, solely relying on API keys is a mistake common with novice developers but frighteningly common even in advanced products.

Best Practices
Instead of relying heavily on API keys as a sole mechanism, combine those keys with additional approaches such as OAuth 2.0 or mTLS. Implement rigorous expiration and rotation policies to ensure that keys which are made public are only useful for a short amount of time. Consider more advanced approaches, such as IP whitelisting or device fingerprinting, to add another layer of security atop the API key process."

nordicapis.com/9-signs-youre-d

Nordic APIs · 9 Signs You're Doing API Security Wrong | Nordic APIs |API security anti-patterns are common. From overreliance on API keys to a lack of rate limiting to no encryption, we explore the top ones.

"The accompanying diagram is intended to help you quickly decide how to document an API, but particularly a REST API. The first split is just to make sure you are looking for the right kind of API.

Here is some more context to help you decide on an approach and get started."

gist.github.com/briandominick/

GistAPI Documentation Decision MatrixAPI Documentation Decision Matrix. GitHub Gist: instantly share code, notes, and snippets.
#API#APIs#APIDesign

"Getting to this point isn’t unusual. Clients clearly think they’re making the call correctly, or else they would fix the endpoint themselves. Some misspellings are difficult to catch. The enum USER_RETREIVE may not be noticed from USER_RETRIEVE, especially if picking it from a list. Misspellings happen and they’re not always caught before making it to the contract. As an aside, that’s why it’s important writers routinely check development’s changes. This applies, too, to our testing calls in Postman, where manually entering endpoints and values are more pervasive.

The reason this isn’t caught is simple: We’re not expecting it.

For our testing, the call is made and we get results. We may even spot check some of them. But generally, results aren’t examined that closely. For instance, how often do you so carefully examine a returned list of 50 or 100 items? You check may check that the objects are complete but not that the list conforms to the search criteria.

The reason this happens is because of an intentional behavior on the server. This behavior is called Lenient Handling or Strict Handling."

robertdelwood.medium.com/under

Medium · Understanding Query Parameter Handling in REST CallsBy Robert Delwood
#APIs#RESTAPIs#Rest

"A handful of root causes are likely behind API drift. One standout point is the simple fact that API documentation is typically incomplete. Only 10% of organizations fully document their APIs, found a 2023 EMA report. Without a strong documentation culture or comprehensive API inventory management, it’s more common to see a disorganized use of service descriptions.

Furthermore, many groups are still early on in their API governance strategies. As the number of APIs increases within a company, those without established standards for maintaining the API lifecycle are more likely to experience incompatibilities or even see services turn into shadow or zombie APIs.

According to Lorna Mitchell, VP of Developer Experience at Redocly, API drift is intrinsically tied to a lack of comprehensive testing. Drift can occur for design-first APIs if there aren’t clear tests of whether what is built actually matches what’s described. This is a problem that can easily become endemic, she says. “Code gets duplicated, and the chasm widens.”"

nordicapis.com/understanding-t

Nordic APIs · Understanding The Root Causes of API Drift | Nordic APIs |Why do so many APIs drift from their specifications? It's due to immature API development practices and a lack of ownership for maintenance.

#APIDesign #APIs #APIGovernance #APIDocumentation #DX #DeveloperExperience: "Most enterprises face a widening API portfolio with an increasing number of API design styles and standards. “Almost all organizations are doing this,” says Brian Otten, VP of digital transformation catalysts at Axway. “I recently talked to a large food retailer that wants to see REST APIs alongside event-based resources and GraphQL,” Otten says.

In addition to the patchwork of API styles, most companies use multiple API gateways or management tools simultaneously. “We are at a point where organizations who already have API management solutions are buying API management solutions,” says Mark O’Neill, VP analyst at Gartner. O’Neill notes that in some cases, this is to replace the current platform, but in many situations, it’s cumulative.

In this multi-paradigm world, API governance is emerging as a key element for bridging disparate styles and avoiding the pains of a sprawling technical portfolio. According to API industry experts, governance will require a greater emphasis on documentation, centralizing common patterns across the organization, consolidating tools, and building internal platforms that improve the developer experience."

infoworld.com/article/3529600/

InfoWorldHow do you govern a sprawling, disparate API portfolio?The API revolution wasn’t televised. Now, enterprises must figure out how to weave together a patchwork of API styles, standards, and gateways.

#WebAPIs #APIs #TypeSpec #APIDesign #APIDocumentation #OpenAPI #DX #DeveloperExperience: "As we navigate the ever-evolving landscape of API design, it’s crucial that we don’t lose sight of the bigger picture. Although tools like TypeSpec offer enticing promises of simplified development and improved developer experience, we must approach them with a critical eye. The allure of code-like constructs should not come at the cost of collaborative, human-centered design principles. OpenAPI, for all its complexities, has made significant strides in democratizing API design and fostering cross-functional collaboration. Let’s not sacrifice all that on the altar of curly braces." passo.uno/typespec-openapi-api

passo.uno · TypeSpec reminds us why OpenAPI exists in the first place

#OpenWeb #WebAPIs #APIDesign #W3C #WebDevelopment:"This document contains a set of design principles to be used when designing web platform technologies. These principles have been collected during the Technical Architecture Group’s discussions in reviewing developing specifications, and build upon the Ethical Web Principles [ETHICAL-WEB]. We encourage specification designers to read this document and use it as a resource when making design decisions."

w3.org/TR/design-principles/

www.w3.orgWeb Platform Design Principles