Acceptance Criteria 🌟

สร้างหน้าแสดงรายการนิยายติดท็อป 100 รายการ โดยมีรายการแบนเนอร์โฆษณาโปรโมตแทรกระหว่างรายการนิยายที่ติดท็อป ตาม design ที่ได้แนบไว้ด้านล่าง

หมายเหตุ

Compatibility

รองรับการแสดงผลบนหน้าจอ


Information ℹ️

REST APIs สำหรับดึงรายการข้อมูลมาแสดงผลบน UI

GET <https://www.dek-d.com/api/rest/open/quiz/novel/list>

# Headers
"SECRET": "DrVDKp2ancYmyW2b3wRVU6yssBcjiyJ4"

# Params
"page": 1
"pageInfo": {
    "currentPage": 1,
    "totalItems": 100,
    "itemsPerPage": 20,
    "hasPrevious": false,
    "hasNext": true
  },
  "list": [
    {
      "novel": {
        "id": 1969928,
        "updatedAt": "2023-06-23T10:19:11+07:00",
        "title": "你好星期一 🌤️",
        "type": "long",
        "description": "รวย 👻 รวย 我替他道歉 😵",
        "totalChapter": 114,
        "category": {
          "main": 1,
          "sub": 18,
          "mainTitle": "ฟรีสไตล์",
          "subTitle": "นิยายวิทยาศาสตร์"
        },
        "tags": [
          "ขายดี",
          "&36947;&27465"
        ],
        "owners": [
          {
            "id": 5008631,
            "username": "JourDek-D",
            "alias": "高興",
            "role": "owner"
          }
        ],
        "thumbnail": {
          "normal": "<https://image.dek-d.com/27/0500/8631/129597405>",
          "landscape": "<https://image.dek-d.com/contentimg/writer/assets/thumbnail/novel/t_default.webp>"
        },
        "engagement": {
          "view": {
            "month": 2144,
            "overall": 2970
          },
          "comment": {
            "primary": 189,
            "overall": 311
          }
        },
        "order": 1
      },
      "section": null
    },
   ]
}
GET <https://www.dek-d.com/api/rest/campaign/list>