banners
Upload a new banner
Upload a new banner with image file. Any authenticated user can upload, but requires admin approval to activate.
post/banner/upload
Request
- Base URLhttps://api.tonewow.com (the document declares no server; this is the origin it was published from)
- URLhttps://api.tonewow.com/banner/upload
- AuthHTTP bearer
Request body multipart/form-data
Example request
{
"bannerUrl": "https://example.com/landing",
"order_id": "1",
"startDate": "2024-01-01T00:00:00.000Z",
"endDate": "2024-12-31T23:59:59.000Z",
"languageType": "EN"
}Response
Banner uploaded successfully (pending approval)
Example response
{
"id": 1,
"bannerImageUrl": "https://example.com/banner.jpg",
"bannerUrl": "https://example.com/landing",
"status": "ACTIVE",
"order_id": "1",
"start_date": "2024-01-01T00:00:00.000Z",
"end_date": "2024-12-31T23:59:59.000Z",
"languageType": "EN"
}Changes
No recorded changes to this operation across all 6 revisions of this API.