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