Spaces:
Sleeping
Sleeping
Delete api_docs_mck.py
Browse files- api_docs_mck.py +0 -56
api_docs_mck.py
DELETED
@@ -1,56 +0,0 @@
|
|
1 |
-
import json
|
2 |
-
|
3 |
-
# API Documentation
|
4 |
-
api_docs = {
|
5 |
-
"base_url": "https://670dccd0073307b4ee447f2f.mockapi.io/daysoff/api/V1",
|
6 |
-
"endpoints": {
|
7 |
-
"/booking": {
|
8 |
-
"method": "GET",
|
9 |
-
"description": "Retrieve booking information associated with a booking ID.",
|
10 |
-
"parameters": None,
|
11 |
-
"response": {
|
12 |
-
"description": "A JSON object containing information for a a booking ID.",
|
13 |
-
"content_type": "application/json"
|
14 |
-
}
|
15 |
-
},
|
16 |
-
"/firmahytteordning": {
|
17 |
-
"method": "GET",
|
18 |
-
"description": "Retrieve general information about Daysoff's services.",
|
19 |
-
"parameters": None,
|
20 |
-
"response": {
|
21 |
-
"description": "A JSON object containing general information about Daysoff's services. ",
|
22 |
-
"content_type": "application/json"
|
23 |
-
}
|
24 |
-
},
|
25 |
-
"/personvernspolicy": {
|
26 |
-
"method": "GET",
|
27 |
-
"description": "Retrieve questions and answers about personvernspolicy for DaysOff.",
|
28 |
-
"parameters": None,
|
29 |
-
"response": {
|
30 |
-
"description": "A JSON object containing questions and answers about personvernspolicy for DaysOff. ",
|
31 |
-
"content_type": "application/json"
|
32 |
-
}
|
33 |
-
},
|
34 |
-
"/faq_ansatte": {
|
35 |
-
"method": "GET",
|
36 |
-
"description": "Retrieve spørsmål og svar vi ofte får fra ansatte i bedrifter med DaysOff firmahytteordning.",
|
37 |
-
"parameters": None,
|
38 |
-
"response": {
|
39 |
-
"description": "A JSON object containing spørsmål og svar vi ofte får fra ansatte i bedrifter med DaysOff firmahytteordning.",
|
40 |
-
"content_type": "application/json"
|
41 |
-
}
|
42 |
-
},
|
43 |
-
"/faq_utleiere": {
|
44 |
-
"method": "GET",
|
45 |
-
"description": "Retrieve spørsmål og svar vi ofte får fra utleiere om DaysOff firmahytteordning.",
|
46 |
-
"parameters": None,
|
47 |
-
"response": {
|
48 |
-
"description": "A JSON object containing spørsmål og svar vi ofte får fra utleiere om DaysOff firmahytteordning.",
|
49 |
-
"content_type": "application/json"
|
50 |
-
}
|
51 |
-
}
|
52 |
-
}
|
53 |
-
}
|
54 |
-
|
55 |
-
api_docs_str = json.dumps(api_docs, indent=2)
|
56 |
-
api_docs_str
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|