Commit 5054b42b authored by Sebastian Muellers's avatar Sebastian Muellers
Browse files

initial commit of data taken from Walter's mock-up at https://github.com/wol190/ETSI-ISG-MEC



Change-Id: I8c340d3adfe0f6e53bedfca2b165f94a3357d287
Signed-off-by: Sebastian Muellers's avatarSebastian Mueller <sebastian.mueller@etsi.org>
parent c891fbcb
################################################################################
# Open API specification version #
################################################################################
swagger: '2.0'
################################################################################
# Document Information #
################################################################################
info:
$ref: './info/index.yaml'
################################################################################
# External Documents #
################################################################################
externalDocs:
$ref: './externalDocs/index.yaml'
host: 127.0.0.1:8081
basePath: /exampleAPI/location/v1/
schemes:
- http
- https
consumes:
- application/json
produces:
- application/json
################################################################################
# Parameters #
################################################################################
parameters:
$ref: './parameters/index.yaml'
################################################################################
# paths #
################################################################################
paths:
$ref: './paths/index.yaml'
################################################################################
# Definitions #
################################################################################
definitions:
$ref: './definitions/index.yaml'
################################################################################
# SEEMINGLY NOT ALLOWED in Swagger/OpenAPI 2.0 #
# #
# Examples #
################################################################################
#examples:
# $ref: './examples/index.yaml'
\ No newline at end of file
This diff is collapsed.
description: >-
Identifier of access point, <E-CGI><Cell Portion ID> (reference ETSI TS 129 171). Where the E-CGI is made up of the PLMN and Cell Identity (28 bit string). Then the PLMN is made up of the 3 digit MCC & 2 or 3 digit MNC. The Cell Portion is an optional element
type: string
example: "001010000000000000000000000000001"
\ No newline at end of file
required:
- accessPointId
- connectionType
- operationStatus
- numberOfUsers
- resourceURL
properties:
accessPointId:
$ref: '#/definitions/AccessPointId'
locationInfo:
$ref: '#/definitions/LocationInfo'
connectionType:
$ref: '#/definitions/ConnectionType'
operationStatus:
$ref: '#/definitions/OperationStatus'
numberOfUsers:
$ref: '#/definitions/NumberOfUsers'
timezone:
$ref: '#/definitions/Timezone'
interestRealm:
$ref: '#/definitions/InterestRealm'
resourceURL:
$ref: '#/definitions/ResourceURL'
\ No newline at end of file
required:
- zoneId
- resourceURL
properties:
zoneId:
$ref: '#/definitions/ZoneId'
accessPoint:
description: Collection of the access point information list.
type: array
items:
$ref: '#/definitions/AccessPointInfo'
resourceURL:
$ref: '#/definitions/ResourceURL'
\ No newline at end of file
description: Address of user (e.g. "sip" URI, "tel" URI, "acr" URI).
type: string
format: uri
example: "acr:192.0.2.1"
\ No newline at end of file
required:
- address
properties:
address:
$ref: '#/definitions/Address'
\ No newline at end of file
description: CallBackData if passed by the application during the associated ZonalTrafficSubscription and UserTrackingSubscription operation. See [REST_NetAPI_Common].
type: string
example: "1234"
\ No newline at end of file
required:
- notifyURL
properties:
notifyURL:
$ref: '#/definitions/NotifyURL'
\ No newline at end of file
description: Uniquely identifies this create subscription request. If there is a communication failure during the request, using the same clientCorrelator when retrying the request allows the operator to avoid creating a duplicate subscription.
type: string
example: "0123"
\ No newline at end of file
description: The connection type for the access point
type: string
example: "Macro"
\ No newline at end of file
description: Contextual information of a user location (e.g., aisle, floor, room number, etc.)
type: string
example: "GroundFoor"
\ No newline at end of file
description: Zone ID
type: string
example: "zone01"
\ No newline at end of file
description: Period (in seconds) of time notifications are provided for. If set to "0" (zero), a default duration time, which is specified by the service policy, will be used. If the parameter is omitted, the notifications will continue until the maximum duration time, which is specified by the service policy, unless the notifications are stopped by deletion of subscription for notifications. This element MAY be given by the client during resource creation in order to signal the desired lifetime of the subscription. The server MUST return in this element the period of time for which the subscription will still be valid.
type: string
example: "0"
\ No newline at end of file
description: Interest realm of access point (e.g. geographical area, a type of industry etc.).
type: string
example: "LA"
\ No newline at end of file
required:
- rel
- href
properties:
rel:
description: Describes the relationship between the URI and the resource.
type: object
format: string
href:
description: URI
type: object
format: anyURI
description: A type containing location information with latitude, longitude and altitude, in addition the accuracy of the information are provided.
type: object
required:
- latitude
- longitude
- accuracy
properties:
latitude:
type: number
format: float
example: "80.123"
longitude:
type: number
format: float
example: "70.123"
altitude:
type: number
format: float
example: "10.0"
accuracy:
type: integer
format: int32
example: "10"
\ No newline at end of file
description: The URL of your own listener application.
type: string
format: url
example: "http://clientApp.example.com/location_notifications/123456"
\ No newline at end of file
description: The number of access points within the zone
type: integer
format: uint32
example: "10"
\ No newline at end of file
description: Number of inoperable access points within the zone.
type: integer
format: uint32
example: "9"
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment