Method: Post
Summary: subscribe to notifications
Operation ID: Subscribe
Tags:
- Subscription Creation
Parameters:
- Name: ueId
In: path
Description: Identity of the user
Required/Optional: true
Schema:
Reference: 'TS29571_CommonData.yaml#/components/schemas/VarUeId'
Request Body:
Content:
Application/JSON:
Schema:
Reference: '#/components/schemas/SdmSubscription'
Required/Optional: true
Responses:
'201':
Description: Expected response to a valid request
Content:
Application/JSON:
Schema:
Reference: '#/components/schemas/SdmSubscription'
Headers:
Location:
description: 'Contains the URI of the newly created resource, according to the structure: {apiRoot}/nudm-sdm/<apiVersion>/{supi}/sdm-subscriptions/{subscriptionId}'
Required/Optional: true
Schema:
Type: string
'400':
Reference: 'TS29571_CommonData.yaml#/components/responses/400'
'404':
Reference: 'TS29571_CommonData.yaml#/components/responses/404'
'500':
Reference: 'TS29571_CommonData.yaml#/components/responses/500'
'501':
Reference: 'TS29571_CommonData.yaml#/components/responses/501'
'503':
Reference: 'TS29571_CommonData.yaml#/components/responses/503'
Default:
Description: Unexpected error
Callbacks:
datachangeNotification:
'{request.body#/callbackReference}':
Method: Post
Request Body:
Required/Optional: true
Content:
Application/JSON:
Schema:
Reference: '#/components/schemas/ModificationNotification'
Responses:
'204':
Description: Successful Notification response
'307':
Description: Temporary Redirect
Content:
application/problem+json:
Schema:
Reference: 'TS29571_CommonData.yaml#/components/schemas/ProblemDetails'
Headers:
Location:
Description: 'Contains the new Callback URI of the target NF Service Consumer (e.g. AMF) to which the request is redirected'
Required/Optional: true
Schema:
Type: string
'308':
Description: Permanent Redirect
Content:
application/problem+json:
Schema:
Reference: 'TS29571_CommonData.yaml#/components/schemas/ProblemDetails'
Headers:
Location:
Description: 'Contains the new Callback URI of the target NF Service Consumer (e.g. AMF) to which the request is redirected'
Required/Optional: true
Schema:
Type: string
'400':
Reference: 'TS29571_CommonData.yaml#/components/responses/400'
'404':
Reference: 'TS29571_CommonData.yaml#/components/responses/404'
'500':
Reference: 'TS29571_CommonData.yaml#/components/responses/500'
'503':
Reference: 'TS29571_CommonData.yaml#/components/responses/503'
Default:
Description: Unexpected error