Internet-Draft | RESTful Provisioning Protocol | October 2025 |
Wullink & Kowalik | Expires 18 April 2026 | [Page] |
This document describes the endpoints for the RESTful Provisioning Protocol, used for the provisioning and management of objects in a shared database.¶
This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.¶
Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet-Drafts is at https://datatracker.ietf.org/drafts/current/.¶
Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress."¶
This Internet-Draft will expire on 18 April 2026.¶
Copyright (c) 2025 IETF Trust and the persons identified as the document authors. All rights reserved.¶
This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Revised BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Revised BSD License.¶
This document describes an Application Programming Interface (API) API based on the HTTP protocol [RFC2616] and the principles of [REST]. Conforming to the REST constraints is generally referred to as being "RESTful". Hence the API is dubbed: "'RESTful Provisioning Protocol" or "RPP" for short.¶
The RPP API is designed to be used for the provisioning and management of objects in a shared database, such as domain names, hosts, and entities.¶
In this document the following terminology is used.¶
REST - Representational State Transfer ([REST]). An architectural style.¶
RESTful - A RESTful web service is a web service or API implemented using HTTP and the principles of [REST].¶
EPP RFCs - This is a reference to the EPP version 1.0 specifications [RFC5730], [RFC5731], [RFC5732] and [RFC5733].¶
RESTful Provisioning Protocol or RPP - The protocol described in this document.¶
URL - A Uniform Resource Locator as defined in [RFC3986].¶
Resource - An object having a type, data, and possible relationship to other resources, identified by a URL.¶
RPP client - An HTTP user agent performing an RPP request¶
RPP server - An HTTP server responsible for processing requests and returning results in any supported media type.¶
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT","SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in [RFC2119].¶
In examples, lines starting with "C:" represent data sent by a RPP client and lines starting with "S:" represent data returned by a RPP server. Indentation and white space in examples are provided only to illustrate element relationships and are not REQUIRED features of the protocol.¶
All example requests assume a RPP server using HTTP version 2 is listening on the standard HTTPS port on host rpp.example. An authorization token has been provided by an out of band process and MUST be used by the client to authenticate each request.¶
A RPP request does not always require a request message body. The information conveyed by the HTTP method, URL, and request headers may be sufficient for the server to be able to successfully processes a request. However, the client MUST include a request message body when the server requires additional attributes to be present in the request message. The RPP HTTP headers listed below use the "RPP-" prefix, following the recommendations in [RFC6648].¶
RPP-Cltrid
: The client transaction identifier is the equivalent of the clTRID
element defined in [RFC5730] and MUST be used accordingly, when the HTTP message body does not contain an EPP request that includes a cltrid.¶
RPP-Authorization
: The client MAY use this header to send authorization information in the format <method> <authorization information>
, similar to the HTTP Authorization
header, defined in [RFC9110, Section 11.6.2]. The <method>
indicates the type of authorization being used. For EPP object authorization information, for example the authorization information used for domain names described in [RFC5731, Section 2.3], a new authinfo
method is defined and MUST be used. The <authorization information>
defines the following comma separated fields:¶
Use of the RPP-Authorization header:¶
RPP-Authorization: authinfo value=TXkgU2VjcmV0IFRva2Vu, roid=REG-XYZ-12345¶
The value of the RPP-Authorization
header is case sensitive. The server MUST reject requests where the case of the header value does not match the expected case.
The RPP-Authorization
header is specific to the user agent and MUST NOT be cached, as recommended by Section 16.4.2, the server MUST use the correct HTTP cache directives to prevent caching of the RPP-Authorization
header.¶
The server HTTP response contains a status code, headers, and MAY contain an RPP response message in the message body. HTTP headers are used to transmit additional data to the client and MAY be used to send RPP process related data to the client. HTTP headers used by RPP MUST use the "RPP-" prefix, the following response headers have been defined for RPP.¶
RPP-Svtrid
: This header is the equivalent of the "svTRID" element defined in [RFC5730] and MUST be used accordingly when the RPP response does not contain an EPP response in the HTTP message body. If an HTTP message body with the EPP XML equivalent "svTRID" exists, both values MUST be consistent.¶
RPP-Cltrid
: This header is the equivalent of the "clTRID" element defined in [RFC5730] and MUST be used accordingly when the RPP response does not contain an EPP response in the HTTP message body. If the contents of the HTTP message body contains a "clTRID" value, then both values MUST be consistent.¶
RPP-Code
: This header is the equivalent of the EPP result code defined in [RFC5730] and MUST be used accordingly. This header MUST be added to all responses and MAY be used by the client for easy access to the result code, without having to parse the HTTP response message body.¶
For the EPP codes related to session management (1500, 2500, 2501 and 2502) there are no corresponding RPP codes.¶
In order for RPP to be backwards compatible with EPP, RPP will use 5-digit coding of the result codes, where first digit will denote origin specification of the result codes.¶
For [RFC5730] Result Codes the leading digit MUST be "0". For RPP result codes the leading digit MUST be "1". For avoidance of confusion RPP MUST not define new codes with the same semantic meaning as already defined in EPP.¶
For RPP codes the remaining 4 digits MUST keep the same semantics as [RFC5730] Result Codes.¶
RPP-Queue-Size
: Return the number of unacknowledged messages in the client message queue. The server MAY include this header in all RPP responses.¶
RPP leverages standard HTTP status codes to reflect the outcome of RPP operations. The RPP result codes are based on the EPP result codes defined in [RFC5730]. This allows clients to handle responses generically using common HTTP patterns. While the HTTP status code provides the primary, high-level outcome, the specific RPP result code MUST still be provided in the RPP-Code
HTTP header for detailed diagnostics.¶
The mapping strategy is to use the most specific HTTP code that accurately reflects the operation's result.¶
For common and well-defined outcomes, a specific HTTP status code is used. For example, an attempt to access a non-existent resource (EPP code 2302) MUST return 404 Not Found, and an attempt to create a resource that already exists (EPP code 2303) MUST return 409 Conflict. This allows a client to handle these common situations based on the HTTP code alone.¶
For all other failures, a generic HTTP status code is used. Client-side errors (e.g., syntax, parameter, or policy violations) MUST return 400 Bad Request. Server-side failures MUST return 500 Internal Server Error.¶
The server MUST return HTTP status codes, following the mapping rules in Table 1.¶
Table 1: RPP result code and HTTP Status-Code mapping.¶
HTTP Status-Code | Description | Corresponding RPP result code(s) |
---|---|---|
Success (2xx) | ||
200 OK | The request was successful (e.g., for GET or UPDATE). | 01000 (in all cases not specified otherwise),01300,01301 |
201 Created | The resource was created successfully. | 01000 for resource creating requests (POST/PUT) |
202 Accepted | The request was accepted for asynchronous processing. | 01001 |
204 No Content | The resource was deleted successfully. | 01000 for DELETE |
Client Errors (4xx) | ||
400 Bad Request | Generic client-side error (syntax, parameters, policy). | 02000-02005,02104-02106,02300-02301,02304-02308 |
403 Forbidden | Authentication or authorization failed. | 02200-02202 |
404 Not Found | The requested resource does not exist. | 02303 |
409 Conflict | The resource could not be created because it already exists. | 02302 |
Server Errors (5xx) | ||
500 Internal Server Error | Generic server-side error; command failed. | 02400 |
501 Not Implemented | The requested command or feature is not implemented. | 02100-02103 |
Some EPP result codes, like 01500, 02500, 02501 and 02502 are related to session management and therefore not applicable to a sessionless RPP protocol.¶
Endpoints are described using URI Templates [RFC6570] relative to a discoverable base URL, as recommended by [RFC9205]. Some RPP endpoints do not require a request and/or response message.¶
The RPP endpoints are defined using the following URI Template syntax:¶
A RPP client MAY use the HTTP GET method for executing informational request only when no request data has to be added to the HTTP message body. Sending content using an HTTP GET request is discouraged in [RFC9110], there exists no generally defined semantics for content received in a GET request. When an RPP object requires additional information, the client MUST use the HTTP POST method and add the query command content to the HTTP message body.¶
The Availability for Creation endpoint is used to check whether an object can be successfully provisioned. Two distinct methods are defined for checking the availability of provisioning of an object, the first method uses the HEAD method for a quick check to find out if the object can be provisioned. The second method uses the GET method to retrieve additional information about the object's availability for provisioning, for example about pricing or additional requirements to be able to provision the requested object.¶
When the client uses the HTTP HEAD method, the server MUST respond with an HTTP status code 200 (OK) if the object can be provisioned or with an HTTP status code 404 (Not Found) if the object cannot be provisioned.¶
When the client uses the HTTP GET method, the server MUST respond with an HTTP status code 200 (OK) if the object can be provisioned. The server MUST include a message body containing more detailed availability information, for example about pricing or additional requirements to be able to provision the requested object. The message body MAY be and empty JSON object if no additional information is applicable.¶
If the object cannot be provisioned then the server MUST return an HTTP status code 404 (Not Found) and include a problem statement in the message body.¶
As an extension point the server MAY define and the client MAY use additional HTTP query parameters to further specify the check operation or the kind of response information that shall be returned. For example Registry Fee Extension [RFC8748] defines a possibility to request certain currency, only certain commands or periods. Such functionality would add query parameters, which could be used with GET request to receive additional pricing information with the response. HEAD request would not be affected in this case.¶
The server MUST respond with the same HTTP status code if the same URL is requested with HEAD and with GET.¶
- Request: HEAD|GET {collection}/{id}/availability - Request message: None - Response message: Optional availability response¶
Example request for a domain name that is not available for provisioning:¶
HEAD domains/foo.example/availability HTTP/2 Host: rpp.example Authorization: Bearer <token> Accept-Language: en RPP-Cltrid: ABC-12345¶
Example response:¶
HTTP/2 404 Not Found Date: Wed, 24 Jan 2024 12:00:00 UTC Server: Example RPP server v1.0 RPP-Cltrid: ABC-12345 RPP-Svtrid: XYZ-12345 RPP-code: 01000 Content-Length: 0¶
The Object Info request MUST use the HTTP GET method on a resource identifying an object instance. If the object has authorization information attached then the client MUST use an empty message body and include the RPP-Authorization HTTP header. If the authorization is linked to a database object the client MUST also include the roid in the RPP-Authorization header. The client MAY also use a message body that includes the authorization information, the client MUST then not use the RPP-Authorization header.¶
Example request for an object not using authorization information.¶
GET domains/foo.example HTTP/2 Host: rpp.example Authorization: Bearer <token> Accept: application/rpp+json Accept-Language: en RPP-Cltrid: ABC-12345¶
Example request using RPP-Authorization header for an object that has attached authorization information.¶
GET domains/foo.example HTTP/2 Host: rpp.example Authorization: Bearer <token> Accept: application/rpp+json Accept-Language: en RPP-Cltrid: ABC-12345 RPP-Authorization: authinfo value=TXkgU2VjcmV0IFRva2Vu¶
Example Info response:¶
HTTP/2 200 OK Date: Wed, 24 Jan 2024 12:00:00 UTC Server: Example RPP server v1.0 Content-Length: 424 Content-Type: application/rpp+json Content-Language: en RPP-code: 01000 TODO: JSON message here¶
The messages endpoint is used for retrieving messages stored on the server for the client to process.¶
The client MUST use the HTTP GET method on the messages resource collection to request the message at the head of the queue.¶
Example request:¶
GET messages HTTP/2 Host: rpp.example Authorization: Bearer <token> Accept: application/rpp+json Accept-Language: en RPP-Cltrid: ABC-12345¶
Example response:¶
HTTP/2 200 OK Date: Wed, 24 Jan 2024 12:00:00 UTC Server: Example RPP server v1.0 Content-Length: 312 Content-Type: application/rpp+json Content-Language: en RPP-code: 01301 TODO¶
The client MUST use the HTTP DELETE method to acknowledge receipt of a message from the queue. The "msgID" attribute of a received RPP Poll message MUST be included in the message resource URL, using the {id} path element. The server MUST use RPP headers to return the RPP result code and the number of messages left in the queue. The server MUST NOT add content to the HTTP message body of a successful response, the server may add content to the message body of an error response.¶
Example request:¶
DELETE messages/12345 HTTP/2 Host: rpp.example Authorization: Bearer <token> Accept: application/rpp+json Accept-Language: en RPP-Cltrid: ABC-12345¶
Example response:¶
HTTP/2 200 OK Date: Wed, 24 Jan 2024 12:00:00 UTC Server: Example RPP server v1.0 Content-Language: en RPP-code: 01000 RPP-Queue-Size: 0 RPP-Svtrid: XYZ-12345 RPP-Cltrid: ABC-12345 Content-Length: 145 TODO¶
The client MUST use the HTTP POST method to create a new object resource. If the RPP request results in a newly created object, then the server MUST return HTTP status code 200 (OK). The server MUST add the "Location" header to the response, the value of this header MUST be the URL for the newly created resource.¶
Example Domain Create request:¶
POST domains HTTP/2 Host: rpp.example Authorization: Bearer <token> Accept: application/rpp+json Content-Type: application/rpp+json Accept-Language: en Content-Length: 220 TODO¶
Example Domain Create response:¶
HTTP/2 200 Date: Wed, 24 Jan 2024 12:00:00 UTC Server: Example RPP server v1.0 Content-Language: en Content-Length: 642 Content-Type: application/rpp+json Location: https://rpp.example/domains/foo.example RPP-code: 01000 TODO¶
The client MUST the HTTP DELETE method and a resource identifying a unique object instance. The server MUST return HTTP status code 200 (OK) if the resource was deleted successfully.¶
Example Domain Delete request:¶
DELETE domains/foo.example HTTP/2 Host: rpp.example Authorization: Bearer <token> Accept: application/rpp+json Accept-Language: en RPP-Cltrid: ABC-12345¶
Example Domain Delete response:¶
HTTP/2 200 OK Date: Wed, 24 Jan 2024 12:00:00 UTC Server: Example RPP server v1.0 Content-Length: 80 RPP-Svtrid: XYZ-12345 RPP-Cltrid: ABC-12345 RPP-code: 01000 TODO¶
Each provisioning object may be related to one or more running processes, such as a transfer or deletion. Each process can have its own data, which is distinct from the data of the provisioning object itself. The processes can be started, stopped, or interacted with using their own specific set of representations and operations.¶
All processes related to a provisioning object in RPP MUST exist under the /{collection}/{id}/processes/{process_name}
path.¶
The server operator MAY support direct access to process resources using server generated identifier. Such resource MAY be accessible using following URL: /{collection}/{id}/processes/{process_name}/{process_id}
, where process_id is the process identifier.¶
A process MAY also expose a resource at /{collection}/{id}/processes/{process_name}/latest
to access and interact with the latest process instance. In case server offers any access to process information of given process name, the access to the last instance using /{collection}/{id}/processes/{process_name}/latest
URL is MANDATORY.¶
The server operator MAY decide which processes such resources exist for, whether they only exist for the currently running processes or also for completed or cancelled processes. The period for which completed processes remain available for retrieval is defined by server policy.¶
A generic interface for interacting with the processes is defined as follows:¶
POST /{collection}/{id}/processes/{process_name}
¶
The payload of such a request contains process-specific input information. A started process MAY create a resource to access and interact with the process instance. In such case the response MUST be a 201 Created with a Location
header pointing to the created resource together with the process state representation. The created resource can be made accessible both using the latest
mnemonic under a URL /{collection}/{id}/processes/{process_name}/latest
or using a process id under a URL /{collection}/{id}/processes/{process_name}/{process_id}
.¶
When a process is created, executed and immediately completed by the server, a 201 Created response MAY still be provided together with the representation of the process result.¶
Server MAY decide not to expose any resource for interaction with the created process, in such case a 200 OK MUST be provided.¶
Example:¶
POST /rpp/v1/domains/foo.example/processes/renewals HTTP/2 ... other headers removed for bravity ... { "duration": "P2Y" }¶
A client MAY use the "latest" mnemonic to cancel the latest process instance, in such case the request MUST be:¶
DELETE /{collection}/{id}/processes/{process_name}/latest
¶
If the client wants to cancel a specific process instance, the request MUST be:¶
DELETE /{collection}/{id}/processes/{process_name}/{process_id}
¶
This request is intended to stop the running process. The server MUST return a 204 response if the process has been stopped and the resource is gone, or a 200 response if the process has been stopped but the resource remains.¶
A client MAY use the "latest" mnemonic to request the latest process instance, in such case the request MUST be:¶
GET /{collection}/{id}/processes/{process_name}/latest
¶
If the client wants to retrieve data of a specific process instance, the request MUST be:¶
GET /{collection}/{id}/processes/{process_name}/{process_id}
¶
The request retrieves the representation of the task status. If no task is running, the server MAY return the status of the completed task or return a 404 response.¶
Other operations on a process can be performed by adding path segments to the /{collection}/{id}/processes/{process_name}/latest
or /{collection}/{id}/processes/{process_name}/{process_id}
URL path.¶
A server MAY implement a listing facility for some or all, current or past processes.¶
The following URL structure and HTTP method MAY be exposed by the server and MUST be used by the client to retrieve process list filtered by process name:¶
GET /{collection}/{id}/processes/{process_name}/
¶
The following URL structure and HTTP method MAY be exposed by the server and MUST be used by the client to retrieve full process list independent of the process name:¶
GET /{collection}/{id}/processes/
¶
It is up to server policy to define the type of processes and state, running or completed, made available for the client. A server MAY also choose not implement this end point at all returning either the HTPP status code 404 Not Found or a 501 Not Implemented status code.¶
In certain situations a resource creation may require additional process data or implicitly start an asynchronous process with own inputs, lifecycle and state. In these cases, the representation sent to the server MAY contain a combination of object data and process-related data. For example a domain create request contains domain representation data which will be stored with domain object, and domain creation process data such as registration duration or price, which would be part as registration process data, but not directly stored with the domain object.¶
For the process data in the message body to be distinct and consistent with the URL path structure, it MUST be enclosed in the processes/{process_name}
JSON path when transmitted with the object's representation.¶
Structure:¶
POST /.../{collection}/{id} ... { ... object data ... "processes": { "{process_name}": { ... process data ... } } ... }¶
Example: Domain Create request with 2-year registration:¶
POST /rpp/v1/domains HTTP/2 Host: rpp.example Authorization: Bearer <token> Accept: application/rpp+json Content-Type: application/rpp+json Accept-Language: en Content-Length: 220 { "name": "foo.example", "processes": { "creation": { "periods": "P2Y" } } ... other domain data ... }¶
Not every object resource includes support for the renew command. The response MUST include the Location header for the created renewal process resource.¶
Example Domain Renew request:¶
POST /rpp/v1/domains/foo.example/processes/renewals HTTP/2 Host: rpp.example Authorization: Bearer <token> Accept: application/rpp+json Content-Type: application/rpp+json RPP-Cltrid: ABC-12345 Accept-Language: en Content-Length: 210 TODO: add renew request data here¶
Example Renew response:¶
HTTP/2 200 OK Date: Wed, 24 Jan 2024 12:00:00 UTC Server: Example RPP server v1.0 Content-Language: en RPP-Svtrid: XYZ-12345 RPP-Cltrid: ABC-12345 Content-Length: 205 Location: https://rpp.example/rpp/v1/domains/foo.example/processes/renewals/XYZ-12345 Content-Type: application/rpp+json RPP-code: 01000 TODO add renew response data here¶
The Transfer command is mapped to a nested resource, named "transfer". The semantics of the HTTP DELETE method are determined by the role of the client executing the DELETE method. The DELETE method is defined as "reject transfer" for the current sponsoring client of the object. For the new sponsoring client the DELETE method is defined as "cancel transfer".¶
In order to initiate a new object transfer process, the client MUST use the HTTP POST method on a unique resource to create a new transfer resource object. Not all RPP objects support the Transfer command.¶
If the transfer request is successful, then the response MUST include the Location header for the object being transferred.¶
Example request not using object authorization:¶
POST /rpp/v1/domains/foo.example/processes/transfers HTTP/2 Host: rpp.example Authorization: Bearer <token> Accept: application/rpp+json Accept-Language: en RPP-Cltrid: ABC-12345 Content-Length: 0¶
Example request using object authorization:¶
POST /rpp/v1/domains/foo.example/processes/transfers HTTP/2 Host: rpp.example Authorization: Bearer <token> Accept: application/rpp+json RPP-Cltrid: ABC-12345 RPP-Authorization: authinfo value=TXkgU2VjcmV0IFRva2Vu Accept-Language: en Content-Length: 0¶
Example request using 1 year renewal period, using the unit
and value
query parameters:¶
POST /rpp/v1/domains/foo.example/processes/transfers HTTP/2 Host: rpp.example Authorization: Bearer <token> Accept: application/rpp+json Accept-Language: en RPP-Cltrid: ABC-12345 Content-Length: 23 { "duration": "P2Y" }¶
Example Transfer response:¶
HTTP/2 200 OK Date: Wed, 24 Jan 2024 12:00:00 UTC Server: Example RPP server v1.0 Content-Language: en Content-Length: 182 Content-Type: application/rpp+json Location: https://rpp.example/rpp/v1/domains/foo.example/processes/transfers/latest RPP-code: 01001 { "trStatus": "pending", "reID": "ClientX", "acID": "ClientY", "reDate": "2000-06-06T22:00:00.0Z", "acDate": "2000-06-11T22:00:00.0Z", "exDate": "2002-09-08T22:00:00.0Z }¶
A transfer object may not exist, when no transfer has been initiated for the specified object. The client MUST use the HTTP GET method and MUST NOT add content to the HTTP message body.¶
Example domain name Transfer Status request without authorization information required:¶
GET /rpp/v1/domains/foo.example/processes/transfers HTTP/2 Host: rpp.example Authorization: Bearer <token> Accept: application/rpp+json Accept-Language: en RPP-Cltrid: ABC-12345¶
If the requested transfer object has associated authorization information that is not linked to another database object, then the HTTP GET method MUST be used and the authorization information MUST be included using the RPP-Authorization header.¶
Example domain name Transfer Query request using RPP-Authorization header:¶
GET /rpp/v1/domains/foo.example/processes/transfers HTTP/2 Host: rpp.example Authorization: Bearer <token> Accept: application/rpp+json Accept-Language: en RPP-Cltrid: ABC-12345 RPP-Authorization: authinfo value=TXkgU2VjcmV0IFRva2Vu¶
If the requested object has associated authorization information linked to another database object, then the HTTP GET method MUST be used and the RPP-Authorization header MUST be included.¶
Example domain name Transfer Query request and authorization using RPP-Authorization header:¶
GET /rpp/v1/domains/foo.example/processes/transfers HTTP/2 Host: rpp.example Authorization: Bearer <token> Accept: application/rpp+json Accept-Language: en RPP-Authorization: authinfo value=TXkgU2VjcmV0IFRva2Vu Content-Length: 0¶
Example Transfer Query response:¶
HTTP/2 200 OK Date: Wed, 24 Jan 2024 12:00:00 UTC Server: Example RPP server v1.0 Content-Length: 230 Content-Type: application/rpp+json Content-Language: en RPP-code: 01000 TODO¶
The new sponsoring client MUST use the HTTP POST method to cancel a requested transfer.¶
Example request:¶
POST /rpp/v1/domains/foo.example/processes/transfers/cancelation HTTP/2 Host: rpp.example Authorization: Bearer <token> Accept: application/rpp+json Accept-Language: en RPP-Cltrid: ABC-12345¶
Example response:¶
HTTP/2 200 OK Date: Wed, 24 Jan 2024 12:00:00 UTC Server: Example RPP server v1.0 Content-Length: 80 RPP-Svtrid: XYZ-12345 RPP-Cltrid: ABC-12345 RPP-code: 01000 TODO¶
The currently sponsoring client of the object MUST use the HTTP POST method to reject a started transfer process.¶
Example request:¶
POST /rpp/v1/domains/foo.example/processes/transfers/rejection HTTP/2 Host: rpp.example Authorization: Bearer <token> Accept: application/rpp+json Accept-Language: en RPP-Cltrid: ABC-12345¶
Example Reject response:¶
HTTP/2 200 OK Date: Wed, 24 Jan 2024 12:00:00 UTC Server: Example RPP server v1.0 Content-Length: 80 RPP-Svtrid: XYZ-12345 RPP-Cltrid: ABC-12345 RPP-code: 01000 TODO¶
The currently sponsoring client MUST use the HTTP POST method to approve a transfer requested by the new sponsoring client.¶
Example Approve request:¶
POST /rpp/v1/domains/foo.example/processes/transfers/approval HTTP/2 Host: rpp.example Authorization: Bearer <token> Accept: application/rpp+json Accept-Language: en RPP-Cltrid: ABC-12345 Content-Length: 0¶
Example Approve response:¶
HTTP/2 200 OK Date: Wed, 24 Jan 2024 12:00:00 UTC Server: Example RPP server v1.0 Content-Length: 80 RPP-Svtrid: XYZ-12345 RPP-Cltrid: ABC-12345 RPP-code: 01000 TODO¶
An object Update request MUST be performed using the HTTP PATCH method. The request message body MUST contain an Update message.¶
TODO: when using JSON, also allow for JSON patch so client can send partial update data only?¶
Example request:¶
PATCH domains/foo.example HTTP/2 Host: rpp.example Authorization: Bearer <token> Accept: application/rpp+json Content-Type: application/rpp+json Accept-Language: en Content-Length: 252 TODO¶
Example response:¶
HTTP/2 200 OK Date: Wed, 24 Jan 2024 12:00:00 UTC Server: Example RPP server v1.0 Content-Length: 80 RPP-Svtrid: XYZ-12345 RPP-Cltrid: ABC-12345 RPP-code: 01000 TODO¶
TODO¶
TODO¶
RPP relies on the security of the underlying HTTP [RFC9110] transport, hence the best common practices for securing HTTP also apply to RPP. It is RECOMMENDED to follow them closely.¶
Data confidentiality and integrity MUST be enforced, all data transport between a client and server MUST be encrypted using TLS [RFC5246]. Section 9 describes the level of security that is REQUIRED for all RPP endpoints.¶
Due to the stateless nature of RPP, the client MUST include the authentication credentials in each HTTP request. This MAY be done by using JSON Web Tokens (JWT) [RFC7519] or Basic authentication [RFC7617].¶