neo datacenter

This commit is contained in:
mr
2024-08-26 12:08:43 +02:00
parent ae0b2098ec
commit a07db36d99
8 changed files with 25 additions and 12 deletions

View File

@@ -56,7 +56,7 @@
}
}
},
"/booking/check/{start_date}/{end_date}": {
"/booking/check/{datacenter_id}/{start_date}/{end_date}": {
"get": {
"tags": [
"booking"
@@ -64,6 +64,12 @@
"description": "check booking\n\u003cbr\u003e",
"operationId": "BookingController.Check",
"parameters": [
{
"in": "path",
"name": "datacenter_id",
"description": "id of the datacenter",
"type": "string"
},
{
"in": "path",
"name": "start_date",

View File

@@ -60,7 +60,7 @@ paths:
responses:
"200":
description: '{booking} models.booking'
/booking/check/{start_date}/{end_date}:
/booking/check/{datacenter_id}/{start_date}/{end_date}:
get:
tags:
- booking
@@ -69,6 +69,10 @@ paths:
<br>
operationId: BookingController.Check
parameters:
- in: path
name: datacenter_id
description: id of the datacenter
type: string
- in: path
name: start_date
description: 2006-01-02T15:04:05