/app-sessions/{appSessionId}/events-subscription
put:
Summary: "creates or modifies an Events Subscription subresource"
Operation ID: updateEventsSubsc
Tags:
- Events Subscription (Document)
Parameters:
- name: appSessionId
Description: string identifying the Events Subscription resource
In: path
Required/Optional: true
Schema:
Type: string
Request Body:
Description: Creation or modification of an Events Subscription resource.
Required/Optional: true
Content:
Application/JSON:
Schema:
Reference: '#/components/schemas/EventsSubscReqData'
Responses:
'201' The creation of the Events Subscription resource is confirmed and its representation is returned.
Content:
Application/JSON:
Schema:
anyOf:
- $ref: '#/components/schemas/EventsSubscReqData'
- $ref: '#/components/schemas/EventsNotification'
Headers:
Location:
Description: 'Contains the URI of the created Events Subscription resource, according to the structure: {apiRoot}/npcf-policyauthorization/v1/app-sessions/{appSessionId}/events-subscription}'
Required/Optional: true
Schema:
Type: string
'200' The modification of the of the Events Subscription resource is confirmed its representation is returned.
Content:
Application/JSON:
Schema:
anyOf:
- $ref: '#/components/schemas/EventsSubscReqData'
- $ref: '#/components/schemas/EventsNotification'
'204' The modification of the Events Subscription subresource is confirmed without returning additional data.
'400': Reference 'TS29571_CommonData.yaml#/components/responses/400'
'401': Reference 'TS29571_CommonData.yaml#/components/responses/401'
'403': Reference 'TS29571_CommonData.yaml#/components/responses/403'
'404': Reference 'TS29571_CommonData.yaml#/components/responses/404'
'411': Reference 'TS29571_CommonData.yaml#/components/responses/411'
'413': Reference 'TS29571_CommonData.yaml#/components/responses/413'
'415': Reference 'TS29571_CommonData.yaml#/components/responses/415'
'429': Reference 'TS29571_CommonData.yaml#/components/responses/429'
'500': Reference 'TS29571_CommonData.yaml#/components/responses/500'
'503': Reference 'TS29571_CommonData.yaml#/components/responses/503'
default: Reference 'TS29571_CommonData.yaml#/components/responses/default'
Callbacks:
eventNotification:
'{$request.body#/notifUri}/notify':
Method: Post
Request Body:
Description: Contains the information for the notification of an event occurrence in the PCF.
Content:
Application/JSON:
Schema:
Reference: '#/components/schemas/EventsNotification'
Responses:
'204' The receipt of the notification is acknowledged.
'400': Reference 'TS29571_CommonData.yaml#/components/responses/400'
'401': Reference 'TS29571_CommonData.yaml#/components/responses/401'
'403': Reference 'TS29571_CommonData.yaml#/components/responses/403'
'404': Reference 'TS29571_CommonData.yaml#/components/responses/404'
'411': Reference 'TS29571_CommonData.yaml#/components/responses/411'
'413': Reference 'TS29571_CommonData.yaml#/components/responses/413'
'415': Reference 'TS29571_CommonData.yaml#/components/responses/415'
'429': Reference 'TS29571_CommonData.yaml#/components/responses/429'
'500': Reference 'TS29571_CommonData.yaml#/components/responses/500'
'503': Reference 'TS29571_CommonData.yaml#/components/responses/503'
default: Reference 'TS29571_CommonData.yaml#/components/responses/default'
delete:
Summary: deletes the Events Subscription subresource
Operation ID: DeleteEventsSubsc
Tags:
- Events Subscription (Document)
Parameters:
- name: appSessionId
Description: string identifying the Individual Application Session Context resource
In: path
Required/Optional: true
Schema:
Type: string
Responses:
'204' The deletion of the of the Events Subscription sub-resource is confirmed without returning additional data.
'400': Reference 'TS29571_CommonData.yaml#/components/responses/400'
'401': Reference 'TS29571_CommonData.yaml#/components/responses/401'
'403': Reference 'TS29571_CommonData.yaml#/components/responses/403'
'404': Reference 'TS29571_CommonData.yaml#/components/responses/404'
'429': Reference 'TS29571_CommonData.yaml#/components/responses/429'
'500': Reference 'TS29571_CommonData.yaml#/components/responses/500'
'503': Reference 'TS29571_CommonData.yaml#/components/responses/503'
default: Reference 'TS29571_CommonData.yaml#/components/responses/default'