Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions openapi/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ info:

**cURL:** Get User id 1
```
curl -X GET --location "https://demo.schoolbox.com.au/api/user/1" \
curl -X GET --location "https://demo.schoolbox.education/api/user/1" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Authorization: Bearer {{Add your JWT here}}"
Expand All @@ -34,16 +34,16 @@ info:
"Accept": "application/json",
"Content-Type": "application/json"
}
req = requests.request('PATCH', 'https://demo.schoolbox.com.au/api/user/1', json=data, headers=headers)
req = requests.request('PATCH', 'https://demo.schoolbox.education/api/user/1', json=data, headers=headers)

print(req.json())
```
x-api-id: 0609d493-8804-4e97-b5ac-0ed7b3c99db8
x-audience: external-partner
contact:
name: Schoolbox Team
url: https://schoolbox.com.au
email: developers@schoolbox.com.au
url: https://schoolbox.education
email: developers@schoolbox.education
x-logo:
url: './logo.png'

Expand Down Expand Up @@ -110,7 +110,7 @@ servers:
default: demo
domain:
description: The school's domain name.
default: schoolbox.com.au
default: schoolbox.education

paths:

Expand Down