Media categories

Update the specified media category

Changed on

Update the specified media category.

post/media-categories/{id}/

Request

Request body application/x-www-form-urlencoded

titlestring
descriptionstring
parent_category_idinteger
display_orderinteger
min_tagsinteger
category_typestring
allowed_typesstring[]
auto_featureboolean

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_categories_id_ removed and replaced with postMediaCategoriesId

    • 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 categories added

    • info

      api tag media-categories removed

    • info

      added optional request body

    • info

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