forked from jdegre/5GC_APIs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
TS26512_M1_ProvisioningSessions.yaml
99 lines (99 loc) · 3.36 KB
/
TS26512_M1_ProvisioningSessions.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
openapi: 3.0.0
info:
title: M1_ProvisioningSessions
version: 1.0.0
description: |
5GMS AF M1 Provisioning Sessions API
© 2021, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC).
All rights reserved.
tags:
- name: M1_ProvisioningSessions
description: '5G Media Streaming: Provisioning (M1) APIs: Provisioning Sessions'
externalDocs:
description: 'TS 26.512 V16.2.0; 5G Media Streaming (5GMS); Protocols'
url: 'https://www.3gpp.org/ftp/Specs/archive/26_series/26.512/'
servers:
- url: '{apiRoot}/3gpp-m1/v1'
variables:
apiRoot:
default: https://example.com
description: See 3GPP TS 29.512 clause 6.1.
paths:
/provisioning-sessions:
post:
operationId: createProvisioningSession
summary: 'Create a new Provisioning Session'
responses:
'201':
description: 'Provisioning Session Created'
headers:
Location:
description: 'URL including the resource identifier of the newly created Provisioning Session.'
required: true
schema:
$ref: 'TS26512_CommonData.yaml#/components/schemas/Url'
content:
application/json:
schema:
$ref: '#/components/schemas/ProvisioningSession'
/provisioning-sessions/{provisioningSessionId}:
parameters:
- name: provisioningSessionId
in: path
required: true
schema:
$ref: 'TS26512_CommonData.yaml#/components/schemas/ResourceId'
description: 'The resource identifier of an existing Provisioning Session.'
get:
operationId: getProvisioningSessionById
summary: 'Retrieve an existing Provisioning Session'
responses:
'200':
description: 'Success'
content:
application/json:
schema:
$ref: '#/components/schemas/ProvisioningSession'
delete:
operationId: destroyProvisioningSession
summary: 'Destroy an existing Provisioning Session'
responses:
'204':
description: 'Provisioning Session Destroyed'
# No Content
components:
schemas:
ProvisioningSession:
type: object
description: "A representation of a Provisioning Session."
required:
- provisioningSessionId
- provisioningSessionType
- contentProtocols
properties:
provisioningSessionId:
$ref: 'TS26512_CommonData.yaml#/components/schemas/ResourceId'
provisioningSessionType:
$ref: 'TS26512_CommonData.yaml#/components/schemas/ProvisioningSessionType'
aspId:
$ref: 'TS29514_Npcf_PolicyAuthorization.yaml#/components/schemas/AspId'
serverCertificateIds:
type: array
items:
$ref: 'TS26512_CommonData.yaml#/components/schemas/ResourceId'
minItems: 1
contentPreparationTemplateIds:
type: array
items:
$ref: 'TS26512_CommonData.yaml#/components/schemas/ResourceId'
minItems: 1
metricsReportingConfigurationIds:
type: array
items:
$ref: 'TS26512_CommonData.yaml#/components/schemas/ResourceId'
minItems: 1
policyTemplateIds:
type: array
items:
$ref: 'TS26512_CommonData.yaml#/components/schemas/ResourceId'
minItems: 1