6.1.3 Resources

29.5103GPP5G SystemNetwork function repository servicesRelease 18Stage 3TS

6.1.3.1 Overview

The structure of the Resource URIs of the NFManagement service is shown in figure 6.1.3.1-1.

Figure 6.1.3.1-1: Resource URI structure of the NFManagement API

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

Table 6.1.3.1-1: Resources and methods overview

Resource name

Resource URI

HTTP method or custom operation

Description

nf-instances

(Store)

/nf-instances

GET

Read a collection of NF Instances.

OPTIONS

Discover the communication options supported by the NRF for this resource.

nf-instance

(Document)

/nf-instances/{nfInstanceID}

GET

Read the profile of a given NF Instance.

PUT

Register in NRF a new NF Instance, or replace the profile of an existing NF Instance, by providing an NF profile.

PATCH

Modify the NF profile of an existing NF Instance.

DELETE

Deregister from NRF a given NF Instance.

subscriptions

(Collection)

/subscriptions

POST

Creates a new subscription in NRF to newly registered NF Instances.

subscription

(Document)

/subscriptions/{subscriptionID}

PATCH

Updates an existing subscription in NRF.

DELETE

Deletes an existing subscription from NRF.

Notification Callback

{nfStatusNotificationUri}

POST

Notify about newly created NF Instances, or about changes of the profile of a given NF Instance.

6.1.3.2 Resource: nf-instances (Store)

6.1.3.2.1 Description

This resource represents a collection of the different NF instances registered in the NRF.

This resource is modelled as the Store resource archetype (see clause C.3 of 3GPP TS 29.501 [5]).

6.1.3.2.2 Resource Definition

Resource URI: {apiRoot}/nnrf-nfm/v1/nf-instances

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

Table 6.1.3.2.2-1: Resource URI variables for this resource

Name

Data type

Definition

apiRoot

string

See clause 6.1.1

6.1.3.2.3 Resource Standard Methods

6.1.3.2.3.1 GET

This method retrieves a list of all NF instances currently registered in the NRF. This method shall support the URI query parameters specified in table 6.1.3.2.3.1-1.

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

Name

Data type

P

Cardinality

Description

nf-type

NFType

O

0..1

The type of NF to restrict the list of returned NF Instances.

limit

integer

C

0..1

Maximum number of items to be returned in this query; this parameter should only be provided if the "nf-type" parameter is provided.

If the "page-number" and "page-size" parameters are present, the "limit" parameter shall be absent.

page-number

integer

C

0..1

This parameter shall be present if the NF Service Consumer requests the retrieval of NF Instance URIs based on pages (i.e. a subset of the total number of items).

If present, it shall contain the page number to retrieve.

The total number of pages available, N, can be determined based on the "totalItemCount" attribute of the response (see clause 6.1.6.2.25) as:

N = ceiling(totalItemCount / page-size)

The first page shall be identified by "page-number" set to 1.

Minimum: 1

(See NOTE 1, NOTE 2)

page-size

integer

C

0..1

This parameter shall be present if the NF Service Consumer requests the retrieval of NF Instance URIs based on pages.

If present, it shall contain the maximum number of items to be returned per page.

Minimum: 1

(See NOTE 1, NOTE 2)

NOTE 1: The parameters "page-number" and "page-size" shall be either both present, or both absent.

NOTE 2: If the NRF supports the pagination query parameters, it shall ensure that the response to these requests always return the same set of items for the same query parameters, as long as the ETag of the collection resource is not changed.

EXAMPLE: The NF Service Consumer can retrieve the whole set of NF Instances URIs available in the NRF, using paginated requests, by issuing multiple GET requests, as:

GET …/nnrf-nfm/v1/nf-instances?page-number=1&page-size=100

(returns items from 0 to 99)

GET …/nnrf-nfm/v1/nf-instances?page-number=2&page-size=100

(returns items from 100 to 199)

GET …/nnrf-nfm/v1/nf-instances?page-number=N&page-size=100

(returns items from (N-1)*100 up to totalItemCount-1)

where the first N-1 requests return 100 items each, and the last request (page-number=N) returns between 1 and 100 items.

The NF Service Consumer can also retrieve arbitrary page numbers and page sizes, independently from any prior request previously issued; e.g.

GET …/nnrf-nfm/v1/nf-instances?page-number=4&page-size=50

(returns items from 150 to 199; assuming totalItemCount >= 200)

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

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

Data type

P

Cardinality

Description

n/a

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

Data type

P

Cardinality

Response

codes

Description

UriList

M

1

200 OK

The response body contains a "_links" object containing the URI of each registered NF in the NRF.

If there are no NFs to return in the query result (e.g., because there are no registered NFs in the NRF, or because there are no matching NFs of the type specified in the "nf-type" query parameter, currently registered in the NRF), the "_links" attribute may be absent or, if present, it shall contain only the "self" attribute (i.e. the "item" attribute shall be absent).

RedirectResponse

O

0..1

307 Temporary Redirect

The NRF shall generate a Location header field containing a URI pointing to the endpoint of another NRF service instance to which the request should be sent.

If an SCP redirects the message to another SCP then the location header field shall contain the same URI or a different URI pointing to the endpoint of the NF service producer to which the request should be sent.

RedirectResponse

O

0..1

308 Permanent Redirect

The NRF shall generate a Location header field containing a URI pointing to the endpoint of another NRF service instance to which the request should be sent.

If an SCP redirects the message to another SCP then the location header field shall contain the same URI or a different URI pointing to the endpoint of the NF service producer to which the request should be sent.

NOTE: The mandatory HTTP error status codes for the GET method listed in Table 5.2.7.1-1 of 3GPP TS 29.500 [4] other than those specified in the table above also apply, with a ProblemDetails data type (see clause 5.2.7 of 3GPP TS 29.500 [4]).

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

Name

Data type

P

Cardinality

Description

Location

string

M

1

A URI pointing to the endpoint of the NRF service instance to which the request should be sent

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

Name

Data type

P

Cardinality

Description

Location

string

M

1

A URI pointing to the endpoint of the NRF service instance to which the request should be sent

Table 6.1.3.2.3.1-6: Headers supported by the 200 Response Code on this resource

Name

Data type

P

Cardinality

Description

ETag

string

C

0..1

Entity Tag containing a strong validator, described in IETF RFC 7232 [19], clause 2.3.

In this resource, this header shall contain a different value if the list of NF instances (regardless of the contents of each NF instance profile) stored in the NRF has changed; i.e. it shall change if there are new instances added to the NRF, or if existing instances are removed from the NRF.

If the NF Service Consumer, during the course of successive paginated requests, receives a different ETag value, it shall conclude that the list of NF Instances in the NRF has changed, so it may re-start the paginated NFListRetrieval service operation.

6.1.3.2.3.2 OPTIONS

This method queries the communication options supported by the NRF (see clause 6.9 of 3GPP TS 29.500 [4]). This method shall support the URI query parameters specified in table 6.1.3.2.3.2-1.

Table 6.1.3.2.3.2-1: URI query parameters supported by the OPTIONS method on this resource

Name

Data type

P

Cardinality

Description

n/a

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

Table 6.1.3.2.3.2-2: Data structures supported by the OPTIONS Request Body on this resource

Data type

P

Cardinality

Description

n/a

Table 6.1.3.2.3.2-3: Data structures supported by the OPTIONS Response Body on this resource

Data type

P

Cardinality

Response

codes

Description

n/a

204 No Content

OptionsResponse

M

1

200 OK

RedirectResponse

O

0..1

307 Temporary Redirect

The NRF shall generate a Location header field containing a URI pointing to the endpoint of another NRF service instance to which the request should be sent.

If an SCP redirects the message to another SCP then the location header field shall contain the same URI or a different URI pointing to the endpoint of the NF service producer to which the request should be sent.

RedirectResponse

O

0..1

308 Permanent Redirect

The NRF shall generate a Location header field containing a URI pointing to the endpoint of another NRF service instance to which the request should be sent.

If an SCP redirects the message to another SCP then the location header field shall contain the same URI or a different URI pointing to the endpoint of the NF service producer to which the request should be sent.

ProblemDetails

O

0..1

405 Method Not Allowed

ProblemDetails

O

0..1

501 Not Implemented

NOTE: The mandatory HTTP error status codes for the OPTIONS method listed in Table 5.2.7.1-1 of 3GPP TS 29.500 [4] other than those specified in the table above also apply, with a ProblemDetails data type (see clause 5.2.7 of 3GPP TS 29.500 [4]).

Table 6.1.3.2.3.2-4: Headers supported by the 200 Response Code on this resource

Name

Data type

P

Cardinality

Description

Accept-Encoding

string

O

0..1

Accept-Encoding, described in IETF RFC 7694 [41]

Table 6.1.3.2.3.2-5: Headers supported by the 307 Response Code on this resource

Name

Data type

P

Cardinality

Description

Location

string

M

1

A URI pointing to the endpoint of the NRF service instance to which the request should be sent

Table 6.1.3.2.3.2-6: Headers supported by the 308 Response Code on this resource

Name

Data type

P

Cardinality

Description

Location

string

M

1

A URI pointing to the endpoint of the NRF service instance to which the request should be sent

6.1.3.2.4 Resource Custom Operations

There are no resource custom operations for the Nnrf_NFManagement service in this release of the specification.

6.1.3.3 Resource: nf-instance (Document)

6.1.3.3.1 Description

This resource represents a single NF instance.

6.1.3.3.2 Resource Definition

Resource URI: {apiRoot}/nnrf-nfm/v1/nf-instances/{nfInstanceID}

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

Table 6.1.3.3.2-1: Resource URI variables for this resource

Name

Data type

Definition

apiRoot

string

See clause 6.1.1

nfInstanceID

NfInstanceId

Represents a specific NF Instance

6.1.3.3.3 Resource Standard Methods

6.1.3.3.3.1 GET

This method retrieves the NF Profile of a given NF instance.

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

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

Name

Data type

P

Cardinality

Description

requester-features

SupportedFeatures

C

0..1

Nnrf_NFManagement features supported by the NF Service Consumer that is invoking the Nnrf_NFManagement service. See clause 6.1.9.

This IE shall be included if at least one feature is supported by the NF Service Consumer.

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

Table 6.1.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.1.3.3.3.1-3: Data structures supported by the GET Response Body on this resource

Data type

P

Cardinality

Response

codes

Description

NFProfile

M

1

200 OK

The response body contains the profile of a given NF Instance.

RedirectResponse

O

0..1

307 Temporary Redirect

The NRF shall generate a Location header field containing a URI pointing to the endpoint of another NRF service instance to which the request should be sent.

If an SCP redirects the message to another SCP then the location header field shall contain the same URI or a different URI pointing to the endpoint of the NF service producer to which the request should be sent.

RedirectResponse

O

0..1

308 Permanent Redirect

The NRF shall generate a Location header field containing a URI pointing to the endpoint of another NRF service instance to which the request should be sent.

If an SCP redirects the message to another SCP then the location header field shall contain the same URI or a different URI pointing to the endpoint of the NF service producer to which the request should be sent.

NOTE: The mandatory HTTP error status codes for the GET method listed in Table 5.2.7.1-1 of 3GPP TS 29.500 [4] other than those specified in the table above also apply, with a ProblemDetails data type (see clause 5.2.7 of 3GPP TS 29.500 [4]).

Table 6.1.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

A URI pointing to the endpoint of the NRF service instance to which the request should be sent

Table 6.1.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

A URI pointing to the endpoint of the NRF service instance to which the request should be sent

Table 6.1.3.3.3.1-6: Headers supported by the 200 Response Code on this resource

Name

Data type

P

Cardinality

Description

ETag

string

C

0..1

Entity Tag containing a strong validator, described in IETF RFC 7232 [19], clause 2.3

6.1.3.3.3.2 PUT

This method registers a new NF instance in the NRF, or replaces completely an existing NF instance.

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

Table 6.1.3.3.3.2-1: URI query parameters supported by the PUT method on this resource

Name

Data type

P

Cardinality

Description

n/a

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

Table 6.1.3.3.3.2-2: Data structures supported by the PUT Request Body on this resource

Data type

P

Cardinality

Description

NFProfile

M

1

Profile of the NF Instance to be registered, or completely replaced, in NRF.

Table 6.1.3.3.3.2-3: Data structures supported by the PUT Response Body on this resource

Data type

P

Cardinality

Response

codes

Description

NFProfile

M

1

200 OK

This case represents the successful replacement of an existing NF Instance profile.

Upon success, a response body is returned containing the replaced profile of the NF Instance.

NFProfile

M

1

201 Created

This case represents the successful registration of a new NF Instance.

Upon success, a response body is returned containing the newly created NF Instance profile; also, the HTTP response shall include a "Location" HTTP header that contains the resource URI of the created NF Instance.

RedirectResponse

O

0..1

307 Temporary Redirect

The NRF shall generate a Location header field containing a URI pointing to the endpoint of another NRF service instance to which the request should be sent.

If an SCP redirects the message to another SCP then the location header field shall contain the same URI or a different URI pointing to the endpoint of the NF service producer to which the request should be sent.

RedirectResponse

O

0..1

308 Permanent Redirect

The NRF shall generate a Location header field containing a URI pointing to the endpoint of another NRF service instance to which the request should be sent.

If an SCP redirects the message to another SCP then the location header field shall contain the same URI or a different URI pointing to the endpoint of the NF service producer to which the request should be sent.

NOTE: The mandatory HTTP error status codes for the PUT method listed in Table 5.2.7.1-1 of 3GPP TS 29.500 [4] other than those specified in the table above also apply, with a ProblemDetails data type (see clause 5.2.7 of 3GPP TS 29.500 [4]).

Table 6.1.3.3.3.2-4: Headers supported by the PUT method on this resource

Name

Data type

P

Cardinality

Description

Content-Encoding

string

O

0..1

Content-Encoding, described in IETF RFC 7231 [40]

Table 6.1.3.3.3.2-5: Headers supported by the 200 Response Code on this resource

Name

Data type

P

Cardinality

Description

Accept-Encoding

string

O

0..1

Accept-Encoding, described in IETF RFC 7694 [41]

ETag

string

C

0..1

Entity Tag containing a strong validator, described in IETF RFC 7232 [19], clause 2.3

Table 6.1.3.3.3.2-6: 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}/nnrf-nfm/v1/nf-instances/{nfInstanceId}

Accept-Encoding

string

O

0..1

Accept-Encoding, described in IETF RFC 7694 [41]

ETag

string

C

0..1

Entity Tag containing a strong validator, described in IETF RFC 7232 [19], clause 2.3

Table 6.1.3.3.3.2-7: Headers supported by the 307 Response Code on this resource

Name

Data type

P

Cardinality

Description

Location

string

M

1

A URI pointing to the endpoint of the NRF service instance to which the request should be sent

Table 6.1.3.3.3.2-8: Headers supported by the 308 Response Code on this resource

Name

Data type

P

Cardinality

Description

Location

string

M

1

A URI pointing to the endpoint of the NRF service instance to which the request should be sent

6.1.3.3.3.3 PATCH

This method updates partially the profile of a given NF instance.

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

Table 6.1.3.3.3.3-1: URI query parameters supported by the PATCH method on this resource

Name

Data type

P

Cardinality

Description

n/a

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

Table 6.1.3.3.3.3-2: Data structures supported by the PATCH Request Body on this resource

Data type

P

Cardinality

Description

array(PatchItem)

M

1

It contains the list of changes to be made to the profile of the NF Instance, according to the JSON PATCH format specified in IETF RFC 6902 [13].

Table 6.1.3.3.3.3-3: Data structures supported by the PATCH Response Body on this resource

Data type

P

Cardinality

Response

codes

Description

NFProfile

M

1

200 OK

Upon success, a response body is returned containing the updated profile of the NF Instance.

n/a

204 No Content

Successful response sent when there is no need to provide a full updated profile of the NF Instance (e.g., in the Heart-Beat operation response described in clause 5.2.2.3.2).

RedirectResponse

O

0..1

307 Temporary Redirect

The NRF shall generate a Location header field containing a URI pointing to the endpoint of another NRF service instance to which the request should be sent.

If an SCP redirects the message to another SCP then the location header field shall contain the same URI or a different URI pointing to the endpoint of the NF service producer to which the request should be sent.

RedirectResponse

O

0..1

308 Permanent Redirect

The NRF shall generate a Location header field containing a URI pointing to the endpoint of another NRF service instance to which the request should be sent.

If an SCP redirects the message to another SCP then the location header field shall contain the same URI or a different URI pointing to the endpoint of the NF service producer to which the request should be sent.

ProblemDetails

O

0..1

412 Precondition Failed

The modification has failed due to the precondition in the request is not fulfilled.

ProblemDetails

O

0..1

409 Conflict

The modification has failed due to confliction (e.g. to change a value of a non-existing IE).

NOTE: The mandatory HTTP error status codes for the PATCH method listed in Table 5.2.7.1-1 of 3GPP TS 29.500 [4] other than those specified in the table above also apply, with a ProblemDetails data type (see clause 5.2.7 of 3GPP TS 29.500 [4]).

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

Name

Data type

P

Cardinality

Description

Location

string

M

1

A URI pointing to the endpoint of the NRF service instance to which the request should be sent

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

Name

Data type

P

Cardinality

Description

Location

string

M

1

A URI pointing to the endpoint of the NRF service instance to which the request should be sent

Table 6.1.3.3.3.3-6: Headers supported by the PATCH method on this resource

Name

Data type

P

Cardinality

Description

If-Match

string

C

0..1

Validator for conditional requests, as described in IETF RFC 7232 [19], clause 3.2.

Table 6.1.3.3.3.3-7: Headers supported by the 200 Response Code on this resource

Name

Data type

P

Cardinality

Description

ETag

string

C

0..1

Entity Tag containing a strong validator, described in IETF RFC 7232 [19], clause 2.3.

6.1.3.3.3.4 DELETE

This method deregisters an existing NF instance from the NRF.

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

Table 6.1.3.3.3.4-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.1.3.3.3.4-2 and the response data structures and response codes specified in table 6.1.3.3.3.4-3.

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

Data type

P

Cardinality

Description

n/a

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

Data type

P

Cardinality

Response

codes

Description

n/a

204 No Content

RedirectResponse

O

0..1

307 Temporary Redirect

The NRF shall generate a Location header field containing a URI pointing to the endpoint of another NRF service instance to which the request should be sent.

If an SCP redirects the message to another SCP then the location header field shall contain the same URI or a different URI pointing to the endpoint of the NF service producer to which the request should be sent.

RedirectResponse

O

0..1

308 Permanent Redirect

The NRF shall generate a Location header field containing a URI pointing to the endpoint of another NRF service instance to which the request should be sent.

If an SCP redirects the message to another SCP then the location header field shall contain the same URI or a different URI pointing to the endpoint of the NF service producer to which the request should be sent.

NOTE: The mandatory HTTP error status codes for the DELETE method listed in Table 5.2.7.1-1 of 3GPP TS 29.500 [4] other than those specified in the table above also apply, with a ProblemDetails data type (see clause 5.2.7 of 3GPP TS 29.500 [4]).

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

Name

Data type

P

Cardinality

Description

Location

string

M

1

A URI pointing to the endpoint of the NRF service instance to which the request should be sent

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

Name

Data type

P

Cardinality

Description

Location

string

M

1

A URI pointing to the endpoint of the NRF service instance to which the request should be sent

6.1.3.4 Resource: subscriptions (Collection)

6.1.3.4.1 Description

This resource represents a collection of subscriptions of NF Instances to newly registered NF Instances.

6.1.3.4.2 Resource Definition

Resource URI: {apiRoot}/nnrf-nfm/v1/subscriptions

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

Table 6.1.3.4.2-1: Resource URI variables for this resource

Name

Data type

Definition

apiRoot

string

See clause 6.1.1

6.1.3.4.3 Resource Standard Methods

6.1.3.4.3.1 POST

This method creates a new subscription. This method shall support the URI query parameters specified in table 6.1.3.4.3.1-1.

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

Name

Data type

P

Cardinality

Description

n/a

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

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

Data type

P

Cardinality

Description

SubscriptionData

M

1

The request body contains the input parameters for the subscription. These parameters include, e.g.:

– Target NF type

– Target Service Name

– Callback URI of the Requester NF

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

Data type

P

Cardinality

Response

codes

Description

SubscriptionData

M

1

201 Created

This case represents the successful creation of a subscription.

Upon success, the HTTP response shall include a "Location" HTTP header that contains the resource URI of the created resource.

RedirectResponse

O

0..1

307 Temporary Redirect

The NRF shall generate a Location header field containing a URI pointing to the endpoint of another NRF service instance to which the request should be sent.

If an SCP redirects the message to another SCP then the location header field shall contain the same URI or a different URI pointing to the endpoint of the NF service producer to which the request should be sent.

RedirectResponse

O

0..1

308 Permanent Redirect

The NRF shall generate a Location header field containing a URI pointing to the endpoint of another NRF service instance to which the request should be sent.

If an SCP redirects the message to another SCP then the location header field shall contain the same URI or a different URI pointing to the endpoint of the NF service producer to which the request should be sent.

ProblemDetails

O

0..1

403 Forbidden

The "cause" attribute may be used to indicate one of the following application errors:

– SUBSCRIPTION_NOT_ALLOWED

ProblemDetails

O

0..1

404 Not Found

The "cause" attribute may be used to indicate one of the following application errors:

– NF_NOT_FOUND

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] other than those specified in the table above also apply, with a ProblemDetails data type (see clause 5.2.7 of 3GPP TS 29.500 [4]).

Table 6.1.3.4.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}/nnrf-nfm/v1/subscriptions/{subscriptionId}

Table 6.1.3.4.3.1-5: Headers supported by the 307 Response Code on this resource

Name

Data type

P

Cardinality

Description

Location

string

M

1

A URI pointing to the endpoint of the NRF service instance to which the request should be sent

Table 6.1.3.4.3.1-6: Headers supported by the 308 Response Code on this resource

Name

Data type

P

Cardinality

Description

Location

string

M

1

A URI pointing to the endpoint of the NRF service instance to which the request should be sent

6.1.3.5 Resource: subscription (Document)

6.1.3.5.1 Description

This resource represents an individual subscription of a given NF Instance to newly registered NF Instances.

6.1.3.5.2 Resource Definition

Resource URI: {apiRoot}/nnrf-nfm/v1/subscriptions/{subscriptionID}

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

Table 6.1.3.5.2-1: Resource URI variables for this resource

Name

Data type

Definition

apiRoot

string

See clause 6.1.1

subscriptionID

string

Represents a specific subscription

6.1.3.5.3 Resource Standard Methods

6.1.3.5.3.1 DELETE

This method terminates an existing subscription. This method shall support the URI query parameters specified in table 6.1.3.5.3.1-1.

Table 6.1.3.5.3.1-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.1.3.5.3.1-2 and the response data structures and response codes specified in table 6.1.3.5.3.1-3.

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

Data type

P

Cardinality

Description

n/a

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

Data type

P

Cardinality

Response

codes

Description

n/a

204 No Content

RedirectResponse

O

0..1

307 Temporary Redirect

The NRF shall generate a Location header field containing a URI pointing to the endpoint of another NRF service instance to which the request should be sent.

If an SCP redirects the message to another SCP then the location header field shall contain the same URI or a different URI pointing to the endpoint of the NF service producer to which the request should be sent.

RedirectResponse

O

0..1

308 Permanent Redirect

The NRF shall generate a Location header field containing a URI pointing to the endpoint of another NRF service instance to which the request should be sent.

If an SCP redirects the message to another SCP then the location header field shall contain the same URI or a different URI pointing to the endpoint of the NF service producer to which the request should be sent.

NOTE: The mandatory HTTP error status codes for the DELETE method listed in Table 5.2.7.1-1 of 3GPP TS 29.500 [4] other than those specified in the table above also apply, with a ProblemDetails data type (see clause 5.2.7 of 3GPP TS 29.500 [4]).

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

Name

Data type

P

Cardinality

Description

Location

string

M

1

A URI pointing to the endpoint of the NRF service instance to which the request should be sent

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

Name

Data type

P

Cardinality

Description

Location

string

M

1

A URI pointing to the endpoint of the NRF service instance to which the request should be sent

6.1.3.5.3.2 PATCH

This method updates an existing subscription. This method shall support the URI query parameters specified in table 6.1.3.5.3.2-1.

Table 6.1.3.5.3.2-1: URI query parameters supported by the PATCH method on this resource

Name

Data type

P

Cardinality

Description

n/a

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

Table 6.1.3.5.3.2-2: Data structures supported by the PATCH Request Body on this resource

Data type

P

Cardinality

Description

array(PatchItem)

M

1..N

It contains the list of changes to be made to an individual subscription, according to the JSON PATCH format specified in IETF RFC 6902 [13].

Table 6.1.3.5.3.2-3: Data structures supported by the PATCH Response Body on this resource

Data type

P

Cardinality

Response

codes

Description

SubscriptionData

M

1

200 OK

n/a

204 No Content

RedirectResponse

O

0..1

307 Temporary Redirect

The NRF shall generate a Location header field containing a URI pointing to the endpoint of another NRF service instance to which the request should be sent.

If an SCP redirects the message to another SCP then the location header field shall contain the same URI or a different URI pointing to the endpoint of the NF service producer to which the request should be sent.

RedirectResponse

O

0..1

308 Permanent Redirect

The NRF shall generate a Location header field containing a URI pointing to the endpoint of another NRF service instance to which the request should be sent.

If an SCP redirects the message to another SCP then the location header field shall contain the same URI or a different URI pointing to the endpoint of the NF service producer to which the request should be sent.

ProblemDetails

O

0..1

404 Not Found

The "cause" attribute may be used to indicate one of the following application errors:

– NF_NOT_FOUND

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

Name

Data type

P

Cardinality

Description

Location

string

M

1

A URI pointing to the endpoint of the NRF service instance to which the request should be sent

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

Name

Data type

P

Cardinality

Description

Location

string

M

1

A URI pointing to the endpoint of the NRF service instance to which the request should be sent