PUT/ng-cms/media/{projectId}/{mediaId}

Update a media asset

Параметры запроса

projectIdstring
Обязательный

The unique identifier of the project (bucket)

mediaIdstring
Обязательный

The unique identifier of the media asset to update

Тело запроса

UpdateMediaRequest
titlestring
Необязательный

Human-readable title for the asset

descriptionstring
Необязательный

Optional description of the asset

Ответы

200Media asset updated successfully.

тип: ApiResponse<boolean>

successbooleanIndicates whether the request was successful
resultbooleanAlways true on success
errorsErrorDetail[]List of errors (empty on success)
401Unauthorized. A valid bearer token is required.
404Not Found. No media asset exists with the given ID.
412Precondition Failed. The project's current plan does not allow access to this resource, or payment is required to proceed.
500Unexpected server error.

тип: ApiResponse<T>

successbooleanAlways false
errorsErrorDetail[]List of server-side errors
correlationIdstringUnique ID for tracing the error
messagestringError message
stackstringStack trace (non-production only)

Оставаясь на сайте, Вы даете свое согласие на использование файлов cookie