Skip to content

Commit 41349d1

Browse files
MEF 124 API fix
1 parent 0f86bc0 commit 41349d1

File tree

2 files changed

+77
-1
lines changed

2 files changed

+77
-1
lines changed

‎productApi/troubleTicket/README.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
- added `observedImpact` to Trouble Ticket search criteria
1010
- introduced `impact` attribute to Incident, aligned with Trouble Ticket's `observedImpact`
11+
- added `/hub/{id}/get` operation
1112

1213
### List of changes in the API:
1314

@@ -18,6 +19,8 @@
1819
- `/incident/`
1920
- `get`
2021
- `impact` query parameter added
22+
- `/hub/{id}`
23+
- `get` - operation added
2124
- `Incident`
2225
- `impact` - added, required
2326
- `Incident_Find`
@@ -72,7 +75,7 @@ The "Get Workorder" use case moved to Appointment API - `workOrderManagement.yam
7275

7376
**troubleTicketNotification.api.yaml:**
7477

75-
- server URL: `mefApi/cantata/troubleTicket/` changed to `mefApi/cantata/troubleTicketNotification/`
78+
- server URL: `mefApi/sonata/troubleTicket/` changed to `mefApi/sonata/troubleTicketNotification/`
7679
- removed endpoint: `/listener/incidentClosedEvent`
7780
- renamed endpoint: ` /listener/incidentCreatedEvent:` to ` /listener/incidentCreateEvent:`
7881
- `IncidentEventType`:

‎productApi/troubleTicket/troubleTicketManagement.api.yaml

+73
Original file line numberDiff line numberDiff line change
@@ -1199,6 +1199,79 @@ paths:
11991199
summary: Unregister a listener
12001200
tags:
12011201
- events subscription
1202+
get:
1203+
description: >-
1204+
This operation retrieves a hub entity.
1205+
operationId: retrieveHub
1206+
parameters:
1207+
- description: Identifier of the Hub
1208+
in: path
1209+
name: id
1210+
required: true
1211+
schema:
1212+
type: string
1213+
- description: >-
1214+
The unique identifier of the organization that is acting as the a
1215+
Buyer. MUST be specified in the request only when the requester
1216+
represents more than one Buyer.
1217+
in: query
1218+
name: buyerId
1219+
schema:
1220+
type: string
1221+
- description: >-
1222+
The unique identifier of the organization that is acting as the
1223+
Seller. MUST be specified in the request only when responding
1224+
entity represents more than one Seller.
1225+
in: query
1226+
name: sellerId
1227+
schema:
1228+
type: string
1229+
responses:
1230+
'200':
1231+
content:
1232+
application/json;charset=utf-8:
1233+
schema:
1234+
$ref: '#/components/schemas/EventSubscription'
1235+
description: Success
1236+
'400':
1237+
content:
1238+
application/json;charset=utf-8:
1239+
schema:
1240+
$ref: '#/components/schemas/Error400'
1241+
description: Bad Request
1242+
'401':
1243+
content:
1244+
application/json;charset=utf-8:
1245+
schema:
1246+
$ref: '#/components/schemas/Error401'
1247+
description: Unauthorized
1248+
'403':
1249+
content:
1250+
application/json;charset=utf-8:
1251+
schema:
1252+
$ref: '#/components/schemas/Error403'
1253+
description: Forbidden
1254+
'404':
1255+
content:
1256+
application/json;charset=utf-8:
1257+
schema:
1258+
$ref: '#/components/schemas/Error404'
1259+
description: Not Found
1260+
'500':
1261+
content:
1262+
application/json;charset=utf-8:
1263+
schema:
1264+
$ref: '#/components/schemas/Error500'
1265+
description: Internal Server Error
1266+
'501':
1267+
content:
1268+
application/json;charset=utf-8:
1269+
schema:
1270+
$ref: '#/components/schemas/Error501'
1271+
description: Method not implemented.
1272+
summary: Retrieves listener information
1273+
tags:
1274+
- events subscription
12021275
components:
12031276
schemas:
12041277
AttachmentValue:

0 commit comments

Comments
 (0)