Skip to content
Christy Roys edited this page Sep 7, 2020 · 3 revisions

Introduction

  • all api endpoints returns data in JSON format.
  • any url fields represents the relative endpoint w.r.t. the baseUrl.

Endpoints.

/api

  • Method : GET

Schema:

{
  "chats": [
    {
      "page_id": String,
      "name": String,
      "url": String
    },
  ]
}

/api/:page_id

  • Method : GET

Schema:

{
  "item_list": [
     {
       "file_id": Int,
       "media": Bool,
       "thumbnail": String,
       "mime_type": String,
       "insight": String,
       "date": String,
       "size": String,
       "url": String
     },
  ],
  "prev_page": Bool,
  "cur_page": Int,
  "next_page": {
    "url": String,
    "no": Int
  },
  "search": String,
  "name": String,
  "logo": String,
  "title": String
}
  • Parameters:
page: Page number.
search: Search query.
Clone this wiki locally