loading-images

Create a new loading image

Upload a new loading image. Available to admin and all authenticated roles.

post/loading-images

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
  • Auth
    HTTP bearer

Request body multipart/form-data

imagestring binary required

Image file (required)

status'active' | 'inactive'

Status (optional, default: inactive)

Example request

{
  "status": "inactive"
}

Response

Loading image created 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.