-
Notifications
You must be signed in to change notification settings - Fork 2
/
instructors.postman_collection.json
71 lines (71 loc) · 1.33 KB
/
instructors.postman_collection.json
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
{
"info": {
"_postman_id": "abb054a0-0228-44bd-a485-dea2d56de58e",
"name": "Instructors (Peloton API)",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "All Instructors",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{base_url}}/api/instructor",
"host": [
"{{base_url}}"
],
"path": [
"api",
"instructor"
]
},
"description": "The `/instructor` endpoint returns a list of all available Peloton instructors."
},
"response": []
},
{
"name": "Instructor by Id",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{base_url}}/api/instructor/{{instructor_id}}",
"host": [
"{{base_url}}"
],
"path": [
"api",
"instructor",
"{{instructor_id}}"
]
},
"description": "Access the content of a single instructor by unique id."
},
"response": []
}
],
"event": [
{
"listen": "prerequest",
"script": {
"id": "541ba724-4b44-4b34-bd06-4f49b9ebabca",
"type": "text/javascript",
"exec": [
""
]
}
},
{
"listen": "test",
"script": {
"id": "7327a083-2b46-4e7a-9ade-61a230bf0c27",
"type": "text/javascript",
"exec": [
""
]
}
}
],
"protocolProfileBehavior": {}
}