Update api_docs.py
Browse files- api_docs.py +10 -10
api_docs.py
CHANGED
|
@@ -7,18 +7,18 @@ api_docs = {
|
|
| 7 |
"base_url": "https://aivisions.no/data/daysoff/api/v1/booking/",
|
| 8 |
"endpoints": {
|
| 9 |
"/": {
|
| 10 |
-
"method": "
|
| 11 |
"description": "Retrieve booking information associated with a booking ID.",
|
| 12 |
-
"parameters": None
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
#"required": true,
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
}
|
| 23 |
},
|
| 24 |
"headers": {
|
|
|
|
| 7 |
"base_url": "https://aivisions.no/data/daysoff/api/v1/booking/",
|
| 8 |
"endpoints": {
|
| 9 |
"/": {
|
| 10 |
+
"method": "POST",
|
| 11 |
"description": "Retrieve booking information associated with a booking ID.",
|
| 12 |
+
#"parameters": None
|
| 13 |
+
"parameters": {
|
| 14 |
+
"body": {
|
| 15 |
+
"booking_id": {
|
| 16 |
+
"type": "string",
|
| 17 |
#"required": true,
|
| 18 |
+
"description": "The unique identifier for a booking."
|
| 19 |
+
}
|
| 20 |
+
}
|
| 21 |
+
}
|
| 22 |
}
|
| 23 |
},
|
| 24 |
"headers": {
|