1 Star 0 Fork 0

tabaHunter/open5GC_APIs

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
TS29563_Nhss_EE.yaml 7.46 KB
一键复制 编辑 原始数据 按行查看 历史
Jesus de Gregorio 提交于 2020-07-15 10:39 . Rel-16 June'20
openapi: 3.0.0
info:
version: '1.0.0'
title: 'Nhss_EE'
description: |
HSS Event Exposure
© 2020, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC).
All rights reserved.
externalDocs:
description: 3GPP TS 29.563 HSS Services for Interworking With UDM, version 16.1.0
url: 'http://www.3gpp.org/ftp/Specs/archive/29_series/29.563/'
servers:
- url: '{apiRoot}/nhss-ee/v1'
variables:
apiRoot:
default: https://example.com
description: apiRoot as defined in clause 4.4 of 3GPP TS 29.501.
security:
- {}
- oAuth2ClientCredentials:
- nhss-ee
paths:
/{ueId}/ee-subscriptions:
post:
summary: Subscribe
operationId: CreateEeSubscription
tags:
- EE Subscription (Collection)
parameters:
- name: ueId
in: path
description: IMSI of the subscriber
required: true
schema:
$ref: '#/components/schemas/Imsi'
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/EeSubscription'
required: true
responses:
'201':
description: Expected response to a valid request
content:
application/json:
schema:
$ref: '#/components/schemas/CreatedEeSubscription'
headers:
Location:
description: 'Contains the URI of the newly created resource, according to the structure: {apiRoot}/nhss-ee/v1/{ueIdentity}/ee-subscriptions/{subscriptionId}'
required: true
schema:
type: string
'400':
$ref: 'TS29571_CommonData.yaml#/components/responses/400'
'403':
$ref: 'TS29571_CommonData.yaml#/components/responses/403'
'404':
$ref: 'TS29571_CommonData.yaml#/components/responses/404'
'500':
$ref: 'TS29571_CommonData.yaml#/components/responses/500'
'501':
$ref: 'TS29571_CommonData.yaml#/components/responses/501'
'503':
$ref: 'TS29571_CommonData.yaml#/components/responses/503'
default:
description: Unexpected error
callbacks:
eventOccurrenceNotification:
'{request.body#/callbackReference}':
post:
requestBody:
required: true
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/MonitoringReport'
minItems: 1
responses:
'204':
description: Successful Notification response
'400':
$ref: 'TS29571_CommonData.yaml#/components/responses/400'
'404':
$ref: 'TS29571_CommonData.yaml#/components/responses/404'
'500':
$ref: 'TS29571_CommonData.yaml#/components/responses/500'
'503':
$ref: 'TS29571_CommonData.yaml#/components/responses/503'
default:
description: Unexpected error
/{ueId}/ee-subscriptions/{subscriptionId}:
delete:
summary: Unsubscribe
operationId: DeleteEeSubscription
tags:
- Delete EE Subscription
parameters:
- name: ueId
in: path
description: IMSI of the subscriber
required: true
schema:
$ref: '#/components/schemas/Imsi'
- name: subscriptionId
in: path
description: Id of the EE Subscription
required: true
schema:
type: string
responses:
'204':
description: Successful response
'400':
$ref: 'TS29571_CommonData.yaml#/components/responses/400'
'404':
$ref: 'TS29571_CommonData.yaml#/components/responses/404'
'500':
$ref: 'TS29571_CommonData.yaml#/components/responses/500'
'503':
$ref: 'TS29571_CommonData.yaml#/components/responses/503'
default:
description: Unexpected error
patch:
summary: Patch
operationId: UpdateEeSubscription
tags:
- Update EE Subscription
parameters:
- name: ueId
in: path
description: IMSI of the subscriber
required: true
schema:
$ref: '#/components/schemas/Imsi'
- name: subscriptionId
in: path
description: Id of the EE Subscription
required: true
schema:
type: string
requestBody:
content:
application/json-patch+json:
schema:
type: array
items:
$ref: 'TS29571_CommonData.yaml#/components/schemas/PatchItem'
minItems: 1
required: true
responses:
'200':
description: Expected response to a valid request
content:
application/json:
schema:
$ref: 'TS29571_CommonData.yaml#/components/schemas/PatchResult'
'204':
description: Successful response
'403':
$ref: 'TS29571_CommonData.yaml#/components/responses/403'
'404':
$ref: 'TS29571_CommonData.yaml#/components/responses/404'
default:
description: Unexpected error
components:
securitySchemes:
oAuth2ClientCredentials:
type: oauth2
flows:
clientCredentials:
tokenUrl: '{nrfApiRoot}/oauth2/token'
scopes:
nhss-ee: Access to the nhss-ee API
schemas:
# COMPLEX TYPES:
Imsi:
type: string
pattern: '^(imsi-[0-9]{5,15})$'
EeSubscription:
type: object
required:
- callbackReference
properties:
callbackReference:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Uri'
scefId:
$ref: 'TS29571_CommonData.yaml#/components/schemas/DiameterIdentity'
monitoringConfigurations:
description: A map (list of key-value pairs where ReferenceId serves as key) of MonitoringConfigurations
type: object
additionalProperties:
$ref: '#/components/schemas/MonitoringConfiguration'
minProperties: 1
supportedFeatures:
$ref: 'TS29571_CommonData.yaml#/components/schemas/SupportedFeatures'
CreatedEeSubscription:
type: object
required:
- eeSubscription
properties:
eeSubscription:
$ref: '#/components/schemas/EeSubscription'
eventReports:
type: array
items:
$ref: '#/components/schemas/MonitoringReport'
minItems: 1
MonitoringConfiguration:
type: object
required:
- eventType
properties:
eventType:
$ref: 'TS29503_Nudm_EE.yaml#/components/schemas/EventType'
immediateReport:
type: boolean
MonitoringReport:
type: object
required:
- referenceId
- eventType
- timeStamp
properties:
referenceId:
$ref: '#/components/schemas/ReferenceId'
eventType:
$ref: 'TS29503_Nudm_EE.yaml#/components/schemas/EventType'
timeStamp:
$ref: 'TS29571_CommonData.yaml#/components/schemas/DateTime'
report:
$ref: '#/components/schemas/Report'
Report:
type: object # TBD
# SIMPLE TYPES:
ReferenceId:
type: integer
# ENUMS:
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/tabaHunter/open5GC_APIs.git
[email protected]:tabaHunter/open5GC_APIs.git
tabaHunter
open5GC_APIs
open5GC_APIs
master

搜索帮助