Drops Endpoints
Validate drop allowlist
Changed onChecks an allowlist uploaded with the context from POST /api/v2/drops/{slug}/allowlist, without saving anything, and returns the token to put in a signed_presale stage's allowlist_file_token in POST /api/v2/drops/{slug}. A file that fails returns 400 naming the offending line numbers and what is wrong with them. See upload_drop_allowlist for the file format.
post/api/v2/drops/{slug}/allowlist/validate
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
slugstring required
Collection slug
Request body
Response
Validated file token
Changes
- 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
- info