---
title: "Sửa mô tả ảnh (alt)"
method: PUT
path: "/ir/{symbol}/page/media/{assetId}"
tags: ["IRPage"]
---

# Sửa mô tả ảnh (alt)

`PUT /ir/{symbol}/page/media/{assetId}`

## Request

- Base URL: `https://api.fireant.vn`
- URL: `https://api.fireant.vn/ir/{symbol}/page/media/{assetId}`
- Auth: OAuth 2
  - Implicit: `https://accounts.fireant.vn/connect/authorize`
  - Scopes: `user-data-write`
- TypeScript: <https://skmtc.dev/fireant/apis/fireant-restful-api/docs/ir/:symbol/page/media/:assetId/put.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `symbol` string, required
- `assetId` integer, required

## Request body

- FireAntApiModelsIRIRMediaUpdateRequest
  - `altVi` string
  - `altEn` string

## Response `200`

OK

- FireAntApiModelsIRIRMediaAsset
  - `assetId` integer
  - `symbol` string
  - `kind` 1 | 2: (1 = Image, 2 = Pdf)
  - `url` string
  - `fileName` string
  - `contentType` string
  - `sizeBytes` integer
  - `width` integer
  - `height` integer
  - `altVi` string
  - `altEn` string
  - `uploadedBy` string
  - `uploadedDate` string, date-time
  - `ref` string: Tham chiếu dùng trong tài liệu trang: media:&lt;id&gt;

## Changes

- **2026-10-10** `300cfd8b632c`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/fireant/apis/fireant-restful-api/changes/ir/:symbol/page/media/:assetId/put.md)

---

[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)
