aboutsummaryrefslogtreecommitdiffstats
path: root/laas_api_documentation.yaml
diff options
context:
space:
mode:
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: