Drops Endpoints

Save prereveal drop item

Changed on

Sets the placeholder every token shows until the drop is revealed: one name, description, and image, from a media_token issued by POST /api/v2/drops/{slug}/items/media. It saves a placeholder base URI to the draft, so publish afterwards to put it onchain. Running POST /api/v2/drops/{slug}/metadata/ipfs later replaces it with the real metadata.

Saving it on a revealed drop changes only the stored item and leaves the drop revealed. To put the placeholder back over a revealed drop on purpose, send unreveal=true: the placeholder is written to the draft, and the next publish un-reveals the drop.

Only ERC-721 SeaDrop V1 drops have a prereveal item; any other drop type returns 400.

post/api/v2/drops/{slug}/prereveal-item

Request

Path parameters

slugstring required

Collection slug

Request body

descriptionstring

Item description

media_tokenstring required

Media token reference

media_typestring

Media type

namestring required

Item name

unrevealboolean

Set to true to put this placeholder back over a revealed drop on purpose. The save then always writes the placeholder to the draft, and the next publish un-reveals the drop. Defaults to false, which leaves a revealed drop's base URI as it is.

Response

Prereveal drop item saved successfully

descriptionstring nullable

Item description

image_urlstring required

Item image URL

media_tokenstring required

Image media token

media_typestring nullable

Item media type

namestring required

Item name

Changes

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • info

      added the new optional request property

    • 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