#api-design
13 articles tagged with #api-design
Azure API Management Platform for Your API Program
How Azure API Management provides a developer portal, API gateway, lifecycle management, analytics and monetization for an API program.
Why we need a Healthy API Management Solution?
The common challenges of an API program across the API lifecycle, and how API management and an API management platform help to keep it healthy.
Welcome to API Economy
How APIs create a value chain from business assets to platform APIs, consumers, applications and API monetization models.
How to handle long running requests, versioning, testing and documentation in a REST API? - Part 6
Design long running requests with 202 and a status resource, define breaking changes and version an API, and cover testing and documentation with OpenAPI.
How to improve REST API performance and handle concurrency? - Part 5
Improve REST API performance with Cache-Control, conditional GET, ETag and compression, and handle concurrency with optimistic locking.
How to handle errors and secure a REST API? - Part 4
Classify errors and faults, design the error body and apply the security techniques for a REST API: authentication, CORS and rate limiting.
How to use verbs, representations and status codes in a REST API? - Part 3
Design incoming and outgoing representations, choose the right status codes and use each HTTP verb correctly, with examples.
How to design resources and URIs for a REST API? - Part 2
Identify resources from domain nouns and functions, choose the right granularity with an example and follow the conventions to design URIs.
Why REST and what makes an API RESTful? - Part 1
Why REST replaced WS-* services, what makes an API RESTful and the six REST constraints, with resources, URIs, verbs, safety and idempotence.
Idempotency in REST APIs - why DELETE twice is still gone
REST API idempotency explained through safe DELETE retries, idempotency keys, action filters, atomic response storage and reliable client retry behaviour.
Semantic versioning for NuGet packages and APIs
Semantic versioning explained through major, minor and patch changes, pre-release labels, package compatibility, API versions and communication with consumers for practical guidance.
Fine-grained vs coarse-grained APIs - avoiding chatty APIs
Fine-grained and coarse-grained APIs compared through response shape, client composition, network calls, latency, business views and the cost of chatty requests.
What is RESTful API - resources, verbs and status codes?
RESTful API design explained through resources, HTTP verbs, safety, idempotence, Web API 2 controllers, and status codes using a news article example.