-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbooks.postman_collection.json
125 lines (125 loc) · 2.27 KB
/
books.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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
{
"info": {
"_postman_id": "1d437c67-6ef1-427a-8dd5-74db0b6f643f",
"name": "books",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
"_exporter_id": "7804806"
},
"item": [
{
"name": "book-by-title",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "localhost:5000/book/book-by-title/Frankenstein",
"host": [
"localhost"
],
"port": "5000",
"path": [
"book",
"book-by-title",
"Frankenstein"
],
"query": [
{
"key": "page",
"value": "3",
"disabled": true
}
]
}
},
"response": []
},
{
"name": "create-book-review-and-rating",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\r\n \"book_id\": 5,\r\n \"rating\": 2,\r\n \"review\": \"Este livro eh medio 2\"\r\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "localhost:5000/book/create-book-review-and-rating",
"host": [
"localhost"
],
"port": "5000",
"path": [
"book",
"create-book-review-and-rating"
]
}
},
"response": []
},
{
"name": "book-details-and-rating",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "localhost:5000/book/book-details-and-rating/84",
"host": [
"localhost"
],
"port": "5000",
"path": [
"book",
"book-details-and-rating",
"84"
]
}
},
"response": []
},
{
"name": "book-top-number-average-rating",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "localhost:5000/book/book-top-number-average-rating/5",
"host": [
"localhost"
],
"port": "5000",
"path": [
"book",
"book-top-number-average-rating",
"5"
]
}
},
"response": []
},
{
"name": "book-top-month-average-rating",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "localhost:5000/book/book-top-month-average-rating/7",
"host": [
"localhost"
],
"port": "5000",
"path": [
"book",
"book-top-month-average-rating",
"7"
]
}
},
"response": []
}
]
}