---
title: "Lấy ảnh đại diện của tin"
method: GET
path: "/academy/news/{newsId}/thumbnail"
tags: ["Academy"]
---

# Lấy ảnh đại diện của tin

`GET /academy/news/{newsId}/thumbnail`

## Request

- Base URL: `https://api.fireant.vn`
- URL: `https://api.fireant.vn/academy/news/{newsId}/thumbnail`
- Auth: none declared
- TypeScript: <https://skmtc.dev/fireant/apis/fireant-restful-api/docs/academy/news/:newsId/thumbnail/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `newsId` integer, required

## Query parameters

- `width` integer, required
- `height` integer, required

## Response `200`

Thành công

- string, byte

## Other responses

- `500`: Có lỗi khi lấy ảnh đại diện của tin

---

[API](https://skmtc.dev/fireant/apis/fireant-restful-api.md) - [All operations](https://skmtc.dev/fireant/apis/fireant-restful-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fireant/apis/fireant-restful-api/revisions/c9b3aa855f95?raw)
