Backend, Data & Security Core C · Industry convention Platform: Web

REST API

A REST API is an HTTP interface built around resources, such as orders or users. Each request stands on its own, uses standard HTTP meanings, can support caching, and may pass through layers.

See how it works
You might call it RESTful APIresource API

See how it works

Original worked exampleREST API

Another example

A warehouse app gets `/orders/784`, changes its address with a conditional `PATCH`, and follows a `Link` header to tracking. Any stateless server can handle the request. If the `ETag` is old, the server returns 412 instead of replacing a newer edit.

Main parts

  1. 01Resource identifier
  2. 02Uniform HTTP operation
  3. 03Representation and links

Use it when

Use REST when resource-based HTTP, caching, middle layers, and clients that can change on their own fit the product.

Do not use it when

An API is not RESTful just because it sends JSON over HTTP. Stateful sessions, RPC command tunnels, or ignored HTTP meanings are different designs.

Name used in code

client-server + stateless + cache + uniform interface + layered system + hypermedia

Before you ship

Check contracts and invariants, authorization, and input limits. Test retries, one-time effects, timeouts, and partial failures. Verify data integrity, compatibility, monitoring, recovery, and rollback.

Request you can copy

Outcome: Design or review REST API for this system while keeping data correct, secure, and easy to operate. User context: A warehouse app gets `/orders/784`, changes its address with a conditional `PATCH`, and follows a `Link` header to tracking. Any stateless server can handle the request. If the `ETag` is old, the server returns 412 instead of replacing a newer edit. Technical concept or control: REST API. Why it fits: Use REST when resource-based HTTP, caching, middle layers, and clients that can change on their own fit the product. Do not use it when: An API is not RESTful just because it sends JSON over HTTP. Stateful sessions, RPC command tunnels, or ignored HTTP meanings are different designs. Engineering requirements: Define inputs, outputs, contracts, and rules that must always hold. Set authorization and input checks. Define failures, timeouts, retries, one-time effects, data moves, and compatibility limits. Operations: Add useful signals and logs that hide sensitive data. Set capacity limits and write an operator guide. Test recovery and rollback. Acceptance criteria: Contract and failure-path tests pass. Data and authorization rules still hold during retries and partial failures. Check performance limits, monitoring, recovery, and rollback. Evidence and limits (evidence boundary): No single official standard controls the whole term. Its meaning may change across teams, platforms, or frameworks. Unknowns to confirm: Where the code runs, data stores, traffic shape, consistency needs, and the security boundary. Also confirm the compatibility period, service goals, and rollback limits.

Check this request

Review the current use of REST API. Definition: A REST API is an HTTP interface built around resources, such as orders or users. Each request stands on its own, uses standard HTTP meanings, can support caching, and may pass through layers. Release checks: Check contracts and invariants, authorization, and input limits. Test retries, one-time effects, timeouts, and partial failures. Verify data integrity, compatibility, monitoring, recovery, and rollback. Before changing code, report the evidence you found, gaps, severity, and the smallest safe fix.

C
How official is this term?

Industry convention

People often use this term at work. The listed sources may support practice or limitations. They do not define every part of the term.

No single official standard controls the whole term. Its meaning may change across teams, platforms, or frameworks.

Scope
REST architectural style applied to HTTP APIs
Document status
historical
Checked on
2026-07-30

Evidence sources & scope

Authority source + Term reference · University of California, Irvine · historical Architectural Styles and the Design of Network-based Software Architectures Scope: Origin and constraints of REST as an architectural style Role here: Direct term reference Source covers: canonical name, definition, historical origin Authority source · IETF · standards track HTTP Semantics Scope: HTTP Role here: Helpful background, not a definition Source covers: canonical name, definition, semantics, implementation

Copy it yourself

The browser could not copy this. Select the request below and copy it yourself.