dialog-images
Update a dialog image
Update an existing dialog image. After update, it will require admin approval again.
patch/dialog-images/{id}
Request
- Base URLhttps://api.tonewow.com (the document declares no server; this is the origin it was published from)
- URLhttps://api.tonewow.com/dialog-images/{id}
- AuthHTTP bearer
Path parameters
idnumber required
Example:1
Dialog image ID
Request body multipart/form-data
Example request
{
"deep_link_url": "https://example.com/new-deep-link",
"published_date": "2024-01-01T00:00:00.000Z",
"click_count": "10"
}Response
Dialog image updated successfully
Example response
{
"id": 1,
"image_url": "https://example.com/image.jpg",
"deep_link_url": "https://example.com/deep-link",
"published_date": "2024-01-01T00:00:00.000Z",
"is_active": true,
"created_at": "2024-01-01T00:00:00.000Z",
"updated_at": "2024-01-01T00:00:00.000Z",
"click_count": "0",
"approved_by": 1,
"approved_at": "2024-01-01T00:00:00.000Z"
}Changes
No recorded changes to this operation across all 6 revisions of this API.