---
title: "Transform Media"
method: PATCH
path: "/admin/media/{row_id}/transform"
tags: ["Media"]
---

# Transform Media

`PATCH /admin/media/{row_id}/transform`

## Request

- Base URL: `https://api.thaiprops.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.thaiprops.com/admin/media/{row_id}/transform`
- Auth: none declared

## Path parameters

- `row_id` integer, required

## Request body

- MediaTransformIn
  - `crop_x` number
  - `crop_y` number
  - `crop_width` number
  - `crop_height` number
  - `brightness` number
  - `contrast` number
  - `saturation` number
  - `paint_strokes` object[]
  - `shape_overlays` object[]
  - `blur_strokes` object[]

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/thaiprops/apis/thaiprops-admin-api.md) · [All operations](https://skmtc.dev/thaiprops/apis/thaiprops-admin-api/llms.txt) · [OpenAPI document](https://skmtc.dev/thaiprops/apis/thaiprops-admin-api/revisions/acaced1e12a2?raw)
