Collection Endpoints

Update collection metadata

Changed on

Update collection about, hero, overview, and logo image metadata. Only the collection owner or an authorized editor can update it; anyone else gets 403. The update applies in full or not at all: a media token that does not resolve fails the request with 400 and nothing is saved.

patch/api/v2/collections/{slug}/metadata

Request

Path parameters

slugstring required

Collection slug

Request body

logo_image_tokenstring nullable

Collection logo image token

Response

Collection metadata updated successfully

successboolean required

Whether the metadata update succeeded

Changes

    • breaking

      the request property type changed from object to no type

    • breaking

      the request property type changed from object to no type

    • breaking

      the request property type changed from object to no type

    • warning

      the request property's maxLength was set to 1000

    • warning

      removed the request property /

    • warning

      removed the request property /

    • warning

      removed the request property /

    • warning

      removed the request property /

    • warning

      removed the request property /

    • info

      added subschema #2 to the request property anyOf list

    • info

      added subschema #2 to the request property anyOf list

    • info

      added subschema #2 to the request property anyOf list

    • info

      the request property became nullable

    • info

      added the media type */* for the response with the status

    • info

      added the media type */* for the response with the status

    • info

      added the media type */* for the response with the status

    • info

      added the optional property to the response with the status