6.6 VAE_HDMapDynamicInfo API

29.4863GPPRelease 18Stage 3TSV2X Application Enabler (VAE) Services

6.6.1 Introduction

The VAE_HDMapDynamicInfo Service shall use the VAE_HDMapDynamicInfo API.

The API URI of the VAE_HDMapDynamicInfo API shall be:

{apiRoot}/<apiName>/<apiVersion>

The request URIs used in HTTP requests from the NF service consumer towards the VAE Server shall have the Resource URI structure defined in clause 4.4.1 of 3GPP TS 29.501 [3], i.e.:

{apiRoot}/<apiName>/<apiVersion>/<apiSpecificResourceUriPart>

with the following components:

– The {apiRoot} shall be set as described in 3GPP TS 29.501 [3].

– The <apiName> shall be "vae-hdmap-dynamic-info".

– The <apiVersion> shall be "v1".

– The <apiSpecificResourceUriPart> shall be set as described in clause 6.6.3.

6.6.2 Usage of HTTP

6.6.2.1 General

Support of HTTP/1.1 (IETF RFC 7230 [12], IETF RFC 7231 [13], IETF RFC 7232 [14], IETF RFC 7233 [15], IETF RFC 7234 [16] and IETF RFC 7235 [17]) over TLS is mandatory and support of HTTP/2 as specified in clause 5 of 3GPP TS 29.500 [2] is recommended. TLS shall be used as specified in 3GPP TS 33.536 [31] and 3GPP TS 33.501 [32]. A V2X application specific server desiring to use HTTP/2 shall use the HTTP upgrade mechanism to negotiate applicable HTTP version as described in IETF RFC 7540 [5].

HTTP/2, shall be transported as specified in clause 5.3 of 3GPP TS 29.500 [2].

An OpenAPI [6] specification of HTTP messages and content bodies for the VAE_HDMapDynamicInfo is contained in Annex A.4.

6.6.2.2 HTTP standard headers

6.6.2.2.1 General

See clause 5.2.2 of 3GPP TS 29.500 [2] for the usage of HTTP standard headers.

6.6.2.2.2 Content type

JSON, IETF RFC 8259 [7], shall be used as content type of the HTTP bodies specified in the present specification as specified in clause 5.4 of 3GPP TS 29.500 [2]. The use of the JSON format shall be signalled by the content type "application/json".

6.6.2.3 HTTP custom headers

6.6.2.3.1 General

The HTTP custom header fields specified in clause 5.2.8 of 3GPP TS 29.122 [22] may be applicable.

6.6.3 Resources

6.6.3.1 Overview

This clause describes the structure for the Resource URIs and the resources and methods used for the service.

Figure 6.6.3.1-1 depicts the resource URIs structure for the VAE_HDMapDynamicInfo API.

Figure 6.6.3.1-1: Resource URI structure of the VAE_HDMapDynamicInfo API

Table 6.6.3.1-1 provides an overview of the resources and applicable HTTP methods.

Table 6.6.3.1-1: Resources and methods overview

Resource name

Resource URI

HTTP method or custom operation

Description

HdMap DynamicInfo Subscription

/subscriptions

POST

Create a new Individual HdMap DynamicInfo Subscription resource for a V2X UE.

Individual HdMap DynamicInfo Subscription

/subscriptions/{subscriptionId}

GET

Read an HdMap DynamicInfo Subscription resource.

DELETE

Delete an HdMap DynamicInfo Subscription.

6.6.3.2 Resource: Subscriptions

6.6.3.2.1 Description

This resource represents the collection of the individual HdMap DynamicInfo Subscription resources created in the VAE Server.

6.6.3.2.2 Resource Definition

Resource URI: {apiRoot}/vae-hdmap-dynamic-info/<apiVersion>/subscriptions

This resource shall support the resource URI variables defined in table 6.6.3.2.2-1.

Table 6.6.3.2.2-1: Resource URI variables for this resource

Name

Data type

Definition

apiRoot

string

See clause 6.6.1

6.6.3.2.3 Resource Standard Methods
6.6.3.2.3.1 POST

This method shall support the URI query parameters specified in table 6.6.3.2.3.1-1.

Table 6.6.3.2.3.1-1: URI query parameters supported by the POST method on this resource

Name

Data type

P

Cardinality

Description

Applicability

n/a

This method shall support the request data structures specified in table 6.6.3.2.3.1-2 and the response data structures and response codes specified in table 6.6.3.2.3.1-3.

Table 6.6.3.2.3.1-2: Data structures supported by the POST Request Body on this resource

Data type

P

Cardinality

Description

HdMapDynamicInfoData

M

1

Parameters to create an individual HdMap DynamicInfo Subscription resource.

Table 6.6.3.2.3.1-3: Data structures supported by the POST Response Body on this resource

Data type

P

Cardinality

Response

codes

Description

HdMapDynamicInfoData

O

0..1

201 Created

An individual HdMap DynamicInfo Subscription resource for the V2X UE ID is created successfully.

NOTE: The mandatory HTTP error status codes for the POST method listed in table 5.2.7.1-1 of 3GPP TS 29.500 [2] shall also apply.

Table 6.6.3.2.3.1-4: Headers supported by the 201 Response Code on this resource

Name

Data type

P

Cardinality

Description

Location

string

M

1

Contains the URI of the newly created resource, according to the structure: {apiRoot}/vae-hdmap-dynamic-info/<apiVersion>/subscriptions/{subscriptionId}

6.6.3.2.4 Resource Custom Operations

None.

6.6.3.3 Resource: Individual HdMap DynamicInfo Subscription

6.6.3.3.1 Description

The individual HdMap DynamicInfo Subscription resource represents an individual Application Requirement created in the VAE Server and associated with the V2X UE ID.

6.6.3.3.2 Resource definition

Resource URI: {apiRoot}/vae-hdmap-dynamic-info/<apiVersion>/subscriptions/{subscriptionId}

This resource shall support the resource URI variables defined in table 6.6.3.3-1.

Table 6.6.3.3.2-1: Resource URI variables for this resource

Name

Data type

Definition

apiRoot

string

See clause 6.6.1

subscriptionId

string

Unique identifier of the individual HdMap DynamicInfo Subscription resource for the V2X UE ID.

6.6.3.3.3 Resource Standard Methods
6.6.3.3.3.1 GET

This method shall support the URI query parameters specified in table 6.6.3.3.3.1-1.

Table 6.6.3.3.3.1-1: URI query parameters supported by the GET method on this resource

Name

Data type

P

Cardinality

Description

n/a

This method shall support the request data structures specified in table 6.6.3.3.3.1-2 and the response data structures and response codes specified in table 6.6.3.3.3.1-3.

Table 6.6.3.3.3.1-2: Data structures supported by the GET Request Body on this resource

Data type

P

Cardinality

Description

n/a

Table 6.6.3.3.3.1-3: Data structures supported by the GET Response Body on this resource

Data type

P

Cardinality

Response codes

Description

HdMapDynamicInfoData

M

1

200 OK

An individual HdMap DynamicInfo Subscription resource for the V2X UE ID is returned successfully.

n/a

307 Temporary Redirect

Temporary redirection, during Individual HdMap DynamicInfo Subscription retrieval. The response shall include a Location header field containing an alternative URI of the resource located in an alternative VAE Server. Redirection handling is described in clause 5.2.10 of 3GPP TS 29.122 [22] with the difference: SCEF is replaced by the VAE Server and the SCS/AS is replaced by the V2X application specific server.

n/a

308 Permanent Redirect

Permanent redirection, during Individual HdMap DynamicInfo Subscription retrieval. The response shall include a Location header field containing an alternative URI of the resource located in an alternative VAE Server. Redirection handling is described in clause 5.2.10 of 3GPP TS 29.122 [22] with the difference: SCEF is replaced by the VAE Server and the SCS/AS is replaced by the V2X application specific server.

NOTE: The mandatory HTTP error status codes for the GET method listed in table 5.2.7.1-1 of 3GPP TS 29.500 [2] shall also apply.

Table 6.6.3.3.3.1-4: Headers supported by the 307 Response Code on this resource

Name

Data type

P

Cardinality

Description

Location

string

M

1

An alternative URI of the resource located in an alternative VAE Server.

Table 6.6.3.3.3.1-5: Headers supported by the 308 Response Code on this resource

Name

Data type

P

Cardinality

Description

Location

string

M

1

An alternative URI of the resource located in an alternative VAE Server.

6.6.3.3.3.2 DELETE

This method shall support the URI query parameters specified in table 6.6.3.3.3.2-1.

Table 6.6.3.3.3.2-1: URI query parameters supported by the DELETE method on this resource

Name

Data type

P

Cardinality

Description

n/a

This method shall support the request data structures specified in table 6.6.3.3.3.2-2 and the response data structures and response codes specified in table 6.6.3.3.3.2-3.

Table 6.6.3.3.3.2-2: Data structures supported by the DELETE Request Body on this resource

Data type

P

Cardinality

Description

n/a

Table 6.6.3.3.3.2-3: Data structures supported by the DELETE Response Body on this resource

Data type

P

Cardinality

Response

codes

Description

n/a

204 No Content

Individual HdMap DynamicInfo Subscription resource was successfully deleted

n/a

307 Temporary Redirect

Temporary redirection, during Individual HdMap DynamicInfo Subscription deletion. The response shall include a Location header field containing an alternative URI of the resource located in an alternative VAE Server. Redirection handling is described in clause 5.2.10 of 3GPP TS 29.122 [22] with the difference: SCEF is replaced by the VAE Server and the SCS/AS is replaced by the V2X application specific server.

n/a

308 Permanent Redirect

Permanent redirection, during HdMap DynamicInfo Subscription deletion. The response shall include a Location header field containing an alternative URI of the resource located in an alternative VAE Server. Redirection handling is described in clause 5.2.10 of 3GPP TS 29.122 [22] with the difference: SCEF is replaced by the VAE Server and the SCS/AS is replaced by the V2X application specific server.

NOTE: The mandatory HTTP error status code for the DELETE method listed in table 5.2.7.1-1 of 3GPP TS 29.500 [5] also apply.

Table 6.6.3.3.3.2-4: Headers supported by the 307 Response Code on this resource

Name

Data type

P

Cardinality

Description

Location

string

M

1

An alternative URI of the resource located in an alternative VAE Server.

Table 6.6.3.3.3.2-5: Headers supported by the 308 Response Code on this resource

Name

Data type

P

Cardinality

Description

Location

string

M

1

An alternative URI of the resource located in an alternative VAE Server.

6.6.3.4 Resource Custom Operations

None.

6.6.4 Custom Operations without associated resources

There are no custom operations without associated resources supported on VAE_HDMapDynamicInfo.

6.6.5 Notifications

6.6.5.1 General

The VAE server and NF service consumer shall support the delivery of Notifications using a separate HTTP connection towards an address as assigned the NF service consumer described in clause 6.6.5.2.

A VAE server and NF service consumer may support testing a notification connection as described in clause 6.6.5.3. A VAE server and NF service consumer may support the delivery of Notification using Websocket (IETF RFC 6455 [21]) as described in clause 6.6.5.4.

6.6.5.2 Notification Delivery using a separate HTTP connection

The descriptions in clause 5.2.5.2 of 3GPP TS 29.122 [22] apply with following differences:

– description of SCS/AS applies to the NF service consumer;

– description of SCEF applies to the VAE server; and

– "notificationDestination" attribute is replaced by the "notifUri" attribute.

6.6.5.3 Notification Test Event

The descriptions in clause 5.2.5.3 of 3GPP TS 29.122 [22] apply with following differences:

– description of SCS/AS applies to the NF service consumer; and

– description of SCEF applies to the VAE server.

6.6.5.4 Notification Delivery using Websocket

The descriptions in clause 5.2.5.4 of 3GPP TS 29.122 [22] apply with following differences:

– description of SCS/AS applies to the NF service consumer; and

– description of SCEF applies to the VAE server.

6.6.5.5 Methods

Table 6.6.5.5-1: Methods

Callback URI

HTTP method or custom operation

Description (service operation)

{notifUri}

POST

Notify the HD map dynamic information corresponding to the subscription.

6.6.5.6 Notify HD Map Dynamic Information

6.6.5.6.1 Description

This notification is used by the VAE Server to notify the HD Map Dynamic Information corresponding to the subscription.

6.6.5.6.2 Operation Definition

This operation shall support the request data structures specified in table 6.6.5.6.2-1 and the response data structure and response codes specified in table 6.6.5.6.2-2.

Table 6.6.5.6.2-1: Data structures supported by the POST Request Body on this resource

Data type

P

Cardinality

Description

HdMapDynamicInfoNotification

M

1

Notify the HD Map dynamic information corresponding to the subscription.

Table 6.6.5.6.2-2: Data structures supported by the POST Response Body on this resource

Data type

P

Cardinality

Response codes

Description

n/a

204 No Content

.

n/a

307 Temporary Redirect

Temporary redirection, during the notification. The response shall include a Location header field containing an alternative URI representing the end point of an alternative V2X application specific server where the notification should be sent. Redirection handling is described in clause 5.2.10 of 3GPP TS 29.122 [22] with the difference: SCEF is replaced by the VAE Server and the SCS/AS is replaced by the V2X application specific server.

n/a

308 Permanent Redirect

Permanent redirection, during the notification. The response shall include a Location header field containing an alternative URI representing the end point of an alternative V2X application specific server where the notification should be sent. Redirection handling is described in clause 5.2.10 of 3GPP TS 29.122 [22] with the difference: SCEF is replaced by the VAE Server and the SCS/AS is replaced by the V2X application specific server.

NOTE: The mandatory HTTP error status codes for the POST method listed in table 5.2.7.1-1 of 3GPP TS 29.500 [4] shall also apply.

Table 6.6.5.6.2-3: Headers supported by the 307 Response Code on this resource

Name

Data type

P

Cardinality

Description

Location

string

M

1

An alternative URI representing the end point of an alternative V2X application specific server towards which the notification should be redirected.

Table 6.6.5.6.2-4: Headers supported by the 308 Response Code on this resource

Name

Data type

P

Cardinality

Description

Location

string

M

1

An alternative URI representing the end point of an alternative V2X application specific server towards which the notification should be redirected.

6.6.6 Data Model

6.6.6.1 General

This clause specifies the application data model supported by the API.

Table 6.6.6.1-1 specifies the data types defined for the VAE_HDMapDynamicInfo API.

Table 6.6.6.1-1: VAE_HDMapDynamicInfo specific Data Types

Data type

Section defined

Description

Applicability

HdMapDynamicInfoData

6.6.6.2.2

Represents an individual HdMap DynamicInfo Subscription resource for a V2X UE ID.

HdMapDynamicInfoNotification

6.6.6.2.3

Represents a notificaton of HD map dynamic info corresponding to the subscription.

NearbyUeInfo

6.6.6.2.4

Represents the informaiotn of nearby UEs.

Table 6.6.6.1-2 specifies data types re-used by the VAE_HDMapDynamicInfo service based interface protocol from other specifications, including a reference to their respective specifications and when needed, a short description of their use within the VAE_HDMapDynamicInfo service based interface.

Table 6.6.6.1-2: VAE_HDMapDynamicInfo re-used Data Types

Data type

Reference

Comments

Applicability

SupportedFeatures

3GPP TS 29.571 [11]

Used to negotiate the applicability of the optional features.

TestNotification

3GPP TS 29.122 [22]

Represents a notification that can be sent to test whether a chosen notification mechanism works.

Notification_test_event

Uri

3GPP TS 29.571 [11]

Used to indicate an URI.

Uinteger

3GPP TS 29.571 [11]

Used to identify a range or distance in meters.

UserLocation

3GPP TS 29.571 [11]

Used to indicate a V2X user location.

V2xUeId

6.1.6.3.2

Identifier of the destination V2X UE

WebsockNotifConfig

3GPP TS 29.122 [22]

Pepresents configuration for the delivery of notifications over Websockets.

Notification_websocket

6.6.6.2 Structured data types

6.6.6.2.1 Introduction

This clause defines the structures to be used in resource representations.

6.6.6.2.2 Type: HdMapDynamicInfoData

Table 6.6.6.2.2-1: Definition of type HdMapDynamicInfoData

Attribute name

Data type

P

Cardinality

Description

Applicability

ueId

V2xUeId

M

1

V2X UE ID of the host vehicle

notifUri

Uri

M

1

Identifies the recipient of HD Map dynamice info notification sent by the VAE server.

range

Uinteger

M

1

Identifies the range in units of meters.

requestTestNotification

boolean

O

0..1

Set to true by the NF service consumer to request the VAE server to send a test notification as defined in clause 6.3.5.3. Set to false or omitted otherwise.

Notification_test_event

websockNotifConfig

WebsockNotifConfig

O

0..1

Configuration parameters to set up notification delivery over Websocket protocol as defined in clause 6.3.5.4.

Notification_websocket

suppFeat

SupportedFeatures

C

0..1

Indicates the features supported by the service consumer. It shall be included in the first interaction.

6.6.6.2.3 Type: HdMapDynamicInfoNotification

Table 6.6.6.2.3-1: Definition of type HdMapDynamicInfoNotification

Attribute name

Data type

P

Cardinality

Description

Applicability

resourceUri

Uri

M

1

The resource URI of the individual HdMap DynamicInfo Subscription related to the notification.

nearbyUeInfo

array(NearbyUeInfo)

M

1..N

Contains the informaiotn of nearby UEs.

6.6.6.2.4 Type: NearbyUeInfo

Table 6.6.6.2.4-1: Definition of type NearbyUeInfo

Attribute name

Data type

P

Cardinality

Description

Applicability

nearbyUeId

V2xUeId

M

1

The identifier of nearby V2X UE

location

UserLocation

M

1

Location information of the nearby V2X UE within the application defined proximity range

distance

Uinteger

M

1

Distance information of the nearby V2X UE in the units of meters.

6.6.6.3 Simple data types and enumerations

6.6.6.3.1 Introduction

This clause defines simple data types and enumerations that can be referenced from data structures defined in the previous clauses.

6.6.6.3.2 Simple data types

The simple data types defined in table 6.6.6.3.2-1 shall be supported.

Table 6.6.6.3.2-1: Simple data types

Type Name

Type Definition

Description

Applicability

6.6.7 Error Handling

6.6.7.1 General

HTTP error handling shall be supported as specified in clause 5.2.4 of 3GPP TS 29.500 [2].

For the VAE_HDMapDynamicInfo Service API, HTTP error responses shall be supported as specified in clause 4.8 of 3GPP TS 29.501 [3].

Protocol errors and application errors specified in table 5.2.7.2-1 of 3GPP TS 29.500 [2] shall be supported for an HTTP method if the corresponding HTTP status codes are specified as mandatory for that HTTP method in table 5.2.7.1-1 of 3GPP TS 29.500 [2].

In addition, the requirements in the following clauses are applicable for the VAE_HDMapDynamicInfo Service API.

6.6.7.2 Protocol Errors

In this Release of the specification, there are no additional protocol errors applicable for the VAE_HDMapDynamicInfo API.

6.6.7.3 Application Errors

The application errors defined for the VAE_HDMapDynamicInfo service are listed in table 6.6.7.3-1.

Table 6.6.7.3-1: Application errors

Application Error

HTTP status code

Description

6.6.8 Feature negotiation

The optional features in table 6.6.8-1 are defined for the VAE_HDMapDynamicInfo API. They shall be negotiated using the extensibility mechanism defined in clause 6.6 of 3GPP TS 29.500 [2].

Table 6.6.8-1: Supported Features

Feature number

Feature Name

Description

1

Notification_test_event

The testing of notification connection is supported according to clause 6.6.5.3.

2

Notification_websocket

The delivery of notifications over Websocket is supported according to clause 6.6.5.4. This feature requires that the Notification_test_event feature is also supported.