Chats

Create chat file download URL

Changed on
post/api/v2/chats/files/{file}/download-url

Request

  • Base URL
    / (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/v2/chats/files/{file}/download-url
  • Auth
    API key in header Coder-Session-Token

Path parameters

filestring uuid required

File ID

Response

OK

expires_atstring date-time
mime_typestring
namestring
sha256string
size_bytesinteger
urlstring uri

Changes