harden media
This commit is contained in:
@@ -556,6 +556,15 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/media/avatar/{driverId}/details": {
|
||||
"get": {
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/media/avatar/generate": {
|
||||
"post": {
|
||||
"responses": {
|
||||
@@ -574,6 +583,33 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/media/debug/resolve": {
|
||||
"get": {
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/media/default/{variant}": {
|
||||
"get": {
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/media/generated/{type}/{id}": {
|
||||
"get": {
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/media/leagues/{leagueId}/cover": {
|
||||
"get": {
|
||||
"responses": {
|
||||
@@ -592,6 +628,15 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/media/teams/{teamId}/logo": {
|
||||
"get": {
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/media/upload": {
|
||||
"post": {
|
||||
"responses": {
|
||||
@@ -601,6 +646,15 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/media/uploaded/{mediaId}": {
|
||||
"get": {
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/payments": {
|
||||
"get": {
|
||||
"responses": {
|
||||
@@ -1746,7 +1800,12 @@
|
||||
"type": "string"
|
||||
},
|
||||
"avatarUrl": {
|
||||
"type": "string"
|
||||
"type": "string",
|
||||
"nullable": true
|
||||
},
|
||||
"category": {
|
||||
"type": "string",
|
||||
"nullable": true
|
||||
},
|
||||
"rating": {
|
||||
"type": "number",
|
||||
@@ -1774,7 +1833,6 @@
|
||||
"id",
|
||||
"name",
|
||||
"country",
|
||||
"avatarUrl",
|
||||
"totalRaces",
|
||||
"wins",
|
||||
"podiums"
|
||||
@@ -1843,14 +1901,14 @@
|
||||
"type": "string"
|
||||
},
|
||||
"avatarUrl": {
|
||||
"type": "string"
|
||||
"type": "string",
|
||||
"nullable": true
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"name",
|
||||
"country",
|
||||
"avatarUrl"
|
||||
"country"
|
||||
]
|
||||
},
|
||||
"DashboardLeagueStandingSummaryDTO": {
|
||||
@@ -2064,6 +2122,9 @@
|
||||
},
|
||||
"joinedAt": {
|
||||
"type": "string"
|
||||
},
|
||||
"category": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -2089,6 +2150,9 @@
|
||||
"skillLevel": {
|
||||
"type": "string"
|
||||
},
|
||||
"category": {
|
||||
"type": "string"
|
||||
},
|
||||
"nationality": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -2169,7 +2233,8 @@
|
||||
"type": "string"
|
||||
},
|
||||
"avatarUrl": {
|
||||
"type": "string"
|
||||
"type": "string",
|
||||
"nullable": true
|
||||
},
|
||||
"iracingId": {
|
||||
"type": "string",
|
||||
@@ -2178,6 +2243,10 @@
|
||||
"joinedAt": {
|
||||
"type": "string"
|
||||
},
|
||||
"category": {
|
||||
"type": "string",
|
||||
"nullable": true
|
||||
},
|
||||
"rating": {
|
||||
"type": "number",
|
||||
"nullable": true
|
||||
@@ -2203,7 +2272,6 @@
|
||||
"id",
|
||||
"name",
|
||||
"country",
|
||||
"avatarUrl",
|
||||
"joinedAt"
|
||||
]
|
||||
},
|
||||
@@ -2300,14 +2368,14 @@
|
||||
"type": "string"
|
||||
},
|
||||
"avatarUrl": {
|
||||
"type": "string"
|
||||
"type": "string",
|
||||
"nullable": true
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"id",
|
||||
"name",
|
||||
"country",
|
||||
"avatarUrl"
|
||||
"country"
|
||||
]
|
||||
},
|
||||
"DriverProfileSocialHandleDTO": {
|
||||
@@ -2510,7 +2578,8 @@
|
||||
"type": "string"
|
||||
},
|
||||
"avatarUrl": {
|
||||
"type": "string"
|
||||
"type": "string",
|
||||
"nullable": true
|
||||
},
|
||||
"rating": {
|
||||
"type": "number",
|
||||
@@ -2660,12 +2729,10 @@
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"avatarUrl": {
|
||||
"type": "string"
|
||||
"type": "string",
|
||||
"nullable": true
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"avatarUrl"
|
||||
]
|
||||
}
|
||||
},
|
||||
"GetDashboardDataOutputDTO": {
|
||||
"type": "object",
|
||||
@@ -2711,6 +2778,9 @@
|
||||
"joinedAt": {
|
||||
"type": "string"
|
||||
},
|
||||
"category": {
|
||||
"type": "string"
|
||||
},
|
||||
"rating": {
|
||||
"type": "number"
|
||||
},
|
||||
@@ -2725,6 +2795,10 @@
|
||||
},
|
||||
"totalRaces": {
|
||||
"type": "number"
|
||||
},
|
||||
"avatarUrl": {
|
||||
"type": "string",
|
||||
"nullable": true
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -4401,6 +4475,10 @@
|
||||
"usedSlots": {
|
||||
"type": "number"
|
||||
},
|
||||
"category": {
|
||||
"type": "string",
|
||||
"nullable": true
|
||||
},
|
||||
"socialLinks": {
|
||||
"$ref": "#/components/schemas/LeagueCapacityAndScoringSocialLinksDTO",
|
||||
"nullable": true
|
||||
@@ -5012,7 +5090,8 @@
|
||||
"type": "string"
|
||||
},
|
||||
"avatarUrl": {
|
||||
"type": "string"
|
||||
"type": "string",
|
||||
"nullable": true
|
||||
},
|
||||
"rating": {
|
||||
"type": "number",
|
||||
@@ -5026,7 +5105,6 @@
|
||||
"id",
|
||||
"name",
|
||||
"country",
|
||||
"avatarUrl",
|
||||
"isCurrentUser"
|
||||
]
|
||||
},
|
||||
@@ -5311,7 +5389,8 @@
|
||||
"type": "string"
|
||||
},
|
||||
"avatarUrl": {
|
||||
"type": "string"
|
||||
"type": "string",
|
||||
"nullable": true
|
||||
},
|
||||
"position": {
|
||||
"type": "number"
|
||||
@@ -5338,7 +5417,6 @@
|
||||
"required": [
|
||||
"driverId",
|
||||
"driverName",
|
||||
"avatarUrl",
|
||||
"position",
|
||||
"startPosition",
|
||||
"incidents",
|
||||
@@ -5817,7 +5895,8 @@
|
||||
"type": "string"
|
||||
},
|
||||
"avatarUrl": {
|
||||
"type": "string"
|
||||
"type": "string",
|
||||
"nullable": true
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -6008,7 +6087,8 @@
|
||||
"type": "string"
|
||||
},
|
||||
"logoUrl": {
|
||||
"type": "string"
|
||||
"type": "string",
|
||||
"nullable": true
|
||||
},
|
||||
"websiteUrl": {
|
||||
"type": "string"
|
||||
@@ -6080,7 +6160,8 @@
|
||||
"type": "string"
|
||||
},
|
||||
"logoUrl": {
|
||||
"type": "string"
|
||||
"type": "string",
|
||||
"nullable": true
|
||||
},
|
||||
"industry": {
|
||||
"type": "string"
|
||||
@@ -6481,6 +6562,12 @@
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"category": {
|
||||
"type": "string"
|
||||
},
|
||||
"isRecruiting": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string"
|
||||
}
|
||||
@@ -6491,7 +6578,8 @@
|
||||
"tag",
|
||||
"description",
|
||||
"ownerId",
|
||||
"leagues"
|
||||
"leagues",
|
||||
"isRecruiting"
|
||||
]
|
||||
},
|
||||
"TeamJoinRequestDTO": {
|
||||
@@ -6516,7 +6604,8 @@
|
||||
"type": "string"
|
||||
},
|
||||
"avatarUrl": {
|
||||
"type": "string"
|
||||
"type": "string",
|
||||
"nullable": true
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -6525,8 +6614,7 @@
|
||||
"driverName",
|
||||
"teamId",
|
||||
"status",
|
||||
"requestedAt",
|
||||
"avatarUrl"
|
||||
"requestedAt"
|
||||
]
|
||||
},
|
||||
"TeamLeaderboardItemDTO": {
|
||||
@@ -6632,11 +6720,18 @@
|
||||
"performanceLevel": {
|
||||
"type": "string"
|
||||
},
|
||||
"logoUrl": {
|
||||
"category": {
|
||||
"type": "string"
|
||||
},
|
||||
"logoUrl": {
|
||||
"type": "string",
|
||||
"nullable": true
|
||||
},
|
||||
"rating": {
|
||||
"type": "number"
|
||||
},
|
||||
"isRecruiting": {
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -6645,7 +6740,8 @@
|
||||
"tag",
|
||||
"description",
|
||||
"memberCount",
|
||||
"leagues"
|
||||
"leagues",
|
||||
"isRecruiting"
|
||||
]
|
||||
},
|
||||
"TeamMemberDTO": {
|
||||
@@ -6667,7 +6763,8 @@
|
||||
"type": "boolean"
|
||||
},
|
||||
"avatarUrl": {
|
||||
"type": "string"
|
||||
"type": "string",
|
||||
"nullable": true
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -6675,8 +6772,7 @@
|
||||
"driverName",
|
||||
"role",
|
||||
"joinedAt",
|
||||
"isActive",
|
||||
"avatarUrl"
|
||||
"isActive"
|
||||
]
|
||||
},
|
||||
"TeamMembershipDTO": {
|
||||
@@ -6765,12 +6861,12 @@
|
||||
"type": "string"
|
||||
},
|
||||
"avatarUrl": {
|
||||
"type": "string"
|
||||
"type": "string",
|
||||
"nullable": true
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"driverId",
|
||||
"avatarUrl"
|
||||
"driverId"
|
||||
]
|
||||
},
|
||||
"UpdateAvatarOutputDTO": {
|
||||
|
||||
Reference in New Issue
Block a user