Skip to content

Commit

Permalink
#2 add a ping to help with testing
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-conway committed Feb 10, 2017
1 parent f959a59 commit 28b50e3
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions base/base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,21 @@ securityDefinitions:
security:
- basicAuth: []
paths:
'/server/ping':
get:
tags:
- status
summary: Get a ping back from the server
description: 'Call iRODS as an authorized user and get back a simple ping response'
operationId: server
produces:
- application/json
- application/xml
responses:
200:
description: 'Successful ping, containing info on how long it too the REST backend to connect to iRODS'
schema:
$ref: '#/definitions/Ping'
'/collection/{absoluteLogicalPath}/info':
get:
tags:
Expand Down Expand Up @@ -176,6 +191,13 @@ definitions:
parthPart:
type: string
description: part of a path
Ping:
type: object
properties:
pingTime:
type: number
format: float
description: milliseconds to connect to iRODS and get a response from the perspective of the mid-tier service



Expand Down

0 comments on commit 28b50e3

Please sign in to comment.