- Accounts
- Authentication
- Exams
- Levels
List
GET
/api/accounts/instructors/
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://127.0.0.1:80/api/accounts/instructors/'
Responses
🟢200List_Ex01
application/json
Body
count
integer
required
next
null
required
previous
null
required
results
array [object {20}]
required
url
string
required
id
integer
required
username
string
required
email
string
required
first_name
string
required
second_name
string
required
third_name
string
required
fourth_name
string
required
last_name
string
required
gender
string
required
birth_date
string
required
city
string
required
address
string
required
phone
string
required
is_active
boolean
required
is_staff
boolean
required
is_superuser
boolean
required
date_joined
string
required
user_type
integer
required
specialized_in
string
required
Example
{
"count": 3,
"next": null,
"previous": null,
"results": [
{
"url": "http://127.0.0.1:80/api/accounts/instructors/3/",
"id": 3,
"username": "instructor1",
"email": "instructor1@gmail.com",
"first_name": "instructor1",
"second_name": "instructor1",
"third_name": "instructor1",
"fourth_name": "instructor1",
"last_name": "instructor1",
"gender": "m",
"birth_date": "2002-02-02",
"city": "Cairo",
"address": "Address",
"phone": "+201111111111",
"is_active": true,
"is_staff": false,
"is_superuser": false,
"date_joined": "2024-03-16T20:48:01.489539Z",
"user_type": 2,
"specialized_in": "Software Development"
},
{
"url": "http://127.0.0.1:80/api/accounts/instructors/4/",
"id": 4,
"username": "instructor2",
"email": "instructor2@gmail.com",
"first_name": "instructor2",
"second_name": "instructor2",
"third_name": "instructor2",
"fourth_name": "instructor2",
"last_name": "instructor2",
"gender": "m",
"birth_date": "2002-02-02",
"city": "Cairo",
"address": "Address",
"phone": "+201111111111",
"is_active": true,
"is_staff": false,
"is_superuser": false,
"date_joined": "2024-03-16T20:48:14.232971Z",
"user_type": 2,
"specialized_in": "Software Development"
},
{
"url": "http://127.0.0.1:80/api/accounts/instructors/5/",
"id": 5,
"username": "instructor3",
"email": "instructor3@gmail.com",
"first_name": "instructor3",
"second_name": "instructor3",
"third_name": "instructor3",
"fourth_name": "instructor3",
"last_name": "instructor3",
"gender": "m",
"birth_date": "2002-02-02",
"city": "Cairo",
"address": "Address",
"phone": "+201111111111",
"is_active": true,
"is_staff": false,
"is_superuser": false,
"date_joined": "2024-03-16T20:50:09.162840Z",
"user_type": 2,
"specialized_in": "Software Development"
}
]
}
Modified at 2024-03-16 21:19:13