Save prereveal drop item
Changed onSets 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.
Request
- Base URLhttps://api.opensea.io
- AuthAPI key in header x-api-key and OpenID Connect (https://auth.opensea.io/.well-known/openid-configuration, scopes: write:drops)
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Collection slug
Request body
Response
Prereveal drop item saved successfully
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
- breaking