-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapi.txt
301 lines (277 loc) · 5.97 KB
/
api.txt
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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
GET : /api/car_models/models?make=83
GET: /api/car_models/estimated_earnings
params: car_model_estimation[car_brand_id]
28
car_model_estimation[car_model_id]
2752
car_model_estimation[release_year]
2020
car_model_estimation[mileage]
4
car_model_estimation[city]
car_model_estimation[city_country]
FR
car_model_estimation[subdivision]
car_model_estimation[latitude]
48.72898597901601
car_model_estimation[longitude]
2.2704402550732654
car_model_estimation[registration_country]
FR
car_model_estimation[with_open_landing_multiplier]
true
GET: /api/autocomplete/cities
delivery_points_of_interest_only
false
enable_google_places
true
enable_imprecise_addresses
true
input
paris
GET: /api/internal/user_menu
params: current_path
/car_wizards/1395308/steps/model
Response:
{
"user_infos": {
"id": 5615810,
"first_name": "Fatahou",
"last_name": "Ahamadi",
"avatar_src": "https://drivy.gumlet.io/uploads/originals/71e0f8c459a56b1003c2d965048ad7d7.png?compress=true&crop=faces&dpr=1&fm=png&h=100&mask=ellipse&mode=crop&w=100",
"is_owner": true
},
"links": [
{
"identifier": "account",
"name": "Modifier mon compte",
"url": "/dashboard/profile/edit",
"badge": null,
"mobile_only": null,
"icon_name": null,
"special": null,
"access": "driver",
"method": null
},
{
"identifier": "profile_verification",
"name": "Vérifier mon profil",
"url": "/dashboard/profile_verification_status",
"badge": null,
"mobile_only": null,
"icon_name": null,
"special": null,
"access": "driver",
"method": null
},
{
"identifier": "rentals",
"name": "Locations",
"url": "/dashboard/rentals?user_behavior=driver",
"badge": false,
"mobile_only": null,
"icon_name": null,
"special": null,
"access": "driver",
"method": null
},
{
"identifier": "payments",
"name": "Paiements",
"url": "/dashboard/payments?role=driver",
"badge": null,
"mobile_only": null,
"icon_name": null,
"special": null,
"access": "driver",
"method": null
},
{
"identifier": "referral",
"name": "Gagnez 15€ de crédit",
"url": "/dashboard/referral",
"badge": null,
"mobile_only": null,
"icon_name": "miscGift",
"special": true,
"access": "driver",
"method": null
},
{
"identifier": "help_center",
"name": "Des questions ?",
"url": "/help",
"badge": null,
"mobile_only": true,
"icon_name": "contextualQuestion",
"special": true,
"access": "driver",
"method": null
},
{
"identifier": "owner_landing_page",
"name": "Louer ma voiture",
"url": "/louer-sa-voiture",
"badge": null,
"mobile_only": true,
"icon_name": "car",
"special": true,
"access": "driver",
"method": null
},
{
"identifier": "logout",
"name": "Se déconnecter",
"url": "/logout",
"badge": null,
"mobile_only": null,
"icon_name": "logout",
"special": true,
"access": "driver",
"method": "delete"
},
{
"identifier": "account",
"name": "Modifier mon compte",
"url": "/dashboard/profile/edit",
"badge": null,
"mobile_only": null,
"icon_name": null,
"special": null,
"access": "owner",
"method": null
},
{
"identifier": "matches",
"name": "Demandes",
"url": "/dashboard/matches",
"badge": false,
"mobile_only": null,
"icon_name": null,
"special": null,
"access": "owner",
"method": null
},
{
"identifier": "rentals",
"name": "Locations",
"url": "/dashboard/rentals?user_behavior=owner",
"badge": false,
"mobile_only": null,
"icon_name": null,
"special": null,
"access": "owner",
"method": null
},
{
"identifier": "cars",
"name": "Voitures",
"url": "/dashboard/cars",
"badge": null,
"mobile_only": null,
"icon_name": null,
"special": null,
"access": "owner",
"method": null
},
{
"identifier": "performance",
"name": "Performance",
"url": "/dashboard/performance",
"badge": null,
"mobile_only": null,
"icon_name": null,
"special": null,
"access": "owner",
"method": null
},
{
"identifier": "payments",
"name": "Paiements",
"url": "/dashboard/payments?role=owner",
"badge": null,
"mobile_only": null,
"icon_name": null,
"special": null,
"access": "owner",
"method": null
},
{
"identifier": "help_center",
"name": "Des questions ?",
"url": "/help",
"badge": null,
"mobile_only": true,
"icon_name": "contextualQuestion",
"special": true,
"access": "owner",
"method": null
},
{
"identifier": "owner_landing_page",
"name": "Louer ma voiture",
"url": "/louer-sa-voiture",
"badge": null,
"mobile_only": true,
"icon_name": "car",
"special": true,
"access": "owner",
"method": null
},
{
"identifier": "logout",
"name": "Se déconnecter",
"url": "/logout",
"badge": null,
"mobile_only": null,
"icon_name": "logout",
"special": true,
"access": "owner",
"method": "delete"
}
]
}
#### Marque => liste des modèles
GET: https://maps.googleapis.com/maps/api/mapsjs/gen_204?csp_test=true
PUT: api/cars/1395308/car_photos/order
POST: api/cars/1395308/car_photo
body: file_url, photo_height, photo_width
############################################
Engeristrer les marques (Id, Nom)
Engeristrer les Modèle (Id, Nom)
GET: https://fr.getaround.com/search.json
params: address
Gare de Paris Est
address_source
poi
administrative_area
undefined
city_display_name
undefined
country_scope
FR
display_view
list
end_date
2024-02-10
end_time
08:00
latitude
48.877
longitude
2.3591
picked_car_ids
EMPTY
pickup_method
poi_id
980
program
getaround
start_date
2024-01-22
start_time
08:30
view_mode
list
cars :
GET: https://turo.com/api/v2/reservation/conversation?reservationId=28589659