1 Star 0 Fork 2

Kenny_ZhangWei / 5GC_APIs

forked from yuxi-o / 5GC_APIs 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
TS29519_Exposure_Data.yaml 24.38 KB
一键复制 编辑 原始数据 按行查看 历史
Jesus de Gregorio 提交于 2020-04-05 16:19 . Rel-16 Mar'20
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656
openapi: 3.0.0
info:
version: '-'
title: Unified Data Repository Service API file for structured data for exposure
description: |
The API version is defined in 3GPP TS 29.504
© 2020, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC).
All rights reserved.
externalDocs:
description: 3GPP TS 29.519 V16.3.0; 5G System; Usage of the Unified Data Repository Service for Policy Data, Application Data and Structured Data for Exposure.
url: 'http://www.3gpp.org/ftp/Specs/archive/29_series/29.519/'
paths:
/exposure-data/{ueId}/access-and-mobility-data:
put:
summary: Creates and updates the access and mobility exposure data for a UE
operationId: CreateOrReplaceAccessAndMobilityData
tags:
- AccessAndMobilityData
parameters:
- name: ueId
in: path
description: UE id
required: true
schema:
$ref: 'TS29571_CommonData.yaml#/components/schemas/VarUeId'
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/AccessAndMobilityData'
responses:
'201':
description: Upon success, a response body is returned containing a representation of the access and mobility data
content:
application/json:
schema:
$ref: '#/components/schemas/AccessAndMobilityData'
headers:
Location:
description: 'Contains the URI of the newly created resource'
required: true
schema:
type: string
'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':
$ref: 'TS29571_CommonData.yaml#/components/responses/404'
'411':
$ref: 'TS29571_CommonData.yaml#/components/responses/411'
'413':
$ref: 'TS29571_CommonData.yaml#/components/responses/413'
'415':
$ref: 'TS29571_CommonData.yaml#/components/responses/415'
'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'
get:
summary: Retrieves the access and mobility exposure data for a UE
operationId: QueryAccessAndMobilityData
tags:
- AccessAndMobilityData
parameters:
- name: ueId
in: path
description: UE id
required: true
schema:
$ref: 'TS29571_CommonData.yaml#/components/schemas/VarUeId'
- name: supp-feat
in: query
description: Supported Features
schema:
$ref: 'TS29571_CommonData.yaml#/components/schemas/SupportedFeatures'
responses:
'200':
description: The response body contains the access and mobility data
content:
application/json:
schema:
$ref: '#/components/schemas/AccessAndMobilityData'
'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':
$ref: 'TS29571_CommonData.yaml#/components/responses/404'
'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'
delete:
summary: Deletes the access and mobility exposure data for a UE
operationId: DeleteAccessAndMobilityData
tags:
- AccessAndMobilityData
parameters:
- name: ueId
in: path
description: UE id
required: true
schema:
$ref: 'TS29571_CommonData.yaml#/components/schemas/VarUeId'
responses:
'204':
description: Upon success, an empty response body shall be returned
'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':
$ref: 'TS29571_CommonData.yaml#/components/responses/404'
'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'
patch:
summary: Updates the access and mobility exposure data for a UE
operationId: UpdateAccessAndMobilityData
tags:
- AccessAndMobilityData
parameters:
- name: ueId
in: path
description: UE id
required: true
schema:
$ref: 'TS29571_CommonData.yaml#/components/schemas/VarUeId'
requestBody:
content:
application/merge-patch+json:
schema:
$ref: '#/components/schemas/AccessAndMobilityData'
responses:
'204':
description: Successful case. The resource has been successfully updated and no additional content is to be sent in the response message.
'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':
$ref: 'TS29571_CommonData.yaml#/components/responses/404'
'411':
$ref: 'TS29571_CommonData.yaml#/components/responses/411'
'413':
$ref: 'TS29571_CommonData.yaml#/components/responses/413'
'415':
$ref: 'TS29571_CommonData.yaml#/components/responses/415'
'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'
/exposure-data/{ueId}/session-management-data/{pduSessionId}:
put:
summary: Creates and updates the session management data for a UE and for an individual PDU session
operationId: CreateOrReplaceSessionManagementData
tags:
- PduSessionManagementData
parameters:
- name: ueId
in: path
description: UE id
required: true
schema:
$ref: 'TS29571_CommonData.yaml#/components/schemas/VarUeId'
- name: pduSessionId
in: path
description: PDU session id
required: true
schema:
$ref: 'TS29571_CommonData.yaml#/components/schemas/PduSessionId'
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/PduSessionManagementData'
responses:
'201':
description: Upon success, a response body is returned containing a representation of the session management data
content:
application/json:
schema:
$ref: '#/components/schemas/PduSessionManagementData'
headers:
Location:
description: 'Contains the URI of the newly created resource'
required: true
schema:
type: string
'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':
$ref: 'TS29571_CommonData.yaml#/components/responses/404'
'411':
$ref: 'TS29571_CommonData.yaml#/components/responses/411'
'413':
$ref: 'TS29571_CommonData.yaml#/components/responses/413'
'415':
$ref: 'TS29571_CommonData.yaml#/components/responses/415'
'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'
get:
summary: Retrieves the session management data for a UE and for an individual PDU session
operationId: QuerySessionManagementData
tags:
- PduSessionManagementData
parameters:
- name: ueId
in: path
description: UE id
required: true
schema:
$ref: 'TS29571_CommonData.yaml#/components/schemas/VarUeId'
- name: pduSessionId
in: path
description: PDU session id
required: true
schema:
$ref: 'TS29571_CommonData.yaml#/components/schemas/PduSessionId'
- name: ipv4-addr
in: query
description: IPv4 Address of the UE
schema:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Ipv4Addr'
- name: ipv6-prefix
in: query
description: IPv6 Address Prefix of the UE
schema:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Ipv6Prefix'
- name: dnn
in: query
description: DNN of the UE
schema:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Dnn'
- name: fields
in: query
description: attributes to be retrieved
required: false
schema:
type: array
items:
type: string
minItems: 1
- name: supp-feat
in: query
description: Supported Features
schema:
$ref: 'TS29571_CommonData.yaml#/components/schemas/SupportedFeatures'
responses:
'200':
description: The response body contains the session management data
content:
application/json:
schema:
$ref: '#/components/schemas/PduSessionManagementData'
'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':
$ref: 'TS29571_CommonData.yaml#/components/responses/404'
'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'
delete:
summary: Deletes the session management data for a UE and for an individual PDU session
operationId: DeleteSessionManagementData
tags:
- PduSessionManagementData
parameters:
- name: ueId
in: path
description: UE id
required: true
schema:
$ref: 'TS29571_CommonData.yaml#/components/schemas/VarUeId'
- name: pduSessionId
in: path
description: PDU session id
required: true
schema:
$ref: 'TS29571_CommonData.yaml#/components/schemas/PduSessionId'
responses:
'204':
description: Upon success, an empty response body shall be returned
'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':
$ref: 'TS29571_CommonData.yaml#/components/responses/404'
'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'
/exposure-data/subs-to-notify:
post:
summary: Create a subscription to receive notification of exposure data changes
operationId: CreateIndividualExposureDataSubscription
tags:
- ExposureDataSubscriptions (Collection)
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/ExposureDataSubscription'
responses:
'201':
description: Created
content:
application/json:
schema:
$ref: '#/components/schemas/ExposureDataSubscription'
headers:
Location:
description: 'Contains the URI of the newly created resource'
required: true
schema:
type: string
'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':
$ref: 'TS29571_CommonData.yaml#/components/responses/404'
'411':
$ref: 'TS29571_CommonData.yaml#/components/responses/411'
'413':
$ref: 'TS29571_CommonData.yaml#/components/responses/413'
'415':
$ref: 'TS29571_CommonData.yaml#/components/responses/415'
'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'
callbacks:
exposureDataChangeNotification:
'{$request.body#/notificationUri}':
post:
requestBody:
required: true
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/ExposureDataChangeNotification'
minItems: 1
responses:
'204':
description: No Content, Notification was successful
'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':
$ref: 'TS29571_CommonData.yaml#/components/responses/404'
'411':
$ref: 'TS29571_CommonData.yaml#/components/responses/411'
'413':
$ref: 'TS29571_CommonData.yaml#/components/responses/413'
'415':
$ref: 'TS29571_CommonData.yaml#/components/responses/415'
'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'
/exposure-data/subs-to-notify/{subId}:
put:
summary: updates a subscription to receive notifications of exposure data changes
operationId: ReplaceIndividualExposureDataSubscription
tags:
- IndividualExposureDataSubscription (Document)
parameters:
- name: subId
in: path
description: Subscription id
required: true
schema:
type: string
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/ExposureDataSubscription'
responses:
'200':
description: Resource was successfully modified and a body with the modified subscription to notifications about exposure data is returned..
content:
application/json:
schema:
$ref: '#/components/schemas/ExposureDataSubscription'
'204':
description: The individual subscription resource was successfully modified.
'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':
$ref: 'TS29571_CommonData.yaml#/components/responses/404'
'411':
$ref: 'TS29571_CommonData.yaml#/components/responses/411'
'413':
$ref: 'TS29571_CommonData.yaml#/components/responses/413'
'415':
$ref: 'TS29571_CommonData.yaml#/components/responses/415'
'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'
delete:
summary: Deletes the individual Exposure Data subscription
operationId: DeleteIndividualExposureDataSubscription
tags:
- IndividualExposureDataSubscription (Document)
parameters:
- name: subId
in: path
description: Subscription id
required: true
schema:
type: string
responses:
'204':
description: Resource was successfully deleted.
'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':
$ref: 'TS29571_CommonData.yaml#/components/responses/404'
'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:
schemas:
AccessAndMobilityData:
type: object
properties:
location:
$ref: 'TS29571_CommonData.yaml#/components/schemas/UserLocation'
locationTs:
$ref: 'TS29571_CommonData.yaml#/components/schemas/DateTime'
timeZone:
$ref: 'TS29571_CommonData.yaml#/components/schemas/TimeZone'
timeZoneTs:
$ref: 'TS29571_CommonData.yaml#/components/schemas/DateTime'
accessType:
$ref: 'TS29571_CommonData.yaml#/components/schemas/AccessType'
regStates:
type: array
items:
$ref: 'TS29518_Namf_EventExposure.yaml#/components/schemas/RmInfo'
regStatesTs:
$ref: 'TS29571_CommonData.yaml#/components/schemas/DateTime'
connStates:
type: array
items:
$ref: 'TS29518_Namf_EventExposure.yaml#/components/schemas/CmInfo'
connStatesTs:
$ref: 'TS29571_CommonData.yaml#/components/schemas/DateTime'
reachabilityStatus:
$ref: 'TS29518_Namf_EventExposure.yaml#/components/schemas/UeReachability'
reachabilityStatusTs:
$ref: 'TS29571_CommonData.yaml#/components/schemas/DateTime'
smsOverNasStatus:
$ref: 'TS29518_Namf_Communication.yaml#/components/schemas/SmsSupport'
smsOverNasStatusTs:
$ref: 'TS29571_CommonData.yaml#/components/schemas/DateTime'
roamingStatus:
type: boolean
description: True The serving PLMN of the UE is different from the HPLMN of the UE; False The serving PLMN of the UE is the HPLMN of the UE.
roamingStatusTs:
$ref: 'TS29571_CommonData.yaml#/components/schemas/DateTime'
currentPlmn:
$ref: 'TS29571_CommonData.yaml#/components/schemas/PlmnId'
currentPlmnTs:
$ref: 'TS29571_CommonData.yaml#/components/schemas/DateTime'
ratType:
type: array
items:
$ref: 'TS29571_CommonData.yaml#/components/schemas/RatType'
ratTypesTs:
$ref: 'TS29571_CommonData.yaml#/components/schemas/DateTime'
PduSessionManagementData:
type: object
properties:
pduSessionStatus:
$ref: '#/components/schemas/PduSessionStatus'
pduSessionStatusTs:
$ref: 'TS29571_CommonData.yaml#/components/schemas/DateTime'
dnai:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Dnai'
dnaiTs:
$ref: 'TS29571_CommonData.yaml#/components/schemas/DateTime'
n6TrafficRoutingInfo:
type: array
items:
$ref: 'TS29571_CommonData.yaml#/components/schemas/RouteToLocation'
n6TrafficRoutingInfoTs:
$ref: 'TS29571_CommonData.yaml#/components/schemas/DateTime'
ipv4Addr:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Ipv4Addr'
ipv6Prefix:
type: array
items:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Ipv6Prefix'
minItems: 1
description: UE IPv6 prefix.
ipv6Addrs:
type: array
items:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Ipv6Addr'
minItems: 1
pduSessType:
$ref: 'TS29571_CommonData.yaml#/components/schemas/PduSessionType'
ipAddrTs:
$ref: 'TS29571_CommonData.yaml#/components/schemas/DateTime'
dnn:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Dnn'
pduSessionId:
$ref: 'TS29571_CommonData.yaml#/components/schemas/PduSessionId'
ExposureDataSubscription:
type: object
properties:
notificationUri:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Uri'
monitoredResourceUris:
type: array
items:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Uri'
minItems: 1
expiry:
$ref: 'TS29571_CommonData.yaml#/components/schemas/DateTime'
supportedFeatures:
$ref: 'TS29571_CommonData.yaml#/components/schemas/SupportedFeatures'
required:
- notificationUri
- monitoredResourceUris
ExposureDataChangeNotification:
type: object
properties:
ueId:
$ref: 'TS29571_CommonData.yaml#/components/schemas/VarUeId'
accessAndMobilityData:
$ref: '#/components/schemas/AccessAndMobilityData'
pduSessionManagementData:
type: array
items:
$ref: '#/components/schemas/PduSessionManagementData'
minItems: 1
delResources:
type: array
items:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Uri'
minItems: 1
PduSessionStatus:
anyOf:
- type: string
enum:
- "ACTIVE"
- "RELEASED"
- 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
- "ACTIVE"
- "RELEASED"
1
https://gitee.com/kenny.w.zhang/v5GC_APIs.git
git@gitee.com:kenny.w.zhang/v5GC_APIs.git
kenny.w.zhang
v5GC_APIs
5GC_APIs
master

搜索帮助