Add ToursTable, update API documentation
This commit is contained in:
9
software/backend/data/cities.json
Normal file
9
software/backend/data/cities.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"data": [
|
||||
{
|
||||
"id": 0,
|
||||
"name": "Hannover",
|
||||
"country": "Germany"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -3,7 +3,8 @@
|
||||
{
|
||||
"id": 0,
|
||||
"name": "Swiss Life Hall",
|
||||
"address": "Ferdinand-Wilhlem-Fricke-Weg 8, 30169 Hannover",
|
||||
"address": "Ferdinand-Wilhlem-Fricke-Weg 8",
|
||||
"cityId": 0,
|
||||
"image": "swiss-life-hall.jpg"
|
||||
}
|
||||
]
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
{
|
||||
"id": 0,
|
||||
"orderId": 0,
|
||||
"productId": 0,
|
||||
"showId": 0,
|
||||
"quantity": 2,
|
||||
"orderPrice": 184
|
||||
}
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
{
|
||||
"data": [
|
||||
{
|
||||
"id": 0,
|
||||
"name": "Unlimited Love Tour",
|
||||
"bandId": 0,
|
||||
"date": "2024-12-03",
|
||||
"price": 92,
|
||||
"inStock": 230,
|
||||
"offered": true,
|
||||
"locationId": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
20
software/backend/data/tours.json
Normal file
20
software/backend/data/tours.json
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"data": [
|
||||
{
|
||||
"id": 0,
|
||||
"name": "Unlimited Love Tour",
|
||||
"bandId": 0,
|
||||
"offered": true,
|
||||
"shows": [
|
||||
{
|
||||
"id": 0,
|
||||
"date": "2024-12-03",
|
||||
"price": 92,
|
||||
"inStock": 230,
|
||||
"locationId": 0,
|
||||
"tourId": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user