Media

Sorts media items.

Changed on

Sorts media items in the specified parent container according to the provided sort order.

put/umbraco/management/api/v1/media/sort

Request

  • The document declares no server URL.
  • Auth
    OAuth 2
    Authorization code/umbraco/management/api/v1/security/back-office/authorize
    Token URL/umbraco/management/api/v1/security/back-office/token

Request body

SortingRequestModel required
parent, ReferenceByIdModel nullable
sorting, ItemSortingRequestModel[] required

Response

OK

Changes

    • breaking

      added the new required request property sorting

    • breaking

      request body became required

    • breaking

      removed the media type application/*+json from the request body

    18 more changes in this revision