Spaces:
Sleeping
Sleeping
Update api_docs_mck.py
Browse files- api_docs_mck.py +11 -2
api_docs_mck.py
CHANGED
@@ -4,8 +4,9 @@ import json
|
|
4 |
api_docs = {
|
5 |
"base_url": "https://670dccd0073307b4ee447f2f.mockapi.io/daysoff/api/V1",
|
6 |
"endpoints": {
|
7 |
-
"
|
8 |
"method": "GET",
|
|
|
9 |
"description": "Retrieve booking information associated with a specific booking ID.",
|
10 |
"parameters": None,
|
11 |
"headers": {
|
@@ -25,9 +26,16 @@ api_docs = {
|
|
25 |
}
|
26 |
}
|
27 |
},
|
28 |
-
"
|
29 |
"method": "GET",
|
|
|
30 |
"description": "Retrieve details about Daysoff's 'Firmahytteordning' service.",
|
|
|
|
|
|
|
|
|
|
|
|
|
31 |
"headers": {
|
32 |
"Content-Type": "application/json"
|
33 |
},
|
@@ -42,6 +50,7 @@ api_docs = {
|
|
42 |
},
|
43 |
"/personvernspolicy": {
|
44 |
"method": "GET",
|
|
|
45 |
"description": "Retrieve personvernspolicy for DaysOff.",
|
46 |
"headers": {
|
47 |
"Content-Type": "application/json"
|
|
|
4 |
api_docs = {
|
5 |
"base_url": "https://670dccd0073307b4ee447f2f.mockapi.io/daysoff/api/V1",
|
6 |
"endpoints": {
|
7 |
+
"booking": {
|
8 |
"method": "GET",
|
9 |
+
"url": "/booking"
|
10 |
"description": "Retrieve booking information associated with a specific booking ID.",
|
11 |
"parameters": None,
|
12 |
"headers": {
|
|
|
26 |
}
|
27 |
}
|
28 |
},
|
29 |
+
"firmahytteordning": {
|
30 |
"method": "GET",
|
31 |
+
"url": "/firmahytteordning"
|
32 |
"description": "Retrieve details about Daysoff's 'Firmahytteordning' service.",
|
33 |
+
"parameters": {
|
34 |
+
"search": {
|
35 |
+
"type": "string",
|
36 |
+
"description": "The unique identifier of the booking to retrieve."
|
37 |
+
}
|
38 |
+
},
|
39 |
"headers": {
|
40 |
"Content-Type": "application/json"
|
41 |
},
|
|
|
50 |
},
|
51 |
"/personvernspolicy": {
|
52 |
"method": "GET",
|
53 |
+
"url": "/personvernspolicy"
|
54 |
"description": "Retrieve personvernspolicy for DaysOff.",
|
55 |
"headers": {
|
56 |
"Content-Type": "application/json"
|