Uniform interface
The uniform interface is a REST architectural constraint that standardizes client-server interactions, including resource identification, manipulation, message formats, and hypermedia controls.
Building Web APIs with ASP.NET Core
A uniform interface is a REST constraint defining standardized resource identification, manipulation, messages, and hypermedia controls.
- How it is used
- Uses a uniform interface to decouple REST API clients from implementation details and help them discover available actions.
- How deep it goes
- Defines the four REST interface principles and implements a generic response wrapper with a self link.
- Examples
- Uses board-game resource URIs, GET and DELETE operations, and a JSON collection response with a self link.
- What you can do after
- Apply a uniform interface in ASP.NET Core using a response DTO with data and structured links.
Read how Building Web APIs with ASP.NET Core explains uniform interface →
The Design of Web APIs, Second Edition
The uniform interface constraint is a REST constraint requiring a consistent and standardized interface for interacting with resources.
- How it is used
- Organizes API capabilities as resources and HTTP methods so interactions remain predictable for consumers.
- How deep it goes
- Defines the REST constraint and applies it to request design and change resistance, without detailing protocol internals.
- Examples
- Contrasts two transaction GET requests, then uses account transaction searches and money transfer creation to clarify input placement.
- What you can do after
- Practice/perform it by identifying business resources and choosing HTTP-compliant request locations that consumers can predict.
Read how The Design of Web APIs, Second Edition explains uniform interface →
What to know first
- HTTPHTTP is an application-layer protocol that defines request and response semantics for transferring representations and metadata between networked systems.
- uriA URI is a standardized sequence of characters that identifies a resource by name, location, or both.
- deletionDeletion is an operation that removes an item, data, or resource from a collection or system.
- RESTREST is an architectural style for distributed systems that organizes interactions around identifiable resources and their representations through a uniform interface and constraints such as statelessness and cacheability.
Related concepts
- RESTpart of · REST is an architectural style for distributed systems that organizes interactions around identifiable resources and their representations through a uniform interface and constraints such as statelessness and cacheability.
- HTTP methoduses · An HTTP method is a standardized token in an HTTP request that indicates the request's intended semantics.
- resourceuses · An API resource is a coherent, identifiable entity exposed through an interface and addressable for access or manipulation.
- hypermediahas part · Hypermedia is an information structure that links media or resource representations and provides controls for navigating to related resources or actions.
- self-descriptive messageshas part · Self-descriptive messages contain all information required for a recipient to understand and process them correctly.
- operation flowused by · An operation flow is an ordered sequence of API operations that an application invokes to obtain information or complete a process.
Questions about uniform interface
What is uniform interface?
The uniform interface is a REST architectural constraint that standardizes client-server interactions, including resource identification, manipulation, message formats, and hypermedia controls.
Which Manning books explain uniform interface?
Building Web APIs with ASP.NET Core and The Design of Web APIs, Second Edition.
What should I know before learning uniform interface?
Manning books that teach uniform interface usually introduce HTTP, uri, deletion and REST first.
What is uniform interface part of?
Uniform interface is part of REST. REST is an architectural style for distributed systems that organizes interactions around identifiable resources and their representations through a uniform interface and constraints such as statelessness and cacheability.
What are the parts of uniform interface?
Uniform interface includes hypermedia and self-descriptive messages.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.

