AI & Artificial Intelligence
Explore AI foundations, generative models, agents, developer tools, and responsible use.
LinkSpot Knowledge
Explore AI foundations, generative models, agents, developer tools, and responsible use.
Learn programming fundamentals, languages, web and mobile development, databases, testing, and architecture.
Explore cloud platforms, Linux operations, containers, DevOps, and networking.
Learn practical web and network security, identity, privacy, and security operations.
Explore data engineering, SQL, analytics, visualization, and data quality.
Explore PCs, semiconductors, mobile devices, IoT, robotics, and open web standards.
Discover developer, collaboration, and design tools plus no-code and low-code workflows.
LinkSpot Knowledge
Explore practical guides and knowledge by category.
1,879 articles
An API mock server is a test HTTP server that stands in for a real business service. It uses an OpenAPI description and examples to serve paths and responses, so client work can begin before the backend is ready and gaps in the contract can be found early. Mock responses do not prove persistence, authorization, transactions, or real service behavior.
An API key is a string credential that an API provider uses to identify requests or account for usage by a project or product. Some providers use a key to authenticate a caller, but many keys do not prove a user’s identity or permissions; they distinguish usage, quotas, or access configuration instead. Do not assume “whoever has the key is an authenticated user.” Check what security meaning that API assigns to its key type.
An API gateway is an entry layer between clients and backend services. It commonly routes requests received at one public address to the appropriate service and applies shared handling such as authentication, rate limiting, and observability. It can also combine responses from multiple services, but putting all composition logic in the gateway can create a bottleneck and widen the impact of failures. This article explains the pattern for microservices and HTTP APIs and how to decide whether to use it.
API filtering lets a client request only collection items that match conditions. A safe filter API defines which fields, operators, and value formats clients may use, then validates and applies them in the data store. It does not accept arbitrary SQL fragments or let client input set access permissions.
Field selection lets a client specify which properties an API should include in a response, reducing data the client does not need. OData expresses this with $select, but not every REST API supports this syntax or feature. Field selection changes response shape; it is not an authorization check, so the server must separately restrict which fields may be returned.
A useful API error taxonomy does not collapse every failure into one error; it helps the caller answer, “Who needs to do what next?” Use the HTTP status code for general protocol meaning and a stable identifier such as a Problem Details type for the API-specific problem. If clients branch on prose or internal exception names, a wording change or implementation replacement can break the contract.
An API endpoint is the interface a client uses to invoke an API operation. For an HTTP API, describing an endpoint by URL path alone omits important information: GET and PATCH at the same path can have different actions and request/response contracts. OpenAPI 3.2.1 describes paths together with the operations supported at each path.
API deprecation is the stage when an existing API or feature is no longer recommended and may later be removed or unsupported. A deprecation notice does not mean the API has stopped working. The provider should clarify scope, replacement, schedule, and shutdown behavior; consumers should find real calls, migrate, and verify.
An API contract is the shared expectation between a provider and its consumer about an interaction. It can include more than paths and payload schemas: method, status codes, headers, and error responses that clients rely on also matter. An OpenAPI document describes an API surface; consumer-driven tests such as Pact replay concrete interactions to check whether a provider meets a consumer's expectations. These provide different evidence and do not replace one another.
OpenAPI code generation turns an API description into development artifacts such as client SDKs, server stubs, models, and documentation. It reduces repetitive wiring and lets teams use one contract across languages, but generated code does not establish API meaning or prove how a server behaves. Manage the specification, generator version, and configuration together, then build and review the output against the actual contract.
Do not assume a public API server and every client can switch at once. For a request-field rename from customername to displayname, first deploy a server that accepts both, then migrate clients, observe old-field use, and retire the old contract only after support criteria are met. This field example is illustrative.
Apache Thrift is an RPC and serialization tool. You declare types and services in an interface definition language (IDL), then its compiler generates code for multiple programming languages. Keep service definitions, generated processing code, data protocol, and transport separate: sharing a Thrift IDL alone does not agree on a compatible wire protocol or deployment setup.
Apache Kafka is an event-streaming platform that records events in topic partition logs and lets consumers read them by advancing offsets. Records are not deleted just because they were consumed. Topic retention determines how long data remains, so Kafka design must account for partition keys, ordering scope, consumer groups, offset commits, and retention limits as well as throughput.
Apache Camel is an open-source integration framework that defines message flows between systems as routes. This guide uses the Camel CLI to log messages generated by a timer, with no broker or account. The example follows the Camel 4.18.x LTS component documentation; the CLI installation guide was checked on 2026-11-20.
Apache Avro 1.12.0 defines record structure and types with schemas and serializes data in binary or JSON form. Avro binary data does not contain field names or type metadata, so compatibility depends on how the writer schema used to create data is matched with the reader schema expected by a consumer. Preserve the writer schema with stored data or make it reliably retrievable.
Choose an Amazon SQS Standard queue when throughput and scale matter most and your application can handle duplicates or order variation. Choose FIFO when strict ordering within message groups and suppression of duplicate sends matter. FIFO's five-minute deduplication window does not guarantee exactly-once business effects, so consumers still need duplicate-safe logic.
In Akka HTTP’s Routing DSL, a rejection signals that the current route cannot handle a request and leaves later alternatives a chance to do so. An exception is a failure during route execution that bubbles to an enclosing exception handler. Keeping them distinct lets an API respond differently to a wrong path or method and to an internal server failure. This guide follows the current official Akka HTTP routing documentation checked on 2026-11-20; the pages did not identify a specific library release.
Admission control decides before execution whether to accept, queue, or reject work based on current capacity and policy. Unlike a request-rate limit, it can consider concurrent work, resource pressure such as CPU or memory, and request priority. The aim is to keep admitted work within service capacity while protecting important work from starvation.
Actix Web web::Json<T deserializes JSON into a type and rejects failures before the handler runs. web::JsonConfig sets a payload limit and custom error handler. This example uses Actix Web 4.19.0.
When deciding whether to move data to a cheaper storage class, compare more than the storage-rate difference. Include **transition operations, expected read and retrieval charges, minimum storage duration, and data transfer**. A transition may be a one-time cost, while reads from the lower tier recur; moving or deleting too soon can add a minimum-duration or early-deletion charge.