1 Star 0 Fork 2

yuxi-o / 5GC_APIs

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
TS29518_Namf_Location.yaml 15.75 KB
一键复制 编辑 Web IDE 原始数据 按行查看 历史
Jesus de Gregorio 提交于 2020-04-05 16:19 . Rel-16 Mar'20
openapi: 3.0.0
info:
version: 1.1.0.alpha-2
title: Namf_Location
description: |
AMF Location Service
© 2020, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC).
All rights reserved.
security:
- {}
- oAuth2ClientCredentials:
- namf-loc
externalDocs:
description: 3GPP TS 29.518 V16.3.0; 5G System; Access and Mobility Management Services
url: 'http://www.3gpp.org/ftp/Specs/archive/29_series/29.518/'
servers:
- url: '{apiRoot}/namf-loc/v1'
variables:
apiRoot:
default: https://example.com
description: apiRoot as defined in clause clause 4.4 of 3GPP TS 29.501
paths:
/{ueContextId}/provide-pos-info:
post:
summary: Namf_Location ProvidePositioningInfo service Operation
tags:
- Individual UE context (Document)
operationId: ProvidePositioningInfo
parameters:
- name: ueContextId
in: path
description: UE Context Identifier
required: true
schema:
type: string
pattern: '^(imsi-[0-9]{5,15}|nai-.+|gli-.+|gci-.+|imei-[0-9]{15}|imeisv-[0-9]{16}|.+)$'
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/RequestPosInfo'
required: true
responses:
'200':
description: Expected response to a valid request
content:
application/json:
schema:
$ref: '#/components/schemas/ProvidePosInfo'
'400':
$ref: 'TS29571_CommonData.yaml#/components/responses/400'
'403':
$ref: 'TS29571_CommonData.yaml#/components/responses/403'
'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'
'504':
$ref: 'TS29571_CommonData.yaml#/components/responses/504'
default:
description: Unexpected error
callbacks:
onUELocationNotification:
'{$request.body#/locationNotificationUri}':
post:
requestBody:
description: UE Location Event Notification
content:
application/json:
schema:
$ref: '#/components/schemas/NotifiedPosInfo'
responses:
'204':
description: Expected response to a successful callback processing
'400':
$ref: 'TS29571_CommonData.yaml#/components/responses/400'
'403':
$ref: 'TS29571_CommonData.yaml#/components/responses/403'
'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'
/{ueContextId}/provide-loc-info:
post:
summary: Namf_Location ProvideLocationInfo service Operation
tags:
- Individual UE context (Document)
operationId: ProvideLocationInfo
parameters:
- name: ueContextId
in: path
description: UE Context Identifier
required: true
schema:
type: string
pattern: '^(imsi-[0-9]{5,15}|nai-.+|gli-.+|gci-.+|imei-[0-9]{15}|imeisv-[0-9]{16}|.+)$'
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/RequestLocInfo'
required: true
responses:
'200':
description: Expected response to a valid request
content:
application/json:
schema:
$ref: '#/components/schemas/ProvideLocInfo'
'400':
$ref: 'TS29571_CommonData.yaml#/components/responses/400'
'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:
description: Unexpected error
/{ueContextId}/cancel-pos-info:
post:
summary: Namf_Location CancelLocation service operation
tags:
- Individual UE context (Document)
operationId: CancelLocation
parameters:
- name: ueContextId
in: path
description: UE Context Identifier
required: true
schema:
type: string
pattern: '^(imsi-[0-9]{5,15}|nai-.+|gli-.+|gci-.+|.+)$'
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CancelPosInfo'
required: true
responses:
'204':
description: Expected response to a successful cancellation
'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'
'504':
$ref: 'TS29571_CommonData.yaml#/components/responses/504'
default:
$ref: 'TS29571_CommonData.yaml#/components/responses/default'
components:
securitySchemes:
oAuth2ClientCredentials:
type: oauth2
flows:
clientCredentials:
tokenUrl: '{nrfApiRoot}/oauth2/token'
scopes:
namf-loc: Access to the Namf_Location API
schemas:
RequestPosInfo:
type: object
properties:
lcsClientType:
$ref: 'TS29572_Nlmf_Location.yaml#/components/schemas/ExternalClientType'
lcsLocation:
$ref: '#/components/schemas/LocationType'
supi:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Supi'
gpsi:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Gpsi'
priority:
$ref: 'TS29572_Nlmf_Location.yaml#/components/schemas/LcsPriority'
lcsQoS:
$ref: 'TS29572_Nlmf_Location.yaml#/components/schemas/LocationQoS'
velocityRequested:
$ref: 'TS29572_Nlmf_Location.yaml#/components/schemas/VelocityRequested'
lcsSupportedGADShapes:
$ref: 'TS29572_Nlmf_Location.yaml#/components/schemas/SupportedGADShapes'
additionalLcsSuppGADShapes:
type: array
items:
$ref: 'TS29572_Nlmf_Location.yaml#/components/schemas/SupportedGADShapes'
minItems: 1
locationNotificationUri:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Uri'
supportedFeatures:
$ref: 'TS29571_CommonData.yaml#/components/schemas/SupportedFeatures'
oldGuami:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Guami'
pei:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Pei'
lcsServiceType:
$ref: 'TS29572_Nlmf_Location.yaml#/components/schemas/LcsServiceType'
ldrType:
$ref: 'TS29572_Nlmf_Location.yaml#/components/schemas/LdrType'
hgmlcCallBackURI:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Uri'
ldrReference:
$ref: 'TS29572_Nlmf_Location.yaml#/components/schemas/LdrReference'
periodicEventInfo:
$ref: 'TS29572_Nlmf_Location.yaml#/components/schemas/PeriodicEventInfo'
areaEventInfo:
$ref: 'TS29572_Nlmf_Location.yaml#/components/schemas/AreaEventInfo'
motionEventInfo:
$ref: 'TS29572_Nlmf_Location.yaml#/components/schemas/MotionEventInfo'
externalClientIdentification:
$ref: 'TS29515_Ngmlc_Location.yaml#/components/schemas/ExternalClientIdentification'
afID:
$ref: 'TS29571_CommonData.yaml#/components/schemas/NfInstanceId'
codeWord:
$ref: 'TS29515_Ngmlc_Location.yaml#/components/schemas/CodeWord'
lcsServiceAuthInfo:
$ref: 'TS29571_CommonData.yaml#/components/schemas/LcsServiceAuth'
required:
- lcsClientType
- lcsLocation
ProvidePosInfo:
type: object
properties:
locationEstimate:
$ref: 'TS29572_Nlmf_Location.yaml#/components/schemas/GeographicArea'
accuracyFulfilmentIndicator:
$ref: 'TS29572_Nlmf_Location.yaml#/components/schemas/AccuracyFulfilmentIndicator'
ageOfLocationEstimate:
$ref: 'TS29572_Nlmf_Location.yaml#/components/schemas/AgeOfLocationEstimate'
velocityEstimate:
$ref: 'TS29572_Nlmf_Location.yaml#/components/schemas/VelocityEstimate'
positioningDataList:
type: array
items:
$ref: 'TS29572_Nlmf_Location.yaml#/components/schemas/PositioningMethodAndUsage'
minItems: 0
maxItems: 9
gnssPositioningDataList:
type: array
items:
$ref: 'TS29572_Nlmf_Location.yaml#/components/schemas/GnssPositioningMethodAndUsage'
minItems: 0
maxItems: 9
ecgi:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Ecgi'
ncgi:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Ncgi'
targetServingNode:
$ref: 'TS29571_CommonData.yaml#/components/schemas/NfInstanceId'
civicAddress:
$ref: 'TS29572_Nlmf_Location.yaml#/components/schemas/CivicAddress'
barometricPressure:
$ref: 'TS29572_Nlmf_Location.yaml#/components/schemas/BarometricPressure'
altitude:
$ref: 'TS29572_Nlmf_Location.yaml#/components/schemas/Altitude'
supportedFeatures:
$ref: 'TS29571_CommonData.yaml#/components/schemas/SupportedFeatures'
servingLMFIdentification:
$ref: 'TS29572_Nlmf_Location.yaml#/components/schemas/LMFIdentification'
NotifiedPosInfo:
type: object
properties:
locationEvent:
$ref: '#/components/schemas/LocationEvent'
supi:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Supi'
gpsi:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Gpsi'
pei:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Pei'
locationEstimate:
$ref: 'TS29572_Nlmf_Location.yaml#/components/schemas/GeographicArea'
ageOfLocationEstimate:
$ref: 'TS29572_Nlmf_Location.yaml#/components/schemas/AgeOfLocationEstimate'
velocityEstimate:
$ref: 'TS29572_Nlmf_Location.yaml#/components/schemas/VelocityEstimate'
positioningDataList:
type: array
items:
$ref: 'TS29572_Nlmf_Location.yaml#/components/schemas/PositioningMethodAndUsage'
minItems: 0
maxItems: 9
gnssPositioningDataList:
type: array
items:
$ref: 'TS29572_Nlmf_Location.yaml#/components/schemas/GnssPositioningMethodAndUsage'
minItems: 0
maxItems: 9
ecgi:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Ecgi'
ncgi:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Ncgi'
servingNode:
$ref: 'TS29571_CommonData.yaml#/components/schemas/NfInstanceId'
civicAddress:
$ref: 'TS29572_Nlmf_Location.yaml#/components/schemas/CivicAddress'
barometricPressure:
$ref: 'TS29572_Nlmf_Location.yaml#/components/schemas/BarometricPressure'
altitude:
$ref: 'TS29572_Nlmf_Location.yaml#/components/schemas/Altitude'
hgmlcCallBackURI:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Uri'
ldrReference:
$ref: 'TS29572_Nlmf_Location.yaml#/components/schemas/LdrReference'
servingLMFIdentification:
$ref: 'TS29572_Nlmf_Location.yaml#/components/schemas/LMFIdentification'
terminationCause:
$ref: 'TS29572_Nlmf_Location.yaml#/components/schemas/TerminationCause'
required:
- locationEvent
RequestLocInfo:
type: object
properties:
req5gsLoc:
type: boolean
default: false
reqCurrentLoc:
type: boolean
default: false
reqRatType:
type: boolean
default: false
reqTimeZone:
type: boolean
default: false
supportedFeatures:
$ref: 'TS29571_CommonData.yaml#/components/schemas/SupportedFeatures'
ProvideLocInfo:
type: object
properties:
currentLoc:
type: boolean
location:
$ref: 'TS29571_CommonData.yaml#/components/schemas/UserLocation'
geoInfo:
$ref: 'TS29572_Nlmf_Location.yaml#/components/schemas/GeographicArea'
locationAge:
$ref: 'TS29572_Nlmf_Location.yaml#/components/schemas/AgeOfLocationEstimate'
ratType:
$ref: 'TS29571_CommonData.yaml#/components/schemas/RatType'
timezone:
$ref: 'TS29571_CommonData.yaml#/components/schemas/TimeZone'
supportedFeatures:
$ref: 'TS29571_CommonData.yaml#/components/schemas/SupportedFeatures'
oldGuami:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Guami'
CancelPosInfo:
type: object
properties:
supi:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Supi'
hgmlcCallBackURI:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Uri'
ldrReference:
$ref: 'TS29572_Nlmf_Location.yaml#/components/schemas/LdrReference'
servingLMFIdentification:
$ref: 'TS29572_Nlmf_Location.yaml#/components/schemas/LMFIdentification'
supportedFeatures:
$ref: 'TS29571_CommonData.yaml#/components/schemas/SupportedFeatures'
required:
- supi
- hgmlcCallBackURI
- ldrReference
LocationType:
anyOf:
- type: string
enum:
- CURRENT_LOCATION
- CURRENT_OR_LAST_KNOWN_LOCATION
- INITIAL_LOCATION
- NOTIFICATION_VERIFICATION_ONLY
- DEFERRED_LOCATION
- type: string
LocationEvent:
anyOf:
- type: string
enum:
- EMERGENCY_CALL_ORIGINATION
- EMERGENCY_CALL_RELEASE
- EMERGENCY_CALL_HANDOVER
- ACTIVATION_OF_DEFERRED_LOCATION
- UE_MOBILITY_FOR_DEFERRED_LOCATION
- CANCELLATION_OF_DEFERRED_LOCATION
- type: string
1
https://gitee.com/yuxio/v5GC_APIs.git
git@gitee.com:yuxio/v5GC_APIs.git
yuxio
v5GC_APIs
5GC_APIs
master

搜索帮助

14c37bed 8189591 565d56ea 8189591