loading-images

Update a loading image

Update an existing loading image by ID. Optional new image file and/or status. Available to admin and all roles.

put/loading-images/{id}

Request

  • Base URL
    https://api.tonewow.com (the document declares no server; this is the origin it was published from)
  • URL
    https://api.tonewow.com/loading-images/{id}
  • Auth
    HTTP bearer

Path parameters

idnumber required
Example:1

Loading image ID

Request body multipart/form-data

imagestring binary

New image file (optional)

status'active' | 'inactive'

Status (optional)

Response

Loading image updated successfully

idnumber required

Loading image ID

image_urlstring required

Image URL

status'active' | 'inactive' required

Status

created_atstring date-time required

Created at

updated_atstring date-time required

Updated at

Example response

{
  "id": 1,
  "image_url": "https://example.com/image.png",
  "status": "active",
  "created_at": "2024-01-01T00:00:00.000Z",
  "updated_at": "2024-01-01T00:00:00.000Z"
}

Changes

No recorded changes to this operation across all 6 revisions of this API.