dialog-images

Update a dialog image

Update an existing dialog image. After update, it will require admin approval again.

patch/dialog-images/{id}

Path parameters

idnumber required
Example:1

Dialog image ID

Response

Dialog image updated successfully

idnumber required

Dialog Image ID

image_urlstring required

Image URL

deep_link_urlstring required

Deep link URL

published_datestring date-time required

Published date

is_activeboolean required

Is active (approved)

created_atstring date-time required

Created at

updated_atstring date-time required

Updated at

click_countstring required

Click count

approved_bynumber

Admin user ID who approved

approved_atstring date-time

Approval date

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 endpoint across all 1 revision of this API.