camparchimedes commited on
Commit
3824e8e
·
verified ·
1 Parent(s): 24a6dbe

Update api_docs.py

Browse files
Files changed (1) hide show
  1. 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": "GET",
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": {
 
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": {