Files

Get file

Deprecated: use /v2/files/{id} instead.

Auth: User JWT

get file created by user (JWT owner) by id

get/v1/files/{id}

Request

  • Base URL: https://api.chat.ethora.com
  • URL: https://api.chat.ethora.com/v1/files/{id}
  • Auth: HTTP bearer

Path parameters

idstring required

ID of the target resource. The exact type (App, File, etc.) depends on the endpoint.

Response

{
    userId: string,
    ownerKey: string,
    location: string,
    locationPreview?: string,
    duration?: string,
    originalname: string,
    filename: string,
    mimetype: string,
    size: string,
    expiresAt: string,
    isPrivate: string,
    _id: string,
    createdAt: string,
    updatedAt: string,
}
_idstring
userIdstring
ownerKeystring
locationstring
locationPreviewstring nullable
durationstring nullable
originalnamestring
filenamestring
mimetypestring
sizenumber
expiresAtstring nullable
isPrivateboolean nullable
createdAtstring nullable
updatedAtstring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.