/{scsAsId}/subscriptions/{subscriptionId}

get:

Summary: read an active subscriptions for the SCS/AS and the subscription Id

Tags:

- AsSessionWithQoS API Subscription level GET Operation

Parameters:

- name: scsAsId

In: path

Description: Identifier of the SCS/AS

Required/Optional: true

Schema:

Type: string

- name: subscriptionId

In: path

Description: Identifier of the subscription resource

Required/Optional: true

Schema:

Type: string

Responses:

'200' OK (Successful get the active subscription)

Content:

Application/JSON:

Schema:

Reference: '#/components/schemas/AsSessionWithQoSSubscription'

'400': Reference 'TS29122_CommonData.yaml#/components/responses/400'

'401': Reference 'TS29122_CommonData.yaml#/components/responses/401'

'403': Reference 'TS29122_CommonData.yaml#/components/responses/403'

'404': Reference 'TS29122_CommonData.yaml#/components/responses/404'

'406': Reference 'TS29122_CommonData.yaml#/components/responses/406'

'429': Reference 'TS29122_CommonData.yaml#/components/responses/429'

'500': Reference 'TS29122_CommonData.yaml#/components/responses/500'

'503': Reference 'TS29122_CommonData.yaml#/components/responses/503'

default: Reference 'TS29122_CommonData.yaml#/components/responses/default'

put:

Summary: Updates/replaces an existing subscription resource

Tags:

- AsSessionWithQoS API subscription level PUT Operation

Parameters:

- name: scsAsId

In: path

Description: Identifier of the SCS/AS

Required/Optional: true

Schema:

Type: string

- name: subscriptionId

In: path

Description: Identifier of the subscription resource

Required/Optional: true

Schema:

Type: string

Request Body:

Description: Parameters to update/replace the existing subscription

Required/Optional: true

Content:

Application/JSON:

Schema:

Reference: '#/components/schemas/AsSessionWithQoSSubscription'

Responses:

'200' OK (Successful update of the subscription)

Content:

Application/JSON:

Schema:

Reference: '#/components/schemas/AsSessionWithQoSSubscription'

'400': Reference 'TS29122_CommonData.yaml#/components/responses/400'

'401': Reference 'TS29122_CommonData.yaml#/components/responses/401'

'403': Reference 'TS29122_CommonData.yaml#/components/responses/403'

'404': Reference 'TS29122_CommonData.yaml#/components/responses/404'

'411': Reference 'TS29122_CommonData.yaml#/components/responses/411'

'413': Reference 'TS29122_CommonData.yaml#/components/responses/413'

'415': Reference 'TS29122_CommonData.yaml#/components/responses/415'

'429': Reference 'TS29122_CommonData.yaml#/components/responses/429'

'500': Reference 'TS29122_CommonData.yaml#/components/responses/500'

'503': Reference 'TS29122_CommonData.yaml#/components/responses/503'

default: Reference 'TS29122_CommonData.yaml#/components/responses/default'

patch:

Summary: Updates/replaces an existing subscription resource

Tags:

- AsSessionWithQoS API subscription level PATCH Operation

Parameters:

- name: scsAsId

In: path

Description: Identifier of the SCS/AS

Required/Optional: true

Schema:

Type: string

- name: subscriptionId

In: path

Description: Identifier of the subscription resource

Required/Optional: true

Schema:

Type: string

Request Body:

Required/Optional: true

Content:

application/merge-patch+json:

Schema:

Reference: '#/components/schemas/AsSessionWithQoSSubscriptionPatch'

Responses:

'200' OK. The subscription was modified successfully.

Content:

Application/JSON:

Schema:

Reference: '#/components/schemas/AsSessionWithQoSSubscription'

'400': Reference 'TS29122_CommonData.yaml#/components/responses/400'

'401': Reference 'TS29122_CommonData.yaml#/components/responses/401'

'403': Reference 'TS29122_CommonData.yaml#/components/responses/403'

'404': Reference 'TS29122_CommonData.yaml#/components/responses/404'

'411': Reference 'TS29122_CommonData.yaml#/components/responses/411'

'413': Reference 'TS29122_CommonData.yaml#/components/responses/413'

'415': Reference 'TS29122_CommonData.yaml#/components/responses/415'

'429': Reference 'TS29122_CommonData.yaml#/components/responses/429'

'500': Reference 'TS29122_CommonData.yaml#/components/responses/500'

'503': Reference 'TS29122_CommonData.yaml#/components/responses/503'

default: Reference 'TS29122_CommonData.yaml#/components/responses/default'

delete:

Summary: Deletes an already existing subscription

Tags:

- AsSessionWithQoS API Subscription level DELETE Operation

Parameters:

- name: scsAsId

In: path

Description: Identifier of the SCS/AS

Required/Optional: true

Schema:

Type: string

- name: subscriptionId

In: path

Description: Identifier of the subscription resource

Required/Optional: true

Schema:

Type: string

Responses:

'204' No Content (Successful deletion of the existing subscription)

'400': Reference 'TS29122_CommonData.yaml#/components/responses/400'

'401': Reference 'TS29122_CommonData.yaml#/components/responses/401'

'403': Reference 'TS29122_CommonData.yaml#/components/responses/403'

'404': Reference 'TS29122_CommonData.yaml#/components/responses/404'

'429': Reference 'TS29122_CommonData.yaml#/components/responses/429'

'500': Reference 'TS29122_CommonData.yaml#/components/responses/500'

'503': Reference 'TS29122_CommonData.yaml#/components/responses/503'

default: Reference 'TS29122_CommonData.yaml#/components/responses/default'