aboutsummaryrefslogtreecommitdiffstats
path: root/laas_api_documentation.yaml
diff options
context:
space:
mode:
authorRaven Hodgdon <jhodgdon@iol.unh.edu>2022-01-06 15:56:13 -0500
committerSawyer Bergeron <sbergeron@iol.unh.edu>2022-09-07 18:05:28 +0000
commit2f00cec033d0b20f5d4fda78281988da4ad18e9f (patch)
treed4cd1decc587134df0c82810ec087d03eeda19f1 /laas_api_documentation.yaml
parent97a32dd51c6ac6bcbb5b5f129b635afbeea40270 (diff)
added booking details api endpoint
Change-Id: I716ea72bcb57762b6fc9c684233deb42ee49f8af Signed-off-by: jhodgdon <jhodgdon@iol.unh.edu>
Diffstat (limited to 'laas_api_documentation.yaml')
-rw-r--r--laas_api_documentation.yaml23
1 files changed, 23 insertions, 0 deletions
diff --git a/laas_api_documentation.yaml b/laas_api_documentation.yaml
index ee967b0..d8f6186 100644
--- a/laas_api_documentation.yaml
+++ b/laas_api_documentation.yaml
@@ -115,6 +115,29 @@ paths:
description: Cannnot cancel booking
'401':
description: Unauthorized API key
+ '/booking/{bookingID}/details':
+ get:
+ tags:
+ - Bookings
+ summary: Get booking details
+ description: ''
+ operationID: bookingDetails
+ parameters:
+ - in: path
+ name: bookingID
+ required: true
+ type: integer
+ produces:
+ - application/json
+ responses:
+ '200':
+ description: successful operation
+ schema:
+ $ref: '#/definitions/Booking'
+ '404':
+ description: Booking does not exist
+ '401':
+ description: Unauthorized API key
'/booking/{bookingID}/extendBooking/{days}':
post:
tags: