Update api_docs_mck.py
Browse files- api_docs_mck.py +20 -12
api_docs_mck.py
CHANGED
@@ -30,23 +30,19 @@ api_docs = {
|
|
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 |
},
|
42 |
"response": {
|
43 |
-
"description": "Information about DaysOff
|
44 |
"content_type": "application/json",
|
45 |
"fields": {
|
46 |
-
"
|
47 |
-
"
|
|
|
|
|
48 |
}
|
49 |
-
|
50 |
},
|
51 |
"personvernspolicy": {
|
52 |
"method": "GET",
|
@@ -59,8 +55,19 @@ api_docs = {
|
|
59 |
"description": "DaysOff's personvernspolicy.",
|
60 |
"content_type": "application/json",
|
61 |
"fields": {
|
62 |
-
"
|
63 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
64 |
}
|
65 |
}
|
66 |
}
|
@@ -69,3 +76,4 @@ api_docs = {
|
|
69 |
|
70 |
# Convert to JSON string for usage in your Python application
|
71 |
api_docs_str = json.dumps(api_docs, indent=2)
|
|
|
|
30 |
"method": "GET",
|
31 |
"url": "/firmahytteordning",
|
32 |
"description": "Retrieve details about Daysoff's 'Firmahytteordning' service.",
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
"headers": {
|
34 |
"Content-Type": "application/json"
|
35 |
},
|
36 |
"response": {
|
37 |
+
"description": "Information about DaysOff services.",
|
38 |
"content_type": "application/json",
|
39 |
"fields": {
|
40 |
+
"firmahytteordning": "response.get('firmahytteordning', 'N/A')",
|
41 |
+
"egne_firmahytter": "response.get('egne_firmahytter', 'N/A')",
|
42 |
+
"bli_utleier": "response.get('bli_utleier', 'N/A')",
|
43 |
+
"om_oss": "response.get('om_oss', 'N/A')"
|
44 |
}
|
45 |
+
}
|
46 |
},
|
47 |
"personvernspolicy": {
|
48 |
"method": "GET",
|
|
|
55 |
"description": "DaysOff's personvernspolicy.",
|
56 |
"content_type": "application/json",
|
57 |
"fields": {
|
58 |
+
"innledning": "response.get('innledning', 'N/A')",
|
59 |
+
"hvilke_personlige_opplysninger_samler_vi_inn": "response.get('hvilke_personlige_opplysninger_samler_vi_inn', 'N/A')",
|
60 |
+
"personlig_informasjon_fra_tredjepart": "response.get('personlig_informasjon_fra_tredjepart', 'N/A')",
|
61 |
+
"hvordan_bruker_vi_dine_personlige_opplysninger": "response.get('hvordan_bruker_vi_dine_personlige_opplysninger', 'N/A')",
|
62 |
+
"med_hvem_deler_vi_dine_personlige_opplysninger": "response.get('med_hvem_deler_vi_dine_personlige_opplysninger', 'N/A')",
|
63 |
+
"adferdsmessig_annonsing": "response.get('adferdsmessig_annonsing', 'N/A')",
|
64 |
+
"spor_ikke_foresporsler": "response.get('spor_ikke_foresporsler', 'N/A')",
|
65 |
+
"dine_rettigheter": "response.get('dine_rettigheter', 'N/A')",
|
66 |
+
"hvordan_beskytter_vi_dataene_dine": "response.get('hvordan_beskytter_vi_dataene_dine', 'N/A')",
|
67 |
+
"data_brekk_prosedyrer": "response.get('data_brekk_prosedyrer', 'N/A')",
|
68 |
+
"team_tilgang": "response.get('team_tilgang', 'N/A')",
|
69 |
+
"policy_endringer": "response.get('policy_endringer', 'N/A')",
|
70 |
+
"kontaktinformasjon": "response.get('kontaktinformasjon', 'N/A')"
|
71 |
}
|
72 |
}
|
73 |
}
|
|
|
76 |
|
77 |
# Convert to JSON string for usage in your Python application
|
78 |
api_docs_str = json.dumps(api_docs, indent=2)
|
79 |
+
api_docs_str
|