Media

Update the specified media item

Changed on

Update the specified media item.

post/media/{id}/

Request

Request body application/x-www-form-urlencoded

titlestring
descriptionstring
custom_fields[<name>]string
author_alertboolean
author_alert_reasonstring

Response

OK

successboolean

Changes

    • breaking

      removed the media type application/json from the request body

    • breaking

      the response's property type changed from string to boolean for status

    • warning

      deleted the path request parameter id

    • info

      api operation id post_media_id_ removed and replaced with postMediaId

    • info

      the endpoint scheme security XF-Api-Key was added to the API

    • info

      the endpoint scheme security XF-OAuth2 was added to the API

    • info

      added the new optional header request parameter XF-Api-User to all path's operations

    • info

      added the new optional query request parameter api_bypass_permissions to all path's operations

    • info

      api tag Media added

    • info

      api tag media removed

    • info

      added optional request body

    • info

      added the media type application/json for the response with the status