11{
2- "info" : {
3- "_postman_id" : " a6f69e7a-9b1f-45d9-a7a6-56f3e824d372" ,
4- "name" : " python-samples-fastapi-restful" ,
5- "description" : " 🧪 Proof of Concept for a RESTful API made with Python 3 and FastAPI\n\n [https://github.com/nanotaboada/python-samples-fastapi-restful](https://github.com/nanotaboada/python-samples-fastapi-restful)" ,
6- "schema" : " https://schema.getpostman.com/json/collection/v2.1.0/collection.json" ,
7- "_exporter_id" : " 32077259"
8- },
9- "item" : [
10- {
11- "name" : " Create" ,
12- "request" : {
13- "method" : " POST" ,
14- "header" : [],
15- "body" : {
16- "mode" : " raw" ,
17- "raw" : " {\n \" id\" : 12,\n \" firstName\" : \" Leandro\" ,\n \" middleName\" : \" Daniel\" ,\n \" lastName\" : \" Paredes\" ,\n \" dateOfBirth\" : \" 1994-06-29T00:00:00.000Z\" ,\n \" squadNumber\" : 5,\n \" position\" : \" Defensive Midfield\" ,\n \" abbrPosition\" : \" DM\" ,\n \" team\" : \" AS Roma\" ,\n \" league\" : \" Serie A\" ,\n \" starting11\" : false\n }" ,
18- "options" : {
19- "raw" : {
20- "language" : " json"
21- }
22- }
23- },
24- "url" : {
25- "raw" : " http://localhost:9000/players" ,
26- "protocol" : " http" ,
27- "host" : [
28- " localhost"
29- ],
30- "port" : " 9000" ,
31- "path" : [
32- " players"
33- ]
34- },
35- "description" : " Creates a new Player"
36- },
37- "response" : []
38- },
39- {
40- "name" : " Retrieve" ,
41- "protocolProfileBehavior" : {
42- "disableBodyPruning" : true
43- },
44- "request" : {
45- "method" : " GET" ,
46- "header" : [],
47- "body" : {
48- "mode" : " raw" ,
49- "raw" : " " ,
50- "options" : {
51- "raw" : {
52- "language" : " json"
53- }
54- }
55- },
56- "url" : {
57- "raw" : " http://localhost:9000/players" ,
58- "protocol" : " http" ,
59- "host" : [
60- " localhost"
61- ],
62- "port" : " 9000" ,
63- "path" : [
64- " players"
65- ]
66- },
67- "description" : " Retrieves all the Players"
68- },
69- "response" : []
70- },
71- {
72- "name" : " Retrieve By Id" ,
73- "protocolProfileBehavior" : {
74- "disableBodyPruning" : true
75- },
76- "request" : {
77- "method" : " GET" ,
78- "header" : [],
79- "body" : {
80- "mode" : " raw" ,
81- "raw" : " " ,
82- "options" : {
83- "raw" : {
84- "language" : " json"
85- }
86- }
87- },
88- "url" : {
89- "raw" : " http://localhost:9000/players/1" ,
90- "protocol" : " http" ,
91- "host" : [
92- " localhost"
93- ],
94- "port" : " 9000" ,
95- "path" : [
96- " players" ,
97- " 1"
98- ]
99- },
100- "description" : " Retrieves one Player by Id"
101- },
102- "response" : []
103- },
104- {
105- "name" : " Retrieve By Squad Number" ,
106- "protocolProfileBehavior" : {
107- "disableBodyPruning" : true
108- },
109- "request" : {
110- "method" : " GET" ,
111- "header" : [],
112- "body" : {
113- "mode" : " raw" ,
114- "raw" : " " ,
115- "options" : {
116- "raw" : {
117- "language" : " json"
118- }
119- }
120- },
121- "url" : {
122- "raw" : " http://localhost:9000/players/squadnumber/10" ,
123- "protocol" : " http" ,
124- "host" : [
125- " localhost"
126- ],
127- "port" : " 9000" ,
128- "path" : [
129- " players" ,
130- " squadnumber" ,
131- " 10"
132- ]
133- },
134- "description" : " Retrieves one Player by Squad Number"
135- },
136- "response" : []
137- },
138- {
139- "name" : " Update" ,
140- "request" : {
141- "method" : " PUT" ,
142- "header" : [],
143- "body" : {
144- "mode" : " raw" ,
145- "raw" : " {\n \" id\" : 12,\n \" firstName\" : \" Leandro\" ,\n \" middleName\" : \" Daniel\" ,\n \" lastName\" : \" Paredes\" ,\n \" dateOfBirth\" : \" 1994-06-29T00:00:00.000Z\" ,\n \" squadNumber\" : 5,\n \" position\" : \" Defensive Midfield\" ,\n \" abbrPosition\" : \" DM\" ,\n \" team\" : \" AS Roma\" ,\n \" league\" : \" Serie A\" ,\n \" starting11\" : true\n }" ,
146- "options" : {
147- "raw" : {
148- "language" : " json"
149- }
150- }
151- },
152- "url" : {
153- "raw" : " http://localhost:9000/players/12" ,
154- "protocol" : " http" ,
155- "host" : [
156- " localhost"
157- ],
158- "port" : " 9000" ,
159- "path" : [
160- " players" ,
161- " 12"
162- ]
163- },
164- "description" : " Updates an existing Player"
165- },
166- "response" : []
167- },
168- {
169- "name" : " Delete" ,
170- "request" : {
171- "method" : " DELETE" ,
172- "header" : [],
173- "url" : {
174- "raw" : " http://localhost:9000/players/12" ,
175- "protocol" : " http" ,
176- "host" : [
177- " localhost"
178- ],
179- "port" : " 9000" ,
180- "path" : [
181- " players" ,
182- " 12"
183- ]
184- },
185- "description" : " Deletes an existing Player"
186- },
187- "response" : []
188- }
189- ]
190- }
2+ "info" : {
3+ "_postman_id" : " a6f69e7a-9b1f-45d9-a7a6-56f3e824d372" ,
4+ "name" : " python-samples-fastapi-restful" ,
5+ "description" : " 🧪 Proof of Concept for a RESTful API made with Python 3 and FastAPI\n\n [https://github.com/nanotaboada/python-samples-fastapi-restful](https://github.com/nanotaboada/python-samples-fastapi-restful)" ,
6+ "schema" : " https://schema.getpostman.com/json/collection/v2.1.0/collection.json" ,
7+ "_exporter_id" : " 32077259"
8+ },
9+ "item" : [
10+ {
11+ "name" : " Create" ,
12+ "request" : {
13+ "method" : " POST" ,
14+ "header" : [],
15+ "body" : {
16+ "mode" : " raw" ,
17+ "raw" : " {\n \" id\" : 12,\n \" firstName\" : \" Leandro\" ,\n \" middleName\" : \" Daniel\" ,\n \" lastName\" : \" Paredes\" ,\n \" dateOfBirth\" : \" 1994-06-29T00:00:00.000Z\" ,\n \" squadNumber\" : 5,\n \" position\" : \" Defensive Midfield\" ,\n \" abbrPosition\" : \" DM\" ,\n \" team\" : \" AS Roma\" ,\n \" league\" : \" Serie A\" ,\n \" starting11\" : false\n }" ,
18+ "options" : {
19+ "raw" : {
20+ "language" : " json"
21+ }
22+ }
23+ },
24+ "url" : {
25+ "raw" : " http://localhost:9000/players" ,
26+ "protocol" : " http" ,
27+ "host" : [" localhost" ],
28+ "port" : " 9000" ,
29+ "path" : [" players" ]
30+ },
31+ "description" : " Creates a new Player"
32+ },
33+ "response" : []
34+ },
35+ {
36+ "name" : " Retrieve" ,
37+ "protocolProfileBehavior" : {
38+ "disableBodyPruning" : true
39+ },
40+ "request" : {
41+ "method" : " GET" ,
42+ "header" : [],
43+ "body" : {
44+ "mode" : " raw" ,
45+ "raw" : " " ,
46+ "options" : {
47+ "raw" : {
48+ "language" : " json"
49+ }
50+ }
51+ },
52+ "url" : {
53+ "raw" : " http://localhost:9000/players" ,
54+ "protocol" : " http" ,
55+ "host" : [" localhost" ],
56+ "port" : " 9000" ,
57+ "path" : [" players" ]
58+ },
59+ "description" : " Retrieves all the Players"
60+ },
61+ "response" : []
62+ },
63+ {
64+ "name" : " Retrieve By Id" ,
65+ "protocolProfileBehavior" : {
66+ "disableBodyPruning" : true
67+ },
68+ "request" : {
69+ "method" : " GET" ,
70+ "header" : [],
71+ "body" : {
72+ "mode" : " raw" ,
73+ "raw" : " " ,
74+ "options" : {
75+ "raw" : {
76+ "language" : " json"
77+ }
78+ }
79+ },
80+ "url" : {
81+ "raw" : " http://localhost:9000/players/1" ,
82+ "protocol" : " http" ,
83+ "host" : [" localhost" ],
84+ "port" : " 9000" ,
85+ "path" : [" players" , " 1" ]
86+ },
87+ "description" : " Retrieves one Player by Id"
88+ },
89+ "response" : []
90+ },
91+ {
92+ "name" : " Retrieve By Squad Number" ,
93+ "protocolProfileBehavior" : {
94+ "disableBodyPruning" : true
95+ },
96+ "request" : {
97+ "method" : " GET" ,
98+ "header" : [],
99+ "body" : {
100+ "mode" : " raw" ,
101+ "raw" : " " ,
102+ "options" : {
103+ "raw" : {
104+ "language" : " json"
105+ }
106+ }
107+ },
108+ "url" : {
109+ "raw" : " http://localhost:9000/players/squadnumber/10" ,
110+ "protocol" : " http" ,
111+ "host" : [" localhost" ],
112+ "port" : " 9000" ,
113+ "path" : [" players" , " squadnumber" , " 10" ]
114+ },
115+ "description" : " Retrieves one Player by Squad Number"
116+ },
117+ "response" : []
118+ },
119+ {
120+ "name" : " Update" ,
121+ "request" : {
122+ "method" : " PUT" ,
123+ "header" : [],
124+ "body" : {
125+ "mode" : " raw" ,
126+ "raw" : " {\n \" id\" : 12,\n \" firstName\" : \" Leandro\" ,\n \" middleName\" : \" Daniel\" ,\n \" lastName\" : \" Paredes\" ,\n \" dateOfBirth\" : \" 1994-06-29T00:00:00.000Z\" ,\n \" squadNumber\" : 5,\n \" position\" : \" Defensive Midfield\" ,\n \" abbrPosition\" : \" DM\" ,\n \" team\" : \" AS Roma\" ,\n \" league\" : \" Serie A\" ,\n \" starting11\" : true\n }" ,
127+ "options" : {
128+ "raw" : {
129+ "language" : " json"
130+ }
131+ }
132+ },
133+ "url" : {
134+ "raw" : " http://localhost:9000/players/12" ,
135+ "protocol" : " http" ,
136+ "host" : [" localhost" ],
137+ "port" : " 9000" ,
138+ "path" : [" players" , " 12" ]
139+ },
140+ "description" : " Updates an existing Player"
141+ },
142+ "response" : []
143+ },
144+ {
145+ "name" : " Delete" ,
146+ "request" : {
147+ "method" : " DELETE" ,
148+ "header" : [],
149+ "url" : {
150+ "raw" : " http://localhost:9000/players/12" ,
151+ "protocol" : " http" ,
152+ "host" : [" localhost" ],
153+ "port" : " 9000" ,
154+ "path" : [" players" , " 12" ]
155+ },
156+ "description" : " Deletes an existing Player"
157+ },
158+ "response" : []
159+ }
160+ ]
161+ }
0 commit comments