[KongchangAI]
ConceptRESTful API / Representational State Transfer

REST

A software architectural style based on HTTP that is resource-centric and uses standard HTTP methods (GET/POST/PUT/DELETE) to operate on resources. It is the most widely used design paradigm for web APIs.

Core Facts

Timeline (last 90 days)

Nov 11

Shopify's Admin API provides both REST and GraphQL interfaces; GraphQL allows clients to precisely specify the required fields in a single request, avoiding over-fetching of data.

Unverified50%
Nov 2

At the interface level, REST is universally easy to debug, while gRPC is more efficient in high-throughput, strongly typed scenarios.

Unverified50%
Nov 1

The core difference between REST and RPC lies in the perspective of abstraction: REST is resource-centric, using URLs to identify resources and HTTP methods to express operations; RPC is procedure-centric, using method names to express behavior.

Unverified50%
Nov 1

REST emphasizes idempotency: GET, PUT and DELETE are idempotent, with repeated execution having the same effect as a single execution; POST is usually non-idempotent, and repeated submissions may create multiple records.

Unverified50%
Nov 1

In REST style, different operations on the same resource are distinguished by request method: use POST to add, GET to retrieve all, GET plus an ID to retrieve a single one, PUT or PATCH plus an ID to modify, and DELETE plus an ID to delete.

Unverified50%
Oct 25

OneMemory is a single-user, self-hosted shared memory server for AI agents that exposes both MCP and REST interfaces.

Unverified60%
Oct 23

HATEOAS is a style of REST architecture in which, in addition to business data, API responses also carry links pointing to related operations (such as _links, href, next, etc.).

Unverified50%
Oct 19

HTTP GET requests are naturally idempotent, and multiple identical requests produce the same backend state as a single one; POST, by REST convention, is non-idempotent, with each request expected to create a new entity.

Unverified50%
Oct 13

Stacking abstraction layers is a common pattern in software engineering: HTTP sits on top of TCP, REST sits on top of HTTP, and various SDKs sit on top of REST, with each layer not eliminating the layer below.

Unverified50%
Oct 13

The API world suffers from fragmentation: different styles such as REST, GraphQL, and gRPC, and each vendor's naming conventions, authentication methods, and error code definitions all differ, which is extremely inefficient for AI models.

Unverified50%

23 more timeline events

All Facts (20)

Verified

RESTful API uses URLs to represent resources, HTTP methods to represent operations (GET for query, POST for creation, PUT for update, DELETE for deletion), and HTTP status codes to represent results.

90%
Verified

The REST architectural style was first proposed by Roy Fielding in his doctoral dissertation in 2000

80%
Verified

In a REST API, GET is used to read a resource from the server and carries no request body, while POST is used to submit data to the server with the data placed in the request body.

65%
Verified

There are two mainstream API interface specifications: REST and RPC, with REST being dominant and RPC holding a smaller market share.

65%
Verified

REST (Representational State Transfer) is a software architectural style proposed by Roy Fielding in his doctoral dissertation in 2000.

65%
Verified

REST is an architectural style proposed by Roy Fielding in his 2000 doctoral dissertation 'Architectural Styles and the Design of Network-based Software Architectures'.

65%
Unverified

OneMemory is a single-user, self-hosted shared memory server for AI agents that exposes both MCP and REST interfaces.

60%
Unverified

REST的六大约束条件包括:客户端-服务器分离、无状态性、可缓存性、统一接口、分层系统和按需代码(可选)

60%
Unverified

Shopify's Admin API provides both REST and GraphQL interfaces; GraphQL allows clients to precisely specify the required fields in a single request, avoiding over-fetching of data.

50%
Unverified

At the interface level, REST is universally easy to debug, while gRPC is more efficient in high-throughput, strongly typed scenarios.

50%
Unverified

In REST style, different operations on the same resource are distinguished by request method: use POST to add, GET to retrieve all, GET plus an ID to retrieve a single one, PUT or PATCH plus an ID to modify, and DELETE plus an ID to delete.

50%
Unverified

The core difference between REST and RPC lies in the perspective of abstraction: REST is resource-centric, using URLs to identify resources and HTTP methods to express operations; RPC is procedure-centric, using method names to express behavior.

50%
Unverified

REST emphasizes idempotency: GET, PUT and DELETE are idempotent, with repeated execution having the same effect as a single execution; POST is usually non-idempotent, and repeated submissions may create multiple records.

50%
Unverified

HATEOAS is a style of REST architecture in which, in addition to business data, API responses also carry links pointing to related operations (such as _links, href, next, etc.).

50%
Unverified

HTTP GET requests are naturally idempotent, and multiple identical requests produce the same backend state as a single one; POST, by REST convention, is non-idempotent, with each request expected to create a new entity.

50%
Unverified

Stacking abstraction layers is a common pattern in software engineering: HTTP sits on top of TCP, REST sits on top of HTTP, and various SDKs sit on top of REST, with each layer not eliminating the layer below.

50%
Unverified

The API world suffers from fragmentation: different styles such as REST, GraphQL, and gRPC, and each vendor's naming conventions, authentication methods, and error code definitions all differ, which is extremely inefficient for AI models.

50%
Unverified

ElevenLabs' API uses a REST + JSON structure and is compatible with browser-side fetch calls.

50%
Unverified

Capabilities that need to be dynamically discovered by AI or triggered by natural-language-described intent are suitable for exposure via MCP; fixed machine-to-machine calls between systems and scenarios with strict requirements on latency or throughput should go directly through traditional APIs such as REST or gRPC.

50%
Unverified

For a single, simple, one-off integration requirement, writing a REST interface directly may be more lightweight than adopting MCP.

50%

Source Articles