-
Notifications
You must be signed in to change notification settings - Fork 1
/
i3-msag-conversion.yaml
107 lines (107 loc) · 2.71 KB
/
i3-msag-conversion.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
openapi: 3.0.1
info:
title: MSAG Conversion Service
version: "1.0"
servers:
- url: http://localhost/Mcs/v1
paths:
/PidfloToMsag:
post:
tags:
- PIDFLOtoMSAGConversion
summary: Converts PIDF-LO to MSAG data
operationId: PIDFLOtoMSAGConversion
requestBody:
description: PIDF-LO data
content:
application/json:
schema:
type: string
required: true
responses:
'200':
description: Data successfully converted
content:
application/xml:
schema:
$ref: '#/components/schemas/MsagData'
'307':
description: Temporary Redirect
headers:
Location:
description: Referral URI of another MCS
schema:
type: string
format: uri
'454':
description: Unspecified Error
'468':
description: No Address Found
'469':
description: Unknown MCS/GCS
/MsagToPidfLo:
post:
tags:
- MSAGtoPIDFLOConversion
summary: Converts MSAG to PIDF-LO data
operationId: MSAGtoPIDFLOConversion
requestBody:
description: MSAG data
content:
application/json:
schema:
type: string
required: true
responses:
'200':
description: Data successfully converted
content:
application/xml:
schema:
$ref: '#/components/schemas/PidfLoData'
'307':
description: Temporary Redirect
headers:
Location:
description: Referral URI of another MCS
schema:
type: string
format: uri
'454':
description: Unspecified Error
'468':
description: No Address Found
'469':
description: Unknown MCS/GCS
/Versions:
servers:
- url: https://api.example.com/Mcs
description: Override base path for Versions query
get:
tags:
- RetrieveVersions
summary: Retrieves all supported versions, vendor parameter is optional.
operationId: RetrieveVersions
responses:
'200':
description: Versions found
content:
application/json:
schema:
$ref: 'i3-common.yaml#/components/schemas/VersionsArray'
components:
schemas:
PidfLoData:
type: object
required:
- pidfLoAddress
properties:
pidfLoAddress:
type: string
MsagData:
type: object
required:
- msagAddress
properties:
msagAddress:
type: string