---
title: "POST /api/v1/media/global/{id}"
method: POST
path: "/api/v1/media/global/{id}"
tags: ["Media"]
---

# POST /api/v1/media/global/{id}

`POST /api/v1/media/global/{id}`

## Request

- Base URL: `https://api.immy.bot` (the document declares no server; this is the origin it was published from)
- URL: `https://api.immy.bot/api/v1/media/global/{id}`
- Auth: none declared

## Path parameters

- `id` integer, required

## Request body

- UpdateGlobalMediaPayload
  - `id` integer
  - `name` string, nullable, required
  - `fileName` string, nullable, required
  - `mimeType` string, nullable
  - `packageHash` string, nullable
  - `blobReference` string, nullable
  - `relativeCacheSourcePath` string, nullable
  - `category` 'None' | 'SoftwareIcon': The string or integer value may be used. None = 0, SoftwareIcon = 1

## Response `200`

OK

- GlobalMediaResponse
  - `id` integer
  - `name` string, nullable
  - `fileName` string, nullable
  - `mimeType` string, nullable
  - `packageHash` string, nullable
  - `blobReference` string, nullable
  - `relativeCacheSourcePath` string, nullable
  - `updatedDateUTC` string, date-time
  - `createdDateUTC` string, date-time
  - `databaseType` 'Global' | 'Local': The string or integer value may be used. Global = 0, Local = 1
  - `category` 'None' | 'SoftwareIcon': The string or integer value may be used. None = 0, SoftwareIcon = 1

---

[API](https://skmtc.dev/immy/apis/immy-bot-api.md) · [All operations](https://skmtc.dev/immy/apis/immy-bot-api/llms.txt) · [OpenAPI document](https://skmtc.dev/immy/apis/immy-bot-api/revisions/559d0e4b39d3?raw)
