Files

List files

Auth: User JWT

get files created by user (JWT owner)

get/v1/files/

Request

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

Query parameters

limitinteger

Maximum number of items to return per page. Server caps vary per endpoint; the response carries the actual page size.

offsetinteger

Number of items to skip from the beginning of the result set. Use with limit for paging.

Response

{
  limit: number,
  offset: number,
  total: number,
  items: [{
    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,
  }],
}
limitinteger required
offsetinteger required
totalinteger required

Changes

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