REST

Representational State Transfer

Protocol
Introduced in Rel-12
REST is an architectural style for designing networked applications, adopted by 3GPP for northbound and service-based interfaces. It uses HTTP methods (GET, POST, PUT, DELETE) to operate on resources identified by URIs. In 3GPP, it enables flexible, scalable, and web-friendly APIs for network function exposure and management.

Description

Representational State Transfer (REST) is an architectural style, not a protocol itself, that guides the design of web services. It was formally adopted by 3GPP starting in Release 12 for defining Application Programming Interfaces (APIs), particularly for northbound interfaces (NBIs) and later for service-based interfaces within the 5G Core network. RESTful APIs in 3GPP are typically implemented using HTTP/1.1 or HTTP/2 with JSON or XML payloads, providing a standardized way for external applications (Application Functions, AFs) or internal Network Functions (NFs) to interact with the telecom network.

In the REST architectural style, everything is modeled as a resource, which is any information that can be named (e.g., a subscriber's session, a policy rule, a network slice instance). Each resource is uniquely identifiable via a Uniform Resource Identifier (URI). Clients interact with these resources using a uniform set of stateless operations, primarily the standard HTTP methods: GET to retrieve a resource representation, POST to create a new resource, PUT to update or replace a resource, DELETE to remove a resource, and PATCH for partial updates. The representation of a resource (e.g., in JSON format) contains its state or attributes. The server's responses are also stateless and can include hypermedia links (HATEOAS principle) to indicate possible next actions or related resources, though this is variably implemented in 3GPP specs.

Within the 3GPP architecture, RESTful principles are applied in several key areas. The Service Capability Exposure Function (SCEF) in 4G and the Network Exposure Function (NEF) in 5G provide RESTful northbound APIs to securely expose network capabilities and information to authorized third-party applications. Furthermore, the 5G Core network architecture is built around a Service-Based Architecture (SBA), where core Network Functions (like AMF, SMF, PCF) communicate with each other using service-based interfaces. These interfaces are often specified as RESTful APIs with HTTP/2 transport, allowing for flexible, scalable, and discoverable interactions between NFs. This contrasts with earlier point-to-point protocol-based interfaces (like Diameter), offering advantages in development simplicity, tooling support, and cloud-native alignment.

Purpose & Motivation

3GPP adopted REST to address the need for more open, flexible, and developer-friendly interfaces for interacting with telecom networks. Traditional telecom interfaces were based on complex, binary protocols (like MAP, Diameter) that were difficult for web and IT developers to use, hindering innovation and service creation. The rise of cloud computing and web services demanded a shift towards IT-friendly technologies.

The motivation for REST in 3GPP was multi-faceted. It aimed to simplify the integration of third-party applications (e.g., from IoT service providers, enterprise customers) with network capabilities through standardized HTTP-based APIs. This exposure drives new revenue streams. Internally, for the 5G SBA, RESTful interfaces enable a more decoupled, scalable, and agile core network where functions can be developed, deployed, and scaled independently, aligning with cloud-native and microservices principles. REST solves the problems of protocol complexity, vendor lock-in, and slow service deployment by leveraging widely understood web standards, vast tooling ecosystems, and enabling faster development cycles for both network operators and application developers.

Key Features

  • Resource-oriented architecture where network entities are modeled as resources
  • Uniform interface using standard HTTP methods (GET, POST, PUT, DELETE, PATCH)
  • Stateless client-server interactions for scalability
  • Resources identified and addressed via URIs
  • Data exchanged in standard formats like JSON or XML
  • Leverages ubiquitous web protocols (HTTP/TLS) for transport

Evolution Across Releases

Rel-12 Initial

Initial adoption of RESTful principles for northbound APIs, primarily for the Service Capability Exposure Function (SCEF). Specified RESTful APIs for network exposure to enable third-party application access to network information and capabilities, marking a shift from traditional telecom protocols towards web-friendly interfaces.

Defining Specifications

SpecificationTitle
TS 23.222 3GPP TS 23.222
TS 23.701 3GPP TS 23.701
TS 23.722 3GPP TS 23.722
TS 28.890 3GPP TS 28.890
TS 29.116 3GPP TS 29.116
TS 29.122 3GPP TS 29.122
TS 29.201 3GPP TS 29.201
TS 29.222 3GPP TS 29.222
TS 29.501 3GPP TS 29.501
TS 29.522 3GPP TS 29.522
TS 29.530 3GPP TS 29.530
TS 29.549 3GPP TS 29.549
TS 29.817 3GPP TS 29.817
TS 29.890 3GPP TS 29.890
TS 29.891 3GPP TS 29.891
TS 32.158 3GPP TR 32.158
TS 32.856 3GPP TR 32.856
TS 32.866 3GPP TR 32.866
TS 33.938 3GPP TR 33.938