Created
May 3, 2018 07:02
-
-
Save jmdwjayamaha/f8d19a825e50fafaf2eb5b10cac8f8e0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {"swagger":"2.0","info":{"description":"Api Documentation","version":"1.0","title":"Api Documentation","termsOfService":"urn:tos","contact":{},"license":{"name":"Apache 2.0","url":"http://www.apache.org/licenses/LICENSE-2.0"}},"host":"glp-qa.gl-poc.com","basePath":"/autobahnpro","tags":[{"name":"api-ready-resource","description":"API Ready Resource"},{"name":"activity-message-status-handler","description":"Activity Message Status Handler"},{"name":"activity-service-handler","description":"Activity Service Handler"},{"name":"api-health-resource","description":"API Health Resource"},{"name":"event-message-status-handler","description":"Event Message Status Handler"},{"name":"event-service-handler","description":"Event Service Handler"}],"schemes":["https"],"paths":{"/health":{"get":{"tags":["api-health-resource"],"summary":"createHealthStats","operationId":"createHealthStatsUsingGET","consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/AbstractResponse"}}}}},"/ready":{"get":{"tags":["api-ready-resource"],"summary":"createReadyStats","operationId":"createReadyStatsUsingGET","consumes":["application/json"],"produces":["application/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/AbstractResponse"}}}}},"/v1/messages/activities":{"post":{"tags":["activity-service-handler"],"summary":"Create Autobahn activity service.","operationId":"handlePostUsingPOST","consumes":["application/json"],"produces":["*/*"],"parameters":[{"in":"body","name":"request","description":"request","required":true,"schema":{"$ref":"#/definitions/ActivityModel"}}],"responses":{"200":{"description":"Successfully create Activity","schema":{"$ref":"#/definitions/Iterable"}},"401":{"description":"You are not authorized to view the resource"},"403":{"description":"Accessing the resource you were trying to reach is forbidden"},"404":{"description":"The resource you were trying to reach is not found"}}}},"/v1/messages/activities/{trackingId}/status":{"get":{"tags":["activity-message-status-handler"],"summary":"get Autobahn activity status handler.","operationId":"handleGetUsingGET","consumes":["application/json"],"produces":["*/*"],"parameters":[{"name":"trackingId","in":"path","description":"trackingId","required":true,"type":"string"}],"responses":{"200":{"description":"Successfully get Activity status","schema":{"$ref":"#/definitions/Iterable"}},"401":{"description":"You are not authorized to view the resource"},"403":{"description":"Accessing the resource you were trying to reach is forbidden"},"404":{"description":"The resource you were trying to reach is not found"}}}},"/v1/messages/events":{"post":{"tags":["event-service-handler"],"summary":"Create Autobahn event service.","operationId":"handlePostUsingPOST_1","consumes":["application/json"],"produces":["*/*"],"parameters":[{"in":"body","name":"request","description":"request","required":true,"schema":{"$ref":"#/definitions/EventModel"}}],"responses":{"200":{"description":"Successfully create Event","schema":{"$ref":"#/definitions/Iterable"}},"401":{"description":"You are not authorized to view the resource"},"403":{"description":"Accessing the resource you were trying to reach is forbidden"},"404":{"description":"The resource you were trying to reach is not found"}}}},"/v1/messages/events/{trackingId}/status":{"get":{"tags":["event-message-status-handler"],"summary":"get Autobahn event status handler.","operationId":"handleGetUsingGET_1","consumes":["application/json"],"produces":["*/*"],"parameters":[{"name":"trackingId","in":"path","description":"trackingId","required":true,"type":"string"}],"responses":{"200":{"description":"Successfully get event status","schema":{"$ref":"#/definitions/Iterable"}},"401":{"description":"You are not authorized to view the resource"},"403":{"description":"Accessing the resource you were trying to reach is forbidden"},"404":{"description":"The resource you were trying to reach is not found"}}}}},"definitions":{"EventModel":{"type":"object","properties":{"events":{"type":"array","items":{"$ref":"#/definitions/Events"}},"originatingSystemCode":{"type":"string"}}},"PlatformError":{"type":"object","properties":{"code":{"type":"string"},"developerMessage":{"type":"string"},"message":{"type":"string"},"moreInfo":{"type":"string"},"status":{"type":"integer","format":"int32"}}},"Iterable":{"type":"object"},"AbstractResponse":{"type":"object","properties":{"errors":{"type":"array","items":{"$ref":"#/definitions/PlatformError"}},"metadata":{"type":"object"},"status":{"type":"integer","format":"int32"}}},"Events":{"type":"object","properties":{"actionType":{"type":"string"},"messageTypeCode":{"type":"string"},"messageVersion":{"type":"string"},"namespace":{"type":"string"},"payload":{"type":"object"},"receivedDt":{"type":"string"},"status":{"type":"string"},"trackingId":{"type":"string"}}},"ActivityModel":{"type":"object","properties":{"activities":{"type":"array","items":{"$ref":"#/definitions/Activity"}},"originatingSystemCode":{"type":"string"}}},"Activity":{"type":"object","properties":{"actionType":{"type":"string"},"messageTypeCode":{"type":"string"},"messageVersion":{"type":"string"},"namespace":{"type":"string"},"payload":{"type":"object"},"receivedDt":{"type":"string"},"status":{"type":"string"},"trackingId":{"type":"string"}}}}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment