media

Upload media for agent

Upload image or video media for an agent

post/api/media/{agentId}/upload-media

Request

  • Base URL
    http://localhost:3000
  • URL
    http://localhost:3000/api/media/{agentId}/upload-media
  • Auth
    none declared

Path parameters

agentIdstring uuid required

ID of the agent

Request body multipart/form-data

filestring binary

Media file to upload

Response

Media uploaded successfully

idstring uuid
urlstring

URL of the uploaded media

type'image' | 'video'
mimeTypestring
sizeinteger

Changes

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