APIs, Networking & Integration Topics
API design, management, and integration patterns including REST, GraphQL, and other protocols. Covers API contract design, versioning strategies, error handling, idempotency, deprecation planning, and SDK/integration frameworks. Includes system-to-system integration, webhook patterns, and integration platform considerations. Excludes network infrastructure and network-layer protocols (see Network Architecture under Cloud & Infrastructure or a dedicated networking category if needed).
HTTP Protocol and Web Fundamentals
HTTP semantics that underpin web and API behavior: methods (safe vs idempotent, retries), the status codes that drive caching, conditional and range behavior, request and response headers, content negotiation and Vary, HTTP caching (Cache-Control, private vs shared caches, ETag, conditional requests), cookies and credentialed cross-origin requests (SameSite, CORS and preflight at the header level), large responses (range requests, resuming a download), connection reuse and message framing (keep-alive, chunked transfer, pipelining), and HTTP/1.1 vs HTTP/2 vs HTTP/3 differences such as multiplexing, flow control and head-of-line blocking. Includes TLS at the request level (handshake overview, session resumption, termination at the edge vs passthrough) and how proxies and load balancers change requests, including forwarded client addresses. Excludes TCP/UDP and OSI-layer networking, attack-focused web security, resource and endpoint design, and CDN or edge-cache operations.
Backend-for-Frontend and Client-Specific API Design
Shaping API responses to the needs of specific client types: the Backend-for-Frontend (BFF) pattern, one BFF per client versus a shared gateway, client-side composition or a generic API, what belongs in a BFF (including normalizing inconsistent downstream pagination and error formats for one client), and aggregating several backend calls into one client-shaped response. Covers payload shaping (sparse fieldsets and field selection against relational and document stores, partial responses, optional expansion of related collections, delta responses with deletions, compact serialization including binary wire formats), round-trip reduction and composite views for feeds and dashboards, adapting to mobile versus web bandwidth, battery and device constraints (device-appropriate image variants, prefetching and refresh frequency tuned to connection quality), and choosing GraphQL versus REST to fix over- and under-fetching, including incremental migration from REST to GraphQL. Authentication, general REST resource design, versioning, rate limiting, offline sync and real-time transport are covered elsewhere.
API Security, Authentication and Authorization
Controlling who can call an API, what they may do, and defending it against abuse. Covers the access-control mechanics: API keys, OAuth 2.0 flows, OpenID Connect, JWT issuance/validation, session vs. token auth, scopes/roles for fine-grained authorization, token lifetime and refresh, mutual TLS, and machine-to-machine vs. user-delegated access. Also covers the adversarial hardening view: input validation, injection and deserialization risks, broken object-level authorization (BOLA), mass assignment, secrets handling, and the OWASP API Security Top 10, plus securing data in transit, preventing enumeration/scraping, and testing APIs for vulnerabilities.