forked from jdegre/5GC_APIs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
TS29520_Nnwdaf_AnalyticsInfo.yaml
122 lines (122 loc) · 4.22 KB
/
TS29520_Nnwdaf_AnalyticsInfo.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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
openapi: 3.0.0
info:
version: 1.0.2
title: Nnwdaf_AnalyticsInfo
description: |
Nnwdaf_AnalyticsInfo Service API.
© 2019, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC).
All rights reserved.
externalDocs:
description: 3GPP TS 29.520 V15.4.0; 5G System; Network Data Analytics Services.
url: 'http://www.3gpp.org/ftp/Specs/archive/29_series/29.520/'
security:
- {}
- oAuth2ClientCredentials:
- nnwdaf-analyticsinfo
servers:
- url: '{apiRoot}/nnwdaf-analyticsinfo/v1'
variables:
apiRoot:
default: https://example.com
description: apiRoot as defined in subclause 4.4 of 3GPP TS 29.501.
paths:
/analytics:
get:
parameters:
- name: event-id
in: query
description: Identify the analytics.
required: true
schema:
$ref: '#/components/schemas/EventId'
- name: event-filter
in: query
description: Identify the analytics.
required: false
content:
application/json:
schema:
$ref: '#/components/schemas/EventFilter'
- name: supported-features
in: query
description: To filter irrelevant responses related to unsupported features
schema:
$ref: 'TS29571_CommonData.yaml#/components/schemas/SupportedFeatures'
responses:
'200':
description: Containing the analytics with parameters as relevant for the requesting NF service consumer.
content:
application/json:
schema:
$ref: '#/components/schemas/AnalyticsData'
'204':
description: No Content (The request NWDAF Analytics data does not exist)
'400':
$ref: 'TS29571_CommonData.yaml#/components/responses/400'
'401':
$ref: 'TS29571_CommonData.yaml#/components/responses/401'
'403':
$ref: 'TS29571_CommonData.yaml#/components/responses/403'
'404':
description: Indicates that the NWDAF Analytics resource does not exist.
content:
application/problem+json:
schema:
$ref: 'TS29571_CommonData.yaml#/components/schemas/ProblemDetails'
'406':
$ref: 'TS29571_CommonData.yaml#/components/responses/406'
'414':
$ref: 'TS29571_CommonData.yaml#/components/responses/414'
'429':
$ref: 'TS29571_CommonData.yaml#/components/responses/429'
'500':
$ref: 'TS29571_CommonData.yaml#/components/responses/500'
'503':
$ref: 'TS29571_CommonData.yaml#/components/responses/503'
default:
$ref: 'TS29571_CommonData.yaml#/components/responses/default'
components:
securitySchemes:
oAuth2ClientCredentials:
type: oauth2
flows:
clientCredentials:
tokenUrl: '{nrfApiRoot}/oauth2/token'
scopes:
nnwdaf-analyticsinfo: Access to the Nnwdaf_AnalyticsInfo API
schemas:
AnalyticsData:
type: object
properties:
sliceLoadLevelInfos:
type: array
items:
$ref: 'TS29520_Nnwdaf_EventsSubscription.yaml#/components/schemas/SliceLoadLevelInformation'
minItems: 1
description: The slices and their load level information.
EventFilter:
type: object
properties:
anySlice:
$ref: 'TS29520_Nnwdaf_EventsSubscription.yaml#/components/schemas/AnySlice'
snssais:
type: array
items:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Snssai'
minItems: 1
description: Identification(s) of network slice to which the subscription belongs.
not:
required: [anySlice, snssais]
EventId:
anyOf:
- type: string
enum:
- LOAD_LEVEL_INFORMATION
- type: string
description: >
This string provides forward-compatibility with future
extensions to the enumeration but is not used to encode
content defined in the present version of this API.
description: >
Possible values are
- LOAD_LEVEL_INFORMATION: Represent the analytics of load level information of corresponding network slice instance.