image

Accepts a base64-encoded image in JSON format, uploads it to S3, and returns its public URL. Uses pattern: "user_uploads/images/{uuid}.{ext}"

The stored type and extension come from the image bytes, never from the content_type or file_name the client sent.

Works for both web and mobile platforms.

post/image/upload

Request

  • Base URL: https://api.excellence-ai.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.excellence-ai.com/image/upload
  • Auth: OAuth 2 (password, token URL api/login)

Request body

file_contentstring required
file_namestring required
content_typestring required

Response

Successful Response

statusstring required
messagestring required
urlstring required

Changes

    • info

      the endpoint scheme security OAuth2PasswordBearer was added to the API

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status