Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
MEC - Multi-access Edge Computing
MEC Application Support API and MEC Service Management API
Commits
536efb7c
Commit
536efb7c
authored
Dec 15, 2017
by
Walter Featherstone
Browse files
Fixes to response codes and explicit inclusion of examples
Change-Id: Ib659e383574036e6b7cbf7cc2476f2d9f9a6eaf1
parent
d743aa66
Changes
29
Show whitespace changes
Inline
Side-by-side
paths/ApplicationsTrafficRule.PUT.yaml
View file @
536efb7c
...
...
@@ -15,4 +15,47 @@ responses:
$ref
:
'
#/definitions/TrafficRule'
examples
:
application/json
:
$ref
:
'
../examples/TrafficRule.json'
\ No newline at end of file
TrafficRule
:
trafficRuleId
:
TrafficRule123
serName
:
ExampleService
filterType
:
FLOW
priority
:
1
trafficFilter
:
srcAddress
:
[
192.168.2.0/24
,
192.168.3.0/24
]
dstAddress
:
[
192.127.4.100/32
]
dstPort
:
[
80
]
action
:
FORWARD_DECAPSULATED
dstInterface
:
interfaceType
:
IP
dstIpAddress
:
20.1.1.1
state
:
ACTIVE
400
:
description
:
Bad Request
schema
:
type
:
object
properties
:
ProblemDetails
:
$ref
:
'
#/definitions/ProblemDetails'
403
:
description
:
Forbidden
schema
:
type
:
object
required
:
-
ProblemDetails
properties
:
ProblemDetails
:
$ref
:
'
#/definitions/ProblemDetails'
404
:
description
:
Not Found
schema
:
type
:
object
properties
:
ProblemDetails
:
$ref
:
'
#/definitions/ProblemDetails'
412
:
description
:
Precondition Failed
schema
:
type
:
object
properties
:
ProblemDetails
:
$ref
:
'
#/definitions/ProblemDetails'
\ No newline at end of file
paths/ApplicationsTrafficRules.GET.yaml
View file @
536efb7c
...
...
@@ -13,3 +13,42 @@ responses:
properties
:
TrafficRule
:
$ref
:
'
#/definitions/TrafficRule'
examples
:
application/json
:
TrafficRule
:
trafficRuleId
:
TrafficRule123
serName
:
ExampleService
filterType
:
FLOW
priority
:
1
trafficFilter
:
srcAddress
:
[
192.168.2.0/24
,
192.168.3.0/24
]
dstAddress
:
[
192.127.4.100/32
]
dstPort
:
[
80
]
action
:
FORWARD_DECAPSULATED
dstInterface
:
interfaceType
:
IP
dstIpAddress
:
20.1.1.1
state
:
ACTIVE
400
:
description
:
Bad Request
schema
:
type
:
object
properties
:
ProblemDetails
:
$ref
:
'
#/definitions/ProblemDetails'
403
:
description
:
Forbidden
schema
:
type
:
object
required
:
-
ProblemDetails
properties
:
ProblemDetails
:
$ref
:
'
#/definitions/ProblemDetails'
404
:
description
:
Not Found
schema
:
type
:
object
properties
:
ProblemDetails
:
$ref
:
'
#/definitions/ProblemDetails'
\ No newline at end of file
paths/Services.GET.yaml
View file @
536efb7c
...
...
@@ -17,3 +17,57 @@ responses:
properties
:
ServiceInfo
:
$ref
:
'
#/definitions/ServiceInfo'
examples
:
application/json
:
ServiceInfo
:
serInstanceId
:
ServiceInstance123
serName
:
ExampleService
serCategory
:
href
:
catItem1
id
:
id12345
name
:
RNI
version
:
version1
version
:
ServiceVersion1
state
:
ACTIVE
transportId
:
Rest1
transportInfo
:
id
:
TransId12345
name
:
REST
description
:
REST API
type
:
JSON
protocol
:
HTTP
version
:
'
2.0'
endpoint
:
uris
:
-
/meMp1/service/EntryPoint
addresses
:
-
host
:
'
192.0.2.0'
port
:
'
8080'
security.mp1
:
oAuth2Info
:
grantTypes
:
OAUTH2_CLIENT_CREDENTIALS
tokenEndpoint
:
/meMp1/security.mp1/TokenEndPoint
serializer
:
JSON
400
:
description
:
Bad Request
schema
:
type
:
object
properties
:
ProblemDetails
:
$ref
:
'
#/definitions/ProblemDetails'
403
:
description
:
Forbidden
schema
:
type
:
object
required
:
-
ProblemDetails
properties
:
ProblemDetails
:
$ref
:
'
#/definitions/ProblemDetails'
404
:
description
:
Not Found
schema
:
type
:
object
properties
:
ProblemDetails
:
$ref
:
'
#/definitions/ProblemDetails'
\ No newline at end of file
paths/Services.POST.yaml
View file @
536efb7c
...
...
@@ -13,3 +13,57 @@ responses:
properties
:
ServiceInfo
:
$ref
:
'
#/definitions/ServiceInfo'
examples
:
application/json
:
ServiceInfo
:
serInstanceId
:
ServiceInstance123
serName
:
ExampleService
serCategory
:
href
:
catItem1
id
:
id12345
name
:
RNI
version
:
version1
version
:
ServiceVersion1
state
:
ACTIVE
transportId
:
Rest1
transportInfo
:
id
:
TransId12345
name
:
REST
description
:
REST API
type
:
JSON
protocol
:
HTTP
version
:
'
2.0'
endpoint
:
uris
:
-
/meMp1/service/EntryPoint
addresses
:
-
host
:
'
192.0.2.0'
port
:
'
8080'
security.mp1
:
oAuth2Info
:
grantTypes
:
OAUTH2_CLIENT_CREDENTIALS
tokenEndpoint
:
/meMp1/security.mp1/TokenEndPoint
serializer
:
JSON
400
:
description
:
Bad Request
schema
:
type
:
object
properties
:
ProblemDetails
:
$ref
:
'
#/definitions/ProblemDetails'
403
:
description
:
Forbidden
schema
:
type
:
object
required
:
-
ProblemDetails
properties
:
ProblemDetails
:
$ref
:
'
#/definitions/ProblemDetails'
404
:
description
:
Not Found
schema
:
type
:
object
properties
:
ProblemDetails
:
$ref
:
'
#/definitions/ProblemDetails'
\ No newline at end of file
paths/ServicesServiceId.GET.yaml
View file @
536efb7c
...
...
@@ -11,7 +11,57 @@ responses:
properties
:
ServiceInfo
:
$ref
:
'
#/definitions/ServiceInfo'
examples
:
application/json
:
$ref
:
'
../examples/ServiceInfo.json'
\ No newline at end of file
ServiceInfo
:
serInstanceId
:
ServiceInstance123
serName
:
ExampleService
serCategory
:
href
:
catItem1
id
:
id12345
name
:
RNI
version
:
version1
version
:
ServiceVersion1
state
:
ACTIVE
transportId
:
Rest1
transportInfo
:
id
:
TransId12345
name
:
REST
description
:
REST API
type
:
JSON
protocol
:
HTTP
version
:
'
2.0'
endpoint
:
uris
:
-
/meMp1/service/EntryPoint
addresses
:
-
host
:
'
192.0.2.0'
port
:
'
8080'
security.mp1
:
oAuth2Info
:
grantTypes
:
OAUTH2_CLIENT_CREDENTIALS
tokenEndpoint
:
/meMp1/security.mp1/TokenEndPoint
serializer
:
JSON
400
:
description
:
Bad Request
schema
:
type
:
object
properties
:
ProblemDetails
:
$ref
:
'
#/definitions/ProblemDetails'
403
:
description
:
Forbidden
schema
:
type
:
object
required
:
-
ProblemDetails
properties
:
ProblemDetails
:
$ref
:
'
#/definitions/ProblemDetails'
404
:
description
:
Not Found
schema
:
type
:
object
properties
:
ProblemDetails
:
$ref
:
'
#/definitions/ProblemDetails'
\ No newline at end of file
paths/ServicesServiceId.PUT.yaml
View file @
536efb7c
...
...
@@ -13,7 +13,64 @@ responses:
properties
:
ServiceInfo
:
$ref
:
'
#/definitions/ServiceInfo'
examples
:
application/json
:
$ref
:
'
../examples/ServiceInfo.json'
\ No newline at end of file
ServiceInfo
:
serInstanceId
:
ServiceInstance123
serName
:
ExampleService
serCategory
:
href
:
catItem1
id
:
id12345
name
:
RNI
version
:
version1
version
:
ServiceVersion1
state
:
ACTIVE
transportId
:
Rest1
transportInfo
:
id
:
TransId12345
name
:
REST
description
:
REST API
type
:
JSON
protocol
:
HTTP
version
:
'
2.0'
endpoint
:
uris
:
-
/meMp1/service/EntryPoint
addresses
:
-
host
:
'
192.0.2.0'
port
:
'
8080'
security.mp1
:
oAuth2Info
:
grantTypes
:
OAUTH2_CLIENT_CREDENTIALS
tokenEndpoint
:
/meMp1/security.mp1/TokenEndPoint
serializer
:
JSON
400
:
description
:
Bad Request
schema
:
type
:
object
properties
:
ProblemDetails
:
$ref
:
'
#/definitions/ProblemDetails'
403
:
description
:
Forbidden
schema
:
type
:
object
required
:
-
ProblemDetails
properties
:
ProblemDetails
:
$ref
:
'
#/definitions/ProblemDetails'
404
:
description
:
Not Found
schema
:
type
:
object
properties
:
ProblemDetails
:
$ref
:
'
#/definitions/ProblemDetails'
412
:
description
:
Precondition Failed
schema
:
type
:
object
properties
:
ProblemDetails
:
$ref
:
'
#/definitions/ProblemDetails'
\ No newline at end of file
paths/TimingCaps.GET.yaml
View file @
536efb7c
...
...
@@ -11,3 +11,26 @@ responses:
properties
:
TimingCaps
:
$ref
:
'
#/definitions/TimingCaps'
400
:
description
:
Bad Request
schema
:
type
:
object
properties
:
ProblemDetails
:
$ref
:
'
#/definitions/ProblemDetails'
403
:
description
:
Forbidden
schema
:
type
:
object
required
:
-
ProblemDetails
properties
:
ProblemDetails
:
$ref
:
'
#/definitions/ProblemDetails'
404
:
description
:
Not Found
schema
:
type
:
object
properties
:
ProblemDetails
:
$ref
:
'
#/definitions/ProblemDetails'
\ No newline at end of file
paths/TimingCurrentTime.GET.yaml
View file @
536efb7c
...
...
@@ -11,3 +11,26 @@ responses:
properties
:
CurrentTime
:
$ref
:
'
#/definitions/CurrentTime'
400
:
description
:
Bad Request
schema
:
type
:
object
properties
:
ProblemDetails
:
$ref
:
'
#/definitions/ProblemDetails'
403
:
description
:
Forbidden
schema
:
type
:
object
required
:
-
ProblemDetails
properties
:
ProblemDetails
:
$ref
:
'
#/definitions/ProblemDetails'
404
:
description
:
Not Found
schema
:
type
:
object
properties
:
ProblemDetails
:
$ref
:
'
#/definitions/ProblemDetails'
\ No newline at end of file
paths/Transports.GET.yaml
View file @
536efb7c
...
...
@@ -13,3 +13,26 @@ responses:
properties
:
TransportInfo
:
$ref
:
'
#/definitions/TransportInfo'
400
:
description
:
Bad Request
schema
:
type
:
object
properties
:
ProblemDetails
:
$ref
:
'
#/definitions/ProblemDetails'
403
:
description
:
Forbidden
schema
:
type
:
object
required
:
-
ProblemDetails
properties
:
ProblemDetails
:
$ref
:
'
#/definitions/ProblemDetails'
404
:
description
:
Not Found
schema
:
type
:
object
properties
:
ProblemDetails
:
$ref
:
'
#/definitions/ProblemDetails'
\ No newline at end of file
Prev
1
2
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment