Skip to content

Drawer, WIP

DrawerMedia

  • id — long integer
  • url — string, URL
  • contentType — string
  • createdTs — unix timestamp in milliseconds
  • used — boolean
  • takenOnGrindr — boolean

Get media in drawer

Requires Authorization.

GET /v4/chat/media/drawer

Response:

Array of DrawerMedia.

Get media in drawer for a conversation

Requires Authorization.

GET /v4/chat/media/drawer/{conversationId}

Array of DrawerMedia.

Add media to drawer

Requires Authorization.

MediaId must be obtained through uploading.

Repeated requests cause 500 HTTP status "Internal Error".

PUT /v4/chat/media/drawer/{mediaId}

Response:

Empty.

Delete media from drawer

Requires Authorization.

Repeated requests are completed without errors.

DELETE /v4/chat/media/drawer/{mediaId}

Response:

Empty with HTTP status 202.